BudgetControlStatisticsManager.getBudgetPeriodBalancesFromCache Method [AX 2012]
Gets a list that contains instances of the BudgetPeriodBalance class from the cache.
Syntax
private List getBudgetPeriodBalancesFromCache(
RecId _primaryLedgerRecId,
BudgetModelId _budgetModelId,
BudgetControlStatisticsPeriodOption _periodOption,
RecId _budgetCycleRecId,
[LedgerDimensionBudgetControl _ledgerDimensionBudgetControl,
RecId _budgetGroupRecId,
RecId _mainAccountRecId,
boolean _includeAllAccounts,
boolean _includeCarryForward])
Run On
Called
Parameters
- _primaryLedgerRecId
Type: RecId Extended Data Type
The record ID of the primary Ledger record to use as part of the key for the budget control statistics cache.
- _budgetModelId
Type: BudgetModelId Extended Data Type
A budget model ID to use as part of the key for the budget control statistics cache.
- _periodOption
Type: BudgetControlStatisticsPeriodOption Enumeration
A BudgetControlStatisticsPeriodOption value to use as part of the key for the budget control statistics cache.
- _budgetCycleRecId
Type: RecId Extended Data Type
The record ID of the selected budget cycle to use as part of the key for the budget control statistics cache.
- _ledgerDimensionBudgetControl
Type: LedgerDimensionBudgetControl Extended Data Type
A LedgerDimensionBudgetControl value to use as part of the key for the budget control statistics cache; optional.
- _budgetGroupRecId
Type: RecId Extended Data Type
The record ID of the selected budget group to use as a part of the key for the budget control statistics cache; optional.
- _mainAccountRecId
Type: RecId Extended Data Type
The record ID of the main account to use to use as part of the key for the budget control statistics cache; optional.
- _includeAllAccounts
Type: boolean
A Boolean value that indicates whether to include all the main accounts of the ledger dimension; optional.
- _includeCarryForward
Type: boolean
A Boolean value that indicates whether to include the carry-forward amount for the specified ledger dimension; optional.
Return Value
Type: List Class
A list that contains instances of the BudgetPeriodBalance class that contain all the aggregated AmountMST values.
Remarks
This method retrieves the list of instances of the BudgetPeriodBalance class from the cache if they are in the cache.