Splitting Lines on Wholesale Orders not stocked locally onto a different order.
For rx orders it has been possible to set an external
supplier for lenses that are not held locally. Add order will then add
the items to a finished lens order.
For wholesale orders this was not supported and using the range is problematic as it may be that individual cells in the range may wish to be ordered. So the solution has been to put the bin location as that of the Orinoco supplier. Only the first 8 characters are needed for a match.
When a wholesale order is added then a check is made on the bin location and if it is an Orinoco supplier then the line is shown on the order entry screen as provided via Orinoco.
When place order is pressed then any Orinoco lines are moved to a separate order file (CSE) which is processed via the EDI screen. The original order can then be picked and sent and the remainder can be sent when the lenses have been received from the external supplier.