I can’t find some data from data base in custom print format can anyone help me out??
1 Like
please the print format (just relevant part)
1 Like
share print format script…
you can use
frappe.db.get_value("Employee",doc.employee,"employee_name")
doc.employee is how you denote the current document field. employee_name
is the field you wish to fetch from that document.
1 Like
Thanks alot it works for me