Fetch feild within the doctype

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:

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.

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