Requirement
The requirement is to void the subscription change orders in subscription records to delete a subscription record.
Solution
It is not possible to delete a subscription change order record. Instead, we can void subscription change orders.
To void a change order:
- If the subscription change order has revisions, need to clear the revisions before we can void the change order.
- Open a change order record. On the change order record, click Void
Using SuiteScript, we can search for and view voided change orders and void a subscription change order.
For SuiteScript 1.0, use nlapiDeleteRecord method, or for SuiteScript 2.0, use the record.delete method to run against a subscription change order. These methods void the subscription change order instead of deleting it.