How to get payment voucher custom get purchase invoice in_words data
i added it but when check it shows no element. could you please help me on that
{{ frappe.db.get_value(“Purchase Invoice”, {“in_words”: row.in_words}, ‘in_words’) }}
row.in_words or doc.in_words ?
Hi @webshow,
Example:
{{ frappe.db.get_value("Purchase Invoice", doc.reference_name, 'in_words') }}
Here, please set the purchase invoice field name in reference_name according to.
Thank You!
thanks very much @NCP
The value obtained by the field information is not displayed correctly, the amount of the last document displayed. Does not show the correct value for the current document