ReqPlanDelete.deletePlanInternal Method [AX 2012]
Deletes the master plan completely or partially.
Syntax
protected void deletePlanInternal(
ReqPlanId _reqPlanId,
[boolean _isPartialDeletion,
ReqPlanData _reqPlanData])
Run On
Called
Parameters
- _reqPlanId
Type: ReqPlanId Extended Data Type
The ID of the master plan to delete.
- _isPartialDeletion
Type: boolean
A Boolean value that specifies if the master plan has to be partially deleted; optional.
- _reqPlanData
Type: ReqPlanData Class
An instance of the ReqPlanData class that contains parameters for partially deleting the plan.
Exceptions
Exception | Condition |
---|---|
Error | The function has been called in the active transaction. |
Remarks
Deletion of the master plan is performed by switching the system to the new version of the plan and then deleting the old plan version.