Looking to print invoice detail lines on check stub

Looking to print invoice detail lines on check stub however I have not been able to determine which column in the AP_CheckStubWrk table contains the information that I am looking for.

I have attempted to link the work table to the AP_InvoiceHistoryDetail by way of AP_InvoiceHistoryHeader but have not been able to get the data that I need.