new DeleteRequest(record_type, internalid) → {DeleteRequest}
DeleteRequest Class
Parameters:
Name | Type | Description |
---|---|---|
record_type |
string | the String representing a NetSuite record type |
internalid |
string | the String representing a NetSuite internal id |
- Source:
- delete.js, line 74
Returns:
A new instance of DeleteRequest
- Type
- DeleteRequest
Methods
-
deleteRecord() → {null}
-
Load a record for a DeleteRequest and catch any exceptions.
- Source:
- delete.js, line 111
Returns:
- Type
- null
-
execute() → {null}
-
Load a record for a DeleteRequest and generate a reply for it.
- Source:
- delete.js, line 98
Returns:
- Type
- null
-
generateParams() → {object}
-
Set parameters for a DeleteRequest.
- Source:
- delete.js, line 126
Returns:
The parameter object- Type
- object
-
generateReply() → {object}
-
Generate a DeleteRequest reply for the requestor.
- Source:
- delete.js, line 141
Returns:
A formatted reply object from NetsuiteToolkit- Type
- object