Home OneHash CRM Customize Fetch Value in Child Table Field

Fetch Value in Child Table Field

By Frappe Content licensed CC-BY-SA 3.0 • Last updated on Jun 18, 2025

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