DataMethodUtility Class

Utility DataMethods

Namespace:  Microsoft.Dynamics.Framework.Reports
Assembly:  Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)

No code example is currently available or this language may not be supported.

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

System.Object
  Microsoft.Dynamics.Framework.Reports.DataMethodUtility

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: