I have created a custom child table field in ‘Buying Settings’. How can i access that value in other doc type.?
frappe.db.get_value('Child table Doctype name',
{'parent': 'Buying Settings'}, 'child_table_fieldname')
thanks @Sangram its working but i m getting only 1st row field value.
how can i access all the rows & all the fields of child table??
use sql query
or get_values()
instead.
frappe.db.get_values('Child table Doctype name',
{'parent': 'Buying Settings'}, 'child_table_fieldname')
1 Like