Share via


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

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.

See Also

Reference

AssetTransfer Class