new Deleter(request) → {Deleter}
Deleter Class
Parameters:
Name | Type | Description |
---|---|---|
request |
object | The body of the HTTP Post request from the client |
- Source:
- delete.js, line 1
Returns:
A new instance of Deleter
- Type
- Deleter
Methods
-
accumulateResult() → {null}
-
Push a result onto the result_list.
- Source:
- delete.js, line 56
Returns:
- Type
- null
-
deleteRecords() → {null}
-
Iterate through the supplied parameters and load their related records from NetSuite. Populate result_list or exception accordingly.
- Source:
- delete.js, line 24
Returns:
- Type
- null
-
executeDeleteRequest(Data) → {null}
-
Instantiate a new DeleteRequest given load parameters and accumulate its result on result_list.
Parameters:
Name Type Description Data
object representing load request parameters - Source:
- delete.js, line 44
Returns:
- Type
- null
-
generateReply() → {object}
-
Generate and return Deleter reply for the requestor.
- Source:
- delete.js, line 67
Returns:
A formatted reply object from NetsuiteToolkit- Type
- object