BudgetPlanningProcessSetup::changeProcessState Method [AX 2012]
Changes the BudgetPlanningProcess approval state.
Syntax
server public static boolean changeProcessState(BudgetPlanningProcessRecId _budgetPlanningProcessRecId, BudgetPlanningApprovalProcessState _budgetPlanningApprovalProcessState)
Run On
Server
Parameters
- _budgetPlanningProcessRecId
Type: BudgetPlanningProcessRecId Extended Data Type
The record ID of the BudgetPlanningProcess record.
- _budgetPlanningApprovalProcessState
Type: BudgetPlanningApprovalProcessState Enumeration
The BudgetPlanningProcess approval state to which to change.
Return Value
Type: boolean
true if budget planning process approval process state changed; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The _budgetPlanningProcessRecId parameter must be specified. |