I can’t find some data from data base in custom print format can anyone help me out??
please the print format (just relevant part)
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.
Thanks alot it works for me ![]()
