Supplier invoice number

Dear,

i want to fetch supplier invoice number in payment entry as i am not into programming but as much i have seen from custom scripts documents would this code be OK:

cur_frm_add_fetch(“Purchase Invoice”,“bill_no”,“supplier_invoice_no”);

Hi,
From which form you are selecting invoice number
because the syntax is

cur_frm.add_fetch(‘link field name’,‘source_fieldname’, ‘target_fieldname’)

Dear,

i want to fetch supplier invoice number in payment entry against our purchase invoice no.

https://frappe.github.io/frappe/user/en/guides/app-development/fetch-custom-field-value-from-master-to-all-related-transactions.html

But you might have to reselect a Purchase Invoice ID to have Supplier Invoice no. fetched.

dear have done like this please cehck if ok…but its not working

my first customization is working:
reference_name.bill_no

1 Like

@farhanayyaz1
Hello! i would also like to do this customization. what custom script did you use? how did you get it to work?

now you don’t nee to customize, now this feature is available in erpnext