I tried searching for an answer, not really making any progress.
I am writing a report based on tempTableDB. This report leverages existing functionality that was written by an earlier developer to display same data in the form. Now I need to use the same functionality in a report (and no, they want a separate report dont want to use excel download). This is my code in processReport method
invoicePaymJournalTmp = globalCustomerRevenue.processRevenueReport(today() - 365, today(), invoicePaymJournalTmp, companyIds, false);
select * from avaInvoicePaymJournalTmp;
InvoicePaymJournalTmp is the name of the existing tempDB table. globalCustomerRevenue is the name of the class that processes data for the form.
I can see that the data is getting inserted. However, nothing gets displayed in the report. I believe that the data gets discarded as soon as execution is done before report is displayed.
Any solution? I tried to use the same pattern as custAccountStatementExtDP but getting in valid table name when I try to set .existingPhyicalTablename.