Share via


LedgerConsolidate.getLedgerDimensionFromValues Method [AX 2012]

Gets a ledger dimension for the specified account and dimension values.

Syntax

public LedgerDimensionAccount getLedgerDimensionFromValues(
    MainAccountNum _accountNum, 
    RecId _mainAccountDimensionAttributeValueId, 
    HashKey _mainAccountDimensionAttributeValueHashKey, 
    Map _dimensionValues)

Run On

Called

Parameters

  • _mainAccountDimensionAttributeValueId
    Type: RecId Extended Data Type
    The record ID of the DimensionAttributeValue record that corresponds to the main account.
  • _dimensionValues
    Type: Map Class
    The map that contains the dimension values.

Return Value

Type: LedgerDimensionAccount Extended Data Type
The ledger dimension for the combination.

Remarks

Ledger dimensions are only created in the consolidated company.

See Also

Reference

LedgerConsolidate Class