I think my query has been asked before.
The knowledge base article on this link is missing.
https://frappe.io/kb/customization/fetch-custom-field-value-from-master-to-all-related-transactions
Some more search and I have the following step by step method:
To add a custom field in item & get the same custom field in invoice,
- Create the Custom Field “abc” under Doc Type Item
- Create the Custom Field “abc” under Doc Type “Sales Order Item”
- Create the Custom Script under doc type “Sales Order” (Note that it has to be created under “Sales Order”) cur_frm.add_fetch(‘item’, ‘abc’, ‘abc’)
And yet, it doesnt work!!