...
For custom fields on the transport order it is recommended to add the same field to the transport worksheet line table as well and then use the same events to populate them.
With the OnBeforeCreateTransportOrderLines event of the “IDYS Create Tpt. Ord. (Wrksh.)” codeunit the information can then be copied from the transport worksheet line to the transport order.
In the version 22.10.2398.0 4 3 new events have been introduced that make it easier to customize the transport order:
OnBeforeInsertTransportOrder
OnTransportOrderCreated
OnBeforeInsertTransportOrderLine
OnAfterInsertTransportOrderLineOnBeforeCreateTransportOrderLines
With the events listed below, the new field on the “IDYS Transport Worksheet Line” can then be populated with a value based on the Source Document or Source Document Line.
...