BudgetControlResult::newBudgetControlResult Method [AX 2012]
Constructs an instance of the BudgetControlResult class.
Syntax
client server public static BudgetControlResult newBudgetControlResult(
BudgetCheckResult _result,
BudgetControlErrorWarningType _errorWarningType,
BudgetControlErrorWarning _errorWarning,
Set _errorMessages,
Set _warningMessages)
Run On
Called
Parameters
- _result
Type: BudgetCheckResult Enumeration
The result of the check for budget available.
- _errorWarningType
Type: BudgetControlErrorWarningType Enumeration
The budget control error or warning type for the budget source.
- _errorWarning
Type: BudgetControlErrorWarning Enumeration
The budget control error or warning for the budget source.
- _errorMessages
Type: Set Class
A set of error messages from the check for budget available.
- _warningMessages
Type: Set Class
A set of warning messages from the check for budget available.
Return Value
Type: BudgetControlResult Class
An instance of the BudgetControlResult class.