Purchase Receipt table

Hi,
I’ve used Customize Form to add a field to Item. Now I would like to fetch this field when I add an existing item to a Purchase Receipt.
I’ve also added the field to Purchase Receipt Item using Customize Form. But could not figure out how to populate it automatically from the Item.
How could I do it?
Thanks,
Matej

You can refer to the following:

https://erpnext.org/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples/custom-script-fetch-values-from-master

Or more simply,

Go to Purchase Invoice Item in customize form. Navigate to the custom field, expand, and in the Options field enter : item.field_name_you_are_pulling_data_from

Thanks very much. But what if the field in Item is a Link to a custom doctype?
If I set the type of the field in Purchase Receipt Item as Link, the Options field only accepts the Doctype name, not the field from the Item.
Thanks,
Matej