Hello,
I am trying to customize print format of general ledger. I want to print employee name instead of its Id when party type is employee. but somehow i am not able to access frappe.db.get_value in general_ledger.html. is there any other way to achieve it?
@naim5441 As of now we cannot use frappe.db.get_value in Print format of any report. But you can make and new filter filed ( a data filed) and set the value of customer name there and use it in the print format of report like filters.field_name .
Yeap, that was my current design also, need to add data field . Just thinking if it is possible by just adding sql query in the html .I think its because the format type is JS, if Server type we can add query like we do on print format.