Will multiple Items have the same delivery ID or will each have a unique delivery ID?
A button can be placed in line with the listed undelivered Item and used with this script to generate a new Delivery Record and assign its ID to the Item record:
Go To Layout [Delivery]
Set Variable [$DelID ; Value: Delivery::__pkDeliveryID]
Go To layout [Original layout]
Set Field [Item::_fkDeliveryID ; $DelID]
If you format _fkDeliveryID as a drop down list, you can use it to select an existing Delivery ID for a given Item. It's also possible to set up a script that assigns the new delivery record's ID to all the records in your list or just a selected block of records.
Hi thanks for your responce,
yes multiple items will have the same delivery id, but wont necessarily have the same order id.