Hey,
Let’s assume the use case in which i have a Doctype “Parent” and a child table field called “Childtab”.
Now when i write a script in Parent.py file, i can access the various fields in the doctype as ‘self.field_name’
But how do i fetch the rows in the child table “Childtab” ?
One way i found , while browsing through the forum is to access it like this -
‘self.childtab[index].field_name’
But is there a way to fetch the number of rows in the child table so that i can loop through it?
Any other solution?
Thanks!