...
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:
...