InventTrans.getLedgerDimensionFromDefaultAccount Method
Wraps the DimensionDefaultingService::serviceCreateLedgerDimension method.
Syntax
private 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.
Remarks
Calling this method with empty default account will not throw an exception.