When on a Trial Balance report and filtering by hierarchical accounts or for a foreing currency, an error was produced when generating the report.
The report fields were dependant on data that is no longer present, such as line data.
This uses the correct data provided when generating the report to avoid this errors
TT29261