Link Gen Journal Line table to Vendor Entry table

I am developing a solution where I can get details details about a vendor invoice to display on the general journal line.

The scenario I am trying to resolve is when a user selects “suggest vendor invoices” on the General Journal page and selects the summarize per vendor option it will summarize all invoices into one journal line.
Is there a way to find all the vendor ledger entries a journal line relates to? I want to add a count to the journal line to display the number of invoices a line relates to.

What you are looking for is the “Applies-to ID” field, in both , “General Journal Line” and “Vendor Ledger Entry”.

Depending on what version you’re running, you can look to report 317 - Vendor Pre-Payment Journal which will list all the invoices being paid on the payment journal. This will provide the information you need.

Thanks pjllaneras and Dave. Both your answers were helpful. Report 317 - Vendor Pre-Payment Journal was a good visualisation of it.

To add to the answers below, once the line suggestions have been made, you can click the “Applied Entries” button in the ribbon to see the invoices the system is calculating the amount off of. This is for a single line at a time, but pulls it up on screen rather than a report.

Best Regards,
Ben Baxter
Accent Software Inc