(REPORTING) How to link invoice line items to GL Detail Posting?

Hi all,

We do most of our customer reports based off the GL_DetailPostings table.

I have a few reports filtered to only show "SO" module transactions and I pull in some additional data from the InvoiceHistoryHeader table but now am being asked to display the ItemCodes from the sales invoices on the report.

I see no way to link the GL_DetailPosting records back the AR_InvoiceHistoryDetail table (???)

I can link back to the invoice header record easily but there is no lineno or sequenceno field that can tie back to the invoice details table, unless I'm missing something? 

Thanks in advance for any help you can offer! 

  • 0

    Awhile back a client asked for a GL Detail report that showed invoice info from AP/PO & AR/SO.

    I thought of this report when I read your post.

    I created a Sage Intelligence Union Report.

    One report from the AP_InvoiceHistoryHeader.

    One from AR_InvoiceHistoryHeader.

    One from GL_DetailPosting.

    I use Excel formulas to pull the invoice information from the GL_DetailPosting.Comment fields.

    Things are slow so I wanted to see if I could add the AR_InvoiceHistoryDetail to the report to get the Item Codes from the invoices.

    I was able to do it.

    Here's the report using ABC Demo Co data from 2020.