DataMethodUtility Methods

The DataMethodUtility type exposes the following members.

Methods

  Name Description
Public method Static member ConvertUtcToAxUserTimeZone Obsolete. Converts the supplied UTC time to AX user TimeZone. If we are unable to get an AX Session the method is a no-op.
Public method Static member ConvertUtcToAxUserTimeZoneForUser Converts the supplied UTC time to AX user TimeZone as a culture aware short date string. If we are unable to get an AX Session the method is a no-op.
Public method Static member GetDateTimeParameterLabel Overloaded.
Public method Static member GetDefaultCompanyName Obsolete. Gets the default AX company name abbreviation (e.g. "DAT").The company name abbreviation is known in AX as the DataAreaID.
Public method Static member GetDoubleParameterLabel Gets the double parameter label value using the provided double patttern. Values can be single value or multi value, in which case a comma separated value is returned.
Public method Static member GetFullCompanyName Obsolete. Gets the full AX company name (e.g. "Demo Company") for the specified company name abbreviation. Returns the empty string if the specified company name abbreviation does not exist.
Public method Static member GetFullCompanyNameForUser Gets the full AX company name (e.g. "Demo Company") for the specified company name abbreviation in the context of the axUser Returns the empty string if the specified company name abbreviation does not exist.
Public method Static member MapAXLanguageToCultureSupportedBySSRS Maps the name of the AX language to a specific .Net Culture.
Public method Static member PostDataMethodEvaluation<T> Releases the session on the current thread (if it is a worker thread), after a data method evaluation.
Public method Static member ReportInitialize Initialize the report, called from the OnInit method in RDL custom code added by RDL generation.
Public method Static member UpdateAxContext Updates the AX context in the call context: company, user, rendering culture.
Public method Static member UpdateAxContextPartition Updates the AX context in the call context: company, user, rendering culture.
Public method Static member UpdateCompanyNameParameter Updates the company name parameter stored in call context. Supports windows authentication only.

Top

See Also

Reference

DataMethodUtility Class

Microsoft.Dynamics.Framework.Reports Namespace