Class: DeleteRequest

DeleteRequest

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:
Returns:
A new instance of DeleteRequest
Type
DeleteRequest

Methods

deleteRecord() → {null}

Load a record for a DeleteRequest and catch any exceptions.
Source:
Returns:
Type
null

execute() → {null}

Load a record for a DeleteRequest and generate a reply for it.
Source:
Returns:
Type
null

generateParams() → {object}

Set parameters for a DeleteRequest.
Source:
Returns:
The parameter object
Type
object

generateReply() → {object}

Generate a DeleteRequest reply for the requestor.
Source:
Returns:
A formatted reply object from NetsuiteToolkit
Type
object