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