With a One Step process, Serial/Lot Numbers must be provided.
For Lot Numbered items, the Lot Number is always provided in MOHdr (SERLTNUM). The provided Lot Number is allowed to already exist in GP.
For Serial Numbered items, if the MO Receipt is for a quantity of 1, the serial number can be provided in MOHdr (SERLTNUM), or in the MOSer table. When the receipt if for more than one serial number, they must be provided in the MOSer table. Serial Numbers must not already exist in GP. MORI checks for duplicate serial numbers and will report this as an error.
With a Two Step Receipt, the MO is created in GP before the receipt is generated. Serial/Lot Numbers should be provided as described for the One Step process.
However, the MO Entry window in GP allows for pre-entering a Lot Number, or a list of Serial Numbers. MORI can pull this information into the MORI Receipt tables so that the integration does not need to provide that data.
Lot Numbered Finished Goods
MORI checks WO010032.LOTNUMBER. If one is present, and W7158MOHdr.SERLTNUM is empty, it copies the Lot Number from WO010032 to W7158MOHdr.
Serial Numbered Finished Goods
MORI can be provided with a single serial number in W7158MOHdr, or multiple serial numbers in W7158MOSer.
MORI checks that the provided serial numbers, if any, are NOT in MOP1042. If they are, it removes them from MOP1042. This prevents the Inventory Module from detecting a duplicate serial number when MORI attempts to post the receipt.
If no serial numbers are provided to MORI, it checks if there are pre-entered serial numbers in MOP1042. If there are, it moves into W7158MOSer the quantity of serial numbers needed by the receipt. For example, if the MO is for 10, and 2 are being received, it moves the first two serials from MOP1042 into W7158MOSer. They are removed from MOP1042 and added to W7158MOSer. Likewise, if the receipt is for 10, it moves over 10 serials.
In the event the quantity of pre-entered serials is less than the receipt quantity, MORI will not process the receipt and will report a serial number shortage.