BuiltInMethods Class
BuiltIn Methods class
Assembly: Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)
Public builtin data methods added in report RDL must return DataMethodUtility.PostDataMethodEvaluation(UpdateAxContext(companyName, axUser, renderingCulture), returnValue) if it connects to AX for configuration or data: The axUser argument must be exposed as a data method input parameter and gets the value from MetamodelHelper.GetUserContextExpression during RDL generation if it's framework added, or the user must specify Parameters!AX_UserContext.Value.
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, or specified as Parameters!AX_UserContext.Value by user in the RDL expression; 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 if it's framework added, or specified as Parameters!AX_UserContext.Value by user in the RDL expression; use String.Empty as input to UpdateAxContext if the logic is not culture specific