Hello everyone,
I have created a new DocType(Maintenance List). I want to fetch the field from my current DocType(Maintenance List). I want to fetch the field machinery_type and machinery_name
Try the following links:
In DocType “Sales Invoice Item” I added two fields, country_of_origin and customs_tariff_number.
The two field are of “Link” type, with correct options inserted.
What should I put in “Fetch From” in order to get the fields automatically fetched when I create a new invoice? These fields are filled in for each item. I wrote “item.customs_tariff_number” but it doesn’t work.
[erpnext]
https://docs.erpnext.com/docs/v13/user/manual/en/customize-erpnext/articles/how-to-add-master-link-and-fetch-data-from-the-same
It would also help if you can elaborate the use case a bit and specify what field data you’re trying to pull and state the source.
Thanks for the reply, here I want the field (machinery_type) to be fetched when field(select_machinery_type) is selected.
avc
August 3, 2022, 1:02pm
4
Edit Doctype, edit the field “Machine name” and use Fetch From property. Set the origin doctype and the field you want to fetch from.
Hope this helps.
1 Like