I have a customer request to modify the Customer Aging report by adding several fields from the InventTable records (Products). The goal they wish to accomplish is to be able to view these product fields on their associated Invoice lines on the Aging report.
I have two question:
1) Is this request even possible? I understand that by adding invoice lines and products to the root query will fundamentally change the resulting dataset - because invoices can have many line items and therefore many products.
2) If it should be possible, I'm I on the correct path? I've been able to add the new fields to the various temp tables and get the fields to show up in Visual Studio to map them onto the report layout. However, the fields do not contain any values.
I started with joining the CustInvoiceJour, CustInvoiceTrans and InventTable tables to the query found in SelectOpenTransactions and modifying the CustVendAgingProcessingTmp table to contain the new fields.
Then I modified the query in the Process method of the CustVendAgingCalcuation class. I continued the process of modifying queries and tables all the qay to the CustAgingReportTmp table.
Is this right? Am I missing something else?