Hi,
I am using FrappeCloud.
I have a MultiTable Select field in my CRM form. When I try to fetch it in a server script, it fails.
fields = ["first_name", "last_name", "email", "mobile_no", "custom_kids_list"]
frappe.response["message"] = frappe.db.get_value('CRM Lead', lead_id, fields, as_dict=1)
Error:
500 - "{\"exception\":\"pymysql.err.OperationalError: (1054, \\\"Unknown column 'custom_kids_list' in 'SELECT'\\\")\
CRM Fields:
![]()
and the CRM Lead Kids List is a child table with this field:
Lastly, the CRM Lead Kids is a regular DocType with these fields:
Is there a way to get the list of kids from CRM lead DocType in the server script?
Best

