InventAdj::getLedgerDimensionFromDefaultAccount Method [AX 2012]

Wraps the DimensionDefaultingService::serviceCreateLedgerDimension method.

client server private static LedgerDimensionAccount getLedgerDimensionFromDefaultAccount(LedgerDimensionDefaultAccount _defaultAccount, [DimensionDefault _defaultDimension])

Run On

Called

Parameters

_defaultAccount
Type: LedgerDimensionDefaultAccount Extended Data Type
The ID of the DimensionAttributeValueCombination record that represents the default account.
_defaultDimension
Type: DimensionDefault Extended Data Type
The ID of a default dimension set to use; optional.

Return Value

Type: LedgerDimensionAccount Extended Data Type
The ID of the DimensionAttributeValueCombination record.

Calling this method with empty default account will not throw an exception.

Show: