DimensionDefaultingEngine::overrideLedgerDimension Method [AX 2012]
Gets a ledger dimension based on the specified ledger dimension that is overridden with the specified dimension values.
Syntax
client server public static LedgerDimensionAccount overrideLedgerDimension(LedgerDimensionAccount _ledgerDimensionId, Map _dimensionSpecifiers)
Run On
Called
Parameters
- _ledgerDimensionId
Type: LedgerDimensionAccount Extended Data Type
The ID of the DimensionAttributeValueCombination record that specifies the base dimension values.
- _dimensionSpecifiers
Type: Map Class
A map that contains the dimension specifiers that define the override values.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ID of the DimensionAttributeValueCombination record.
Remarks
Any dimension attribute can be overridden. This includes the main account.