DataMethodUtility Class
Utility DataMethods
Assembly: Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)
Public framework data methods added in report RDL must call UpdateAxContext(companyName, axUser, renderingCulture) if it connects to AX: The axUser argument must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetUserContextExpression during RDL generation.
The companyName argument is required if the data method is company specific, it must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetCompanyNameExpression during RDL generation; use String.Empty as input to UpdateAxContext if the logic is not company specific The renderingCulture argument is required if the data method is culture/language specific, it must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetRenderingCultureExpression during RDL generation; use String.Empty as input to UpdateAxContext if the logic is not culture specific