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