DimensionDefaultingEngine::getDefaultDimensionServer Method [AX 2012]

Gets a default dimension that uses the specified dimension values as default values.

Syntax

server private static DimensionDefault getDefaultDimensionServer(container _dimensionSourcesPack, [boolean _includeMainAccount])

Run On

Server

Parameters

  • _dimensionSourcesPack
    Type: container
    A packed list that has elements that are maps of dimension specifiers.
  • _includeMainAccount
    Type: boolean
    A Boolean value that indicates whether to include the main account in the list if it is in the sources.

Return Value

Type: DimensionDefault Extended Data Type
The ID of a DimensionAttributeValueSet record.

Remarks

For a particular dimension attribute, the first dimension attribute value that is encountered is used as the default value.

See Also

Reference

DimensionDefaultingEngine Class