BudgetControlStatisticsManager.fillBudgetTmpControlStatistics Method [AX 2012]
Fills the BudgetTmpControlStatistics table buffer with the aggregated AmountMST values that are present in an instance of the BudgetPeriodBalance class.
Syntax
public BudgetTmpControlStatistics fillBudgetTmpControlStatistics(
RecId _primaryLedgerRecId,
BudgetModelId _budgetModelId,
BudgetControlStatisticsPeriodOption _periodOption,
BudgetControlStatisticsBalanceType _balanceType,
RecId _budgetCycleRecId,
[LedgerDimensionBudgetControl _ledgerDimensionBudgetControl,
RecId _budgetGroupRecId,
RecId _mainAccountRecId,
boolean _includeAllAccounts,
NoYes _includeCarryforward,
boolean _getBudgetPeriodBalanceFromCache])
Run On
Called
Parameters
- _primaryLedgerRecId
Type: RecId Extended Data Type
The record ID of the primary ledger record for which to obtain the budget control statistics inquiry data.
- _budgetModelId
Type: BudgetModelId Extended Data Type
The budget model ID for which to obtain the budget control statistics inquiry data.
- _periodOption
Type: BudgetControlStatisticsPeriodOption Enumeration
A BudgetControlStatisticsPeriodOption value for which to obtain the period start dates and end dates.
- _balanceType
Type: BudgetControlStatisticsBalanceType Extended Data Type
A BudgetControlStatisticsBalanceType value for which to calculate the AmountMST values for each period.
- _budgetCycleRecId
Type: RecId Extended Data Type
The record ID of the selected budget cycle.
- _ledgerDimensionBudgetControl
Type: LedgerDimensionBudgetControl Extended Data Type
A LedgerDimensionBudgetControl value for which to obtain the budget control statistics inquiry data; optional.
- _budgetGroupRecId
Type: RecId Extended Data Type
The record ID of the budget group for which to obtain the budget control statistics inquiry data; optional.
- _mainAccountRecId
Type: RecId Extended Data Type
The record ID of the main account to use as an additional filter on the ledger dimension value to calculate amounts; optional.
- _includeAllAccounts
Type: boolean
A Boolean value that indicates whether to include all the main accounts for the specified ledger dimension; optional.
- _includeCarryforward
Type: NoYes Enumeration
A NoYes enumeration value that specifies whether to include the carry-forward amount in amount calculation; optional.
- _getBudgetPeriodBalanceFromCache
Type: boolean
A Boolean value that indicates whether the budget period balances can be obtained from the cache; optional.
Return Value
Type: BudgetTmpControlStatistics Table
A BudgetTmpControlStatistics table buffer.