InventUpdate.getLedgerDimensionFromDefaultAccount Method [AX 2012]
Wraps the DimensionDefaultingService::serviceCreateLedgerDimension method.
Syntax
protected LedgerDimensionAccount getLedgerDimensionFromDefaultAccount(LedgerDimensionDefaultAccount _defaultAccount, DimensionDefault _defaultDimension)
Run On
Server
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.
Remarks
Calling this method with empty default account will not throw an exception.