DimensionDefaultingEngine::createLedgerDimensionPacked Method [AX 2012]

Creates a ledger dimension for the specified combination.

Syntax

server private static LedgerDimensionAccount createLedgerDimensionPacked(
    RecId _ledgerDimensionId, 
    container _dimensionSourcesPack, 
   [int _mainAccountDefaultingPosition])

Run On

Server

Parameters

  • _ledgerDimensionId
    Type: RecId Extended Data Type
    The ID of the DimensionAttributeValueCombination record that specifies the initial dimension values.
  • _dimensionSourcesPack
    Type: container
    A packed 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.

See Also

Reference

DimensionDefaultingEngine Class