BudgetTransactionPost.checkBudgetBalanceRevenue Method [AX 2012]
Checks the balance of the revised budget amount for a ledger dimension in a specified interval.
protected boolean checkBudgetBalanceRevenue(
LedgerDimensionBudget _ledgerDimensionBudget,
TransDate _intervalStartDate,
TransDate _intervalEndDate,
AmountMST _totalAmountMST)
Run On
CalledParameters
- _ledgerDimensionBudget
- Type: LedgerDimensionBudget Extended Data Type
The ledger dimension to check.
- _intervalStartDate
- Type: TransDate Extended Data Type
The interval start date.
- _intervalEndDate
- Type: TransDate Extended Data Type
The interval end date.
- _totalAmountMST
- Type: AmountMST Extended Data Type
The total amount for the ledger dimension in the interval.
This validation applies when the budget transaction line is of the Revenue type.
If the BudgetParameter option to check the budget balance for revenue amounts is set to None, no check is performed and true is returned.
If the total amount for the interval is negative, no check is performed and true is returned as it is increasing the balance.
Community Additions
ADD
Show: