BudgetPlanningProcessSetup::deactivateProcess Method [AX 2012]
Deactivates the BudgetPlanningProcess record by setting the process approval state to draft.
Syntax
client server public static boolean deactivateProcess(
BudgetPlanningProcessName _budgetPlanningProcessName,
BudgetPlanningApprovalProcessState _budgetPlanningApprovalProcessState,
BudgetPlanningProcessRecId _budgetPlanningProcessRecId)
Run On
Called
Parameters
- _budgetPlanningProcessName
Type: BudgetPlanningProcessName Extended Data Type
The field Name of the BudgetPlanningProcess record.
- _budgetPlanningApprovalProcessState
Type: BudgetPlanningApprovalProcessState Enumeration
The field ApprovalProcessState of the BudgetPlanningProcess record.
- _budgetPlanningProcessRecId
Type: BudgetPlanningProcessRecId Extended Data Type
The record ID of the BudgetPlanningProcess record.
Return Value
Type: boolean
true if budget planning process is deactivated; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The _budgetPlanningProcessRecId parameter must be specified. |