My requirement is to develop a new cheque layout in Dynamics365FO which should include the invoice number and invoice date for the cheque generated.
I’m using COC in-order to extend insertTmpChequePrintout method of CustVendCheque Class.
(insertTmpChequePrintout method is used to insert the values in TmpChequePrintout temp table)
and i extended the TmpChequePrintout table by adding 2 fields for invoice number and invoice date.
my aim is to insert the invoice id and invoice date for the specific check payment and insert in TmpChequePrintout for that instance.
Please help me out in order to find the relation between Vendor invoice and Vendor Payment in LedgerJournalTrans Table so that i can use select querry and fetch invoice details for the cheque payment made.

Report
All responses (
Answers (