Hi,
We have a very unusual problem with generating an ER report.
I have created a custom project invoice ER format based on Excel. The data source for the ER model’s rows comes from data-provider class:
The invoice printout generally works correctly (most of the time). However, when two or more reports are generated simultaneously, a strange situation occurs: the generated report shows the header data normally, but the invoice’s line item data from the data source disappears. Same as if the invoice had no lines. Moreover, this happens in a certain sequence. Even when forcing two print jobs concurrently during testing, it occurs in roughly 20–30% of attempts.
Interestingly, on rare occasions the invoice would be generated without any lines and… without the “no lines” indicator. That no-rows-indicator element is defined earlier (right before the rows) and evidently its visibility formula still “remembers” the rows, whereas the grid of rows does not. Maybe this is a clue in solving this problem.
Of course, there are no changes to the line items in the meantime, since the invoice has already been posted and the lines are not being deleted.
The temporary table holding the rows is custom. If necessary, I can provide you the definition in AOT along with nodes and attributes. However, it’s defined exactly the same way as the header tmp table that does not have any problems.
Do you have any idea what might be causing the line items to disappear from the report’s data source?
Thanks in advance for your help!

Report
All responses (
Answers (