DimensionDefaultingEngine::createLedgerDimensionServer Method [AX 2012]
Creates a ledger dimension for the specified combination.
Syntax
server private static LedgerDimensionAccount createLedgerDimensionServer(
RecId _ledgerDimensionId,
List _dimensionSources,
[int _mainAccountDefaultingPosition])
Run On
Server
Parameters
- _ledgerDimensionId
Type: RecId Extended Data Type
The ID of the DimensionAttributeValueCombination record that specifies the initial dimension values.
- _dimensionSources
Type: List Class
A list of maps of dimension specifiers.
- _mainAccountDefaultingPosition
Type: int
The position to which an index that specifies the default dimension values for the main account is to be applied; optional.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ID of the DimensionAttributeValueCombination record.
Remarks
If the combination already exists, the existing ledger dimension will be returned.