I have a custom field in “Payment Invoice” and would like to show this field automatically as part of reference table in Payment Entry". Here is what I have done.
Form: Purchase Invoice
Custom Field name: bill_no
Type: Data
Form: Payment Entry Reference
Custom Field name: bill_no
Type: Data
Also I need this data to appear in Payment Entry Reference table.
I have tried custom script as well but to no avail.
Payment Invoice to Payment Entry does not use DocType Mapper. Hence, fields with same fieldname will not be appear automatically. You have to write some custom script for this.
I don’t think it will come in v7.1 or later version. It has been implemented in a different way. You have to pull bill_no on validate function, I think add_fetch will also not work (try it once).
Last question before I consider this matter closed.
Without touching the application code, is it possible to filter invoices appearing in Payment Entry Reference by having the “bill_no” on “Payment Entry” DocType?
Dear we are also looking for same thing taht in payment entry the supplier invocie number should come in or as before it was coming remarks automatically would also be fine.