17
When the packing slip ID is generated from the load or the shipment or the packing station, the table WHSLoadTableCustPackingSlipJour stores the link between the load ID and the packing slip ID.
Often it is needed to print the shipment ID on the packing slip and invoice lines.
However, this information is difficult to retrieve by the developer, and not always a unique identifier.

Proposed solution
1. When posting the packing slip from load, shipment or packing station, store the shipment ID in the packing slip header and / or lines (add fields salesParmTable.WHSShipmentId and salesParmLine.WHSShipmentId).
2. Store the shipment on the packing slip header and lines (CustPackingSlipJour.WHSShipmentId and CustPackingSlipTrans.WHSShipmentId)
3. When posting the sales invoice, copy the shipment ID to invoice lines, and if identified invoice header. Maybe it is needed to store the Shipment ID on the Inventory transaction (InventTrans) as well.
STATUS DETAILS
Needs Votes

Comments

F

Addition:
Enable packing slip posting form load / shipment in batch.

Category: Warehouse management

F

An important reason is that the commercial invoice uses the shipment ID as identifier. The commercial invoice is often sent before the actual shipment is sent. When the packing slip or final invoice is created, you need the commercial invoice ID again on these documents or document lines.

Note that a single sales order line could theoretically be shipped in two or more different shipments that are part of the same load. There will probably be multiple inventory inventory transactions but only one packing slip journal line.
In that case it is probably the best to write the first-only shipment on the packing slip journal line. (Thanks Guy Terry).

Category: Warehouse management