DimensionDefaultingEngine::getLedgerDimensionFromAccountAndDim Method [AX 2012]

Retrieves the ID for the DimensionAttributeValueCombination record that represents a combination of the specified main account and default dimension information.

Syntax

server public static LedgerDimensionAccount getLedgerDimensionFromAccountAndDim(
    RecId _mainAccountId, 
    RecId _accountStructureId, 
   [DimensionDefault _defaultDimensionId])

Run On

Server

Parameters

Return Value

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

Remarks

Use the null Nothing nullptr unit a null reference (Nothing in Visual Basic) date to skip date checking against the combination.

See Also

Reference

DimensionDefaultingEngine Class