I need to add the Transporter Field in my Sales Order DocType, so I created a field in the Sales Order called ‘custom_transporter’.
Now I want the ‘custom_transporter’ to be copied to the Delivery Note Transporter field when creating a Delivery note from Sales Order.
I’ve tried the following client script in the Delivery Note without success
cur_frm.add_fetch('Sales Order','custom_transporter','transporter');
Is there a simple way to accomplish copying a custom field to standard field between doc types?
Thanks in advance.