ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Get_doc() issue


#1

i tried bu below statement showing null

var x= frappe.get_doc(‘Customer’, cur_frm.doc.bu_name)
whats i m doing wrong please help me


#2

Check what value are you passing in cur_frm.doc.bu_name and also try using frm.doc.bu_name


#3