How to get custom fields from sales order from sales invoice ,
i cant add fields with same name because the name is populated by adding Custom
eg: custom sales order
Hi @amal_31845,
If the field names are identical in both document types, the value will be automatically fetched without the need for a script.
Please refer to the documentation for more information.
Example:
If a Sales Order contains a custom_xyz field and the same field exists in a Sales Invoice, when you create a Sales Invoice from the Sales Order, the value will be fetched automatically without the need for coding.