Fetching the manufacturing date

Hi Team,
I wanted to fetch manufacturing date present in Batch doc to item master what steps should i follow

I think you could use the script

frappe.get_value("Batch", <item name>, "manufacturing_date")

Where should i write it …in fetch from ?