Fetch Value in Child Table Field
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
![](https://storage.crisp.chat/users/helpdesk/website/6f1c2c7b8034d000/image_5vlx33.png)
Updated on: 31/03/2023
Thank you!