Hello guys
I did a server script on employee promotion and this is my code.
frappe.msgprint(doc.employee)
doc_a = frappe.get_doc("Employee",doc.employee)
if doc_a:
x=doc_a.get("internal_work_history")
frappe.msgprint("Hello")
frappe.msgprint(x.length)
I want to print the length of the doc. How do get the length?
What is the syntax? Please help me.