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
- _accountNum
Type: MainAccountNum Extended Data Type
The main account for the combination.
- _mainAccountDimensionAttributeValueId
Type: RecId Extended Data Type
The record ID of the DimensionAttributeValue record that corresponds to the main account.
- _mainAccountDimensionAttributeValueHashK
Type: HashKey Extended Data Type
- _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.