Hi,
I like to extend the standard report InventValueReport with the item name. So I create a new report MyInventValueReport, copied from the standard one. To use this new report I extend the InventValueReportController class method reportName() to return the new report name.
I also extend the table InventValueReportTmpLine.MyExtension with the field MyItemName and the related query InventValueReportTmpLine.MyExtension as well.
To fill the new field, I extend the class method InventValueReportPopulateItem.findReportLine(). In SQL-Manager I can see the field will be filled.
I also create a new class called MyInventValueReportDP. That's because the methode processInventValueReportTmpLine() to fill the temporary table InventValueReportTmpLine where I stored the item name is private and not extensible (F***! why is this methode a private one???). Here I extend the field MyItemName to local macro GroupByFields.
In MyInventValueReport I change the dataset properties to MyInventValueReportDP and placed the MyItemName in both designs.
Now I get two things: first the query to filter records in the dialog is not available anymore and I got this error: Unable to add the table field 'MyItemNameDisplay' to the query source 'InventValueReportTmpLine'. Table field 'MyItemNameDisplay' does not exist on table 'InventValueReportTmpLine'.
So... where is/are the fail(s)?
Regards
Christian