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:
- load.js, line 74
Returns:
A new instance of LoadRequest
- Type
- LoadRequest
Methods
-
execute() → {null}
-
Load a record for a LoadRequest and generate a reply for it.
- Source:
- load.js, line 98
Returns:
- Type
- null
-
generateParams() → {object}
-
Set parameters for a LoadRequest.
- Source:
- load.js, line 126
Returns:
The parameter object- Type
- object
-
generateReply() → {object}
-
Generate a LoadRequest reply for the requestor.
- Source:
- load.js, line 141
Returns:
A formatted reply object from NetsuiteToolkit- Type
- object
-
loadRecord() → {null}
-
Load a record for a LoadRequest and catch any exceptions.
- Source:
- load.js, line 111
Returns:
- Type
- null