Fetch data from item master to sales order item

I have created a field in item master…same field is created in sales order item also…When i select an item in sales order, the data from master from that particular field should appear in sales order item…How can i do that

https://frappe.github.io/frappe/user/en/guides/app-development/fetch-custom-field-value-from-master-to-all-related-transactions.html

I have created same fields…in item and sales order item…But the fetching is not happening

i have done as per the user manual but the value is not displaying
field name is same in item and sales order item

Actually the method described in my earlier post does not work if the target field is in child table. For that you have to write a one line custom script.

Check https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master.html

1 Like