Hello,
Hope you are doing great!
Could you please help me with providing the table relations or code snippet where I can find the Payment journal voucher against the marked invoice to settle?
In my case I have invoice ID, DocumentDate and InvoiceAmount and I want to know the payment journal voucher against this invoice.
The relation VendinvoiceJour.LedgerVoucher==VendTrans.lastSettledVoucher not providing the proper payment journal voucher. And it would be empty if the Payment journal is not posted.
Any suggestions would be very helpful. Thanks in advance!
Sandeep.