The error “Unable to cast object of type 'Dynamics.AX.Application.ERModelGroupByDataContainer' to type 'Dynamics.AX.Application.ERIDataContainerList'” may occur when the list of records from GROUPBY based data source is used in executing GER reports


Symptoms


Electronic reporting (GER) framework allows for an application specialist to bring to GER model mappings references to required business data (tables, data entities, queries, etc.) introducing them as data sources. Whenever business data from underlying tables, entities or queries must be transformed by using grouping and aggregation, new data sources of the GROUPBY type are added. The error “Unable to cast object of type 'Dynamics.AX.Application.ERModelGroupByDataContainer' to type 'Dynamics.AX.Application.ERIDataContainerList'” may occur when the list of records from such GROUPBY based data source is used in executing GER reports.

Resolution


The changes in the hotfix contain the code modification that resolve issues of accessing list of records of GROUPBY based data sources in GER model mappings.

More information


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.