LedgerConsolidate.getLedgerDimension Method [AX 2012]
Gets a ledger dimension for the specified account and dimension values.
Syntax
protected LedgerDimensionAccount getLedgerDimension(
CompanyId _companyId,
MainAccountNum _accountNum,
RecId _mainAccountDimensionAttributeValueId,
HashKey _mainAccountDimensionAttributeValueHashKey,
RecId _localSumTransactionId,
TmpLedgerConsDimensionValueItem _consolidationDimensionValueItem)
Run On
Called
Parameters
- _companyId
Type: CompanyId Extended Data Type
The data area ID for the dimension values.
- _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
- _localSumTransactionId
Type: RecId Extended Data Type
The local record ID of the TmpLedgerConsTrans record.
- _consolidationDimensionValueItem
Type: TmpLedgerConsDimensionValueItem Table
The table that holds the dimension values.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger dimension for the combination.