Example showing how to fetch value in a child table field from Master DocType

Sample Script to fetch expiry_date field from Batch doctype to Sales Invoice Item table

Step 1: Create Custom Script for Sales Invoice (parent) doctype

Step 2: Script as below & Save

Was this article helpful?
Thank you!