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 inorder to extend insertTmpChequePrintout method of CustVendCheque Class.
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 tht 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.