BuiltInMethods Class
BuiltIn Methods class
Namespace: Microsoft.Dynamics.Framework.Reports
Assembly: Microsoft.Dynamics.Framework.Reports (in Microsoft.Dynamics.Framework.Reports.dll)
Syntax
'Declaration
Public NotInheritable Class BuiltInMethods
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class BuiltInMethods
public ref class BuiltInMethods abstract sealed
Remarks
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
Inheritance Hierarchy
System.Object
Microsoft.Dynamics.Framework.Reports.BuiltInMethods
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.