I have a list page for which the source table is temporary. I can see on screen that there are plenty of records displayed. However, when I try and run a report from it, as below
report.RunModal(Report::CustomTrialBalanceByDim, false, false, Rec);
I get:
The report couldn’t be generated, because it was empty. Adjust your filters and try again.
Rec.Count contains a value of over a thousand, so there is data to process.
Is it because the table is temporary? If yes, what do I have to do differently? I've done this a bunch of times using permanent tables.