new Initializer(request) → {Initializer}
Initializer Class
Parameters:
Name | Type | Description |
---|---|---|
request |
object | The body of the HTTP Post request from the client |
- Source:
- initialize.js, line 1
Returns:
A new instance of Initializer
- Type
- Initializer
Methods
-
<static> initializePostHandler(record_type) → {null}
-
Request the NetsuiteToolkit to return a new, blank record.
Parameters:
Name Type Description record_type
string The String representing the record type to be initialized - Source:
- initialize.js, line 56
Returns:
- Type
- null
-
generateReply() → {object}
-
Return a formatted reply object generate by NetsuiteToolkit
- Source:
- initialize.js, line 39
Returns:
The object containing the formatted reply data- Type
- object
-
initializeRecord() → {null}
-
Request the NetsuiteToolkit to return a new, blank record.
- Source:
- initialize.js, line 24
Returns:
- Type
- null