AssetTransfer.createLedgerDimension Method [AX 2012]
Creates a ledger dimension from the old default dimension and main account.
Syntax
protected RecId createLedgerDimension(
LedgerDimensionAccount _oldLedgerDimension,
DimensionDefault _newDefaultDimension,
[LedgerDimensionAccount _ledgerDimension,
MainAccountRecId _mainAccountRecId])
Run On
Server
Parameters
- _oldLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The old record ID of the DimensionAttributeValueCombination record.
- _newDefaultDimension
Type: DimensionDefault Extended Data Type
The new record ID of the DimensionAttributeValueSet record.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The record ID of the DimensionAttributeValueCombination record.
- _mainAccountRecId
Type: MainAccountRecId Extended Data Type
The record ID of the MainAccount record.
Return Value
Type: RecId Extended Data Type
A new ledger dimension.
Remarks
The _ledgerDimension value will be used only for the accumulated depreciation to get the dimension hierarchy.