Class: LoadRequest

LoadRequest

new LoadRequest(record_type, internalid) → {LoadRequest}

LoadRequest 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 LoadRequest
Type
LoadRequest

Methods

execute() → {null}

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

generateParams() → {object}

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

generateReply() → {object}

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

loadRecord() → {null}

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