how ACCESS CHILD TABLE DATA (Using Custom Script)
how ACCESS CHILD TABLE DATA (Using Custom Script)
Sample code on how to manipulate data in a child table. This type of code falls under the parent form client side script page. And this particular example uses the trigger of a field value being changed then executes some code:
To load the entire form (including child table) into a variable:
let u = frappe.get_doc(cdt, cdn)
then access the array via u using dot notation or brackets.