Create an Inbound Shipment record for each line item of the purchase order. When a single line on a Purchase Order represents a single container shipment, this script automatically creates those Inbound Shipment records.
Custom fields added to Inbound Shipment Custom Record to link Inbound Shipment record to Sales Order and single Purchase Order. This information is used for further automation. Customer and Vendor are also added to the Inbound shipment Record.
Custom Column fields are added to link specific lines to their related Inbound Shipment Record.
The script is activated by updating the custom field (TO CREATE INBOUND SHIPMENT) on Purchase Order and saving the Purchase Order.