SuiteScript 1.0 to SuiteScript 2.x API Map – Objects (nlobj)
This topic maps SuiteScript 1.0 Objects (prefixed with “nlobj”) to their corresponding SuiteScript 2.x APIs. Objects and their members are grouped alphabetically by object name. Each object has its own table containing all object members.
NetSuite does not support calling SuiteScript 1.0 APIs from SuiteScript 2.x scripts.
To view a mapping of SuiteScript 1.0 Functions (prefixed with “nlapi”) to their corresponding SuiteScript 2.x APIs, see SuiteScript 1.0 to SuiteScript 2.x API Map – Functions (nlapi).
nlobjAssistant
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjAssistant |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant.hasError() |
— |
||
|
nlobjAssistant.isFinished() |
— |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
Note that Use one of these SuiteScript 2.x properties to attach an ad hoc client script to an assistant. |
||
|
nlobjAssistant. |
Note that |
||
|
nlobjAssistant. |
— |
||
|
nlobjAssistant. |
Note that |
nlobjAssistantStep
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjAssistantStep |
— |
||
|
nlobjAssistantStep.getAllFields() |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
— |
||
|
nlobjAssistantStep. |
Note that |
||
|
nlobjAssistantStep. |
Note that |
||
|
nlobjAssistantStep. |
Note that |
nlobjButton
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjButton |
— |
||
|
nlobjButton. |
Note that |
||
|
nlobjButton.setLabel(label) |
Note that |
||
|
nlobjButton.setVisible(visible) |
Note that |
nlobjColumn
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjColumn |
— |
||
|
nlobjColumn. |
— |
||
|
nlobjColumn.setLabel(label) |
Note that |
||
|
nlobjColumn.setURL(url, dynamic) |
— |
nlobjConfiguration
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjConfiguration |
Use the N/config Module method, config.load(options), to return a For a script sample, see N/config Module Script Sample. |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
Note that |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
||
|
nlobjConfiguration. |
— |
nlobjContext
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjContext |
— |
||
|
nlobjContext.getCompany() |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext.getEmail() |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext. |
— |
||
|
nlobjContext.getLocation() |
Note that |
||
|
nlobjContext.getLogLevel() |
Note that |
||
|
nlobjContext.getName() |
Note that |
||
|
nlobjContext. |
Note that For a script sample, see N/runtime Module Script Samples. |
||
|
nlobjContext. |
— |
||
|
nlobjContext. |
— |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext. |
— |
||
|
nlobjContext.getRole() |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext.getRoleId() |
Note that |
||
|
nlobjContext.getScriptId() |
Note that |
||
|
nlobjContext. |
— |
||
|
nlobjContext. |
The method The method The method The method |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext.getUser() |
Note that |
||
|
nlobjContext.getVersion() |
Note that |
||
|
nlobjContext. |
Note that |
||
|
nlobjContext. |
— |
||
|
nlobjContext. |
— |
nlobjCredentialBuilder
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjCredentialBuilder(string, domainString) |
— |
||
|
nlobjCredentialBuilder. |
— |
||
|
nlobjCredentialBuilder.base64() |
— |
||
|
nlobjCredentialBuilder. |
— |
||
|
nlobjCredentialBuilder.sha256() |
— |
||
|
nlobjCredentialBuilder.utf8() |
— |
nlobjCSVImport
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjCSVImport |
Returned by task.create(options).
|
||
|
nlobjCSVImport. |
Note that |
||
|
nlobjCSVImport. |
Note that |
||
|
nlobjCSVImport.setOption(option, value) |
Note that |
||
|
nlobjCSVImport. |
Note that |
||
|
nlobjCSVImport.setQueue(string) |
Note that |
nlobjDuplicateJobRequest
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjDuplicateJobRequest |
Returned by task.create(options).
|
||
|
nlobj |
Note that |
||
|
nlobj |
Entity |
— |
|
|
nlobj |
Note that |
||
|
nlobj |
Note that |
||
|
nlobj |
Note that |
nlobjEmailMerger
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjEmailMerger |
— |
||
|
nlobjEmailMerger.merge() |
See Notes |
In SuiteScript 2.x, this is automatically called in render.mergeEmail(options). |
|
|
nlobjEmailMerger. |
See Notes |
In SuiteScript 2.x, this value is set with a render.mergeEmail(options) parameter. |
|
|
nlobjEmailMerger. |
See Notes |
In SuiteScript 2.x, this value is set with a render.mergeEmail(options) parameter. |
|
|
nlobjEmailMerger. |
See Notes |
In SuiteScript 2.x, this value is set with a render.mergeEmail(options) parameter. |
|
|
nlobjEmailMerger. |
See Notes |
In SuiteScript 2.x, this value is set with a render.mergeEmail(options) parameter. |
|
|
nlobjEmailMerger. |
See Notes |
In SuiteScript 2.x, this value is set with a render.mergeEmail(options) parameter. |
nlobjError
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjError |
— |
||
|
nlobjError.getCode() |
Note that |
||
|
nlobjError.getDetails() |
Note that |
||
|
nlobjError.getId() |
Note that |
||
|
nlobjError.getInternalId() |
Note that |
||
|
nlobjError.getStackTrace() |
Note that |
||
|
nlobjError.getUserEvent() |
— |
— |
— |
nlobjField
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjField |
Use the Use the |
nlobjFieldGroup
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjFieldGroup |
— |
||
|
nlobjFieldGroup. |
Note that |
||
|
nlobjFieldGroup.setLabel(label) |
Note that |
||
|
nlobjFieldGroup. |
Note that |
||
|
nlobjFieldGroup. |
Note that |
nlobjFile
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjFile |
For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.getDescription() |
Note that |
||
|
nlobjFile.getFolder() |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.getId() |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.getName() |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.getSize() |
Note that |
||
|
nlobjFile.getType() |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.getURL() |
Note that |
||
|
nlobjFile.getValue() |
— |
||
|
nlobjFile.isInactive() |
Note that |
||
|
nlobjFile.isOnline() |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile. |
Note that |
||
|
nlobjFile. |
Note that |
||
|
nlobjFile.setFolder(id) |
Note that You can also set the folder during file creation with file.create(options). For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile. |
Note that |
||
|
nlobjFile.setIsOnline(online) |
Note that For a script sample, see N/file Module Script Samples. |
||
|
nlobjFile.setName(name) |
Note that For a script sample, see N/file Module Script Samples. |
nlobjForm
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjForm |
— |
||
|
nlobjForm.addButton(name, label, script) |
— |
||
|
nlobjForm. |
— |
||
|
nlobjForm.addField(name, type, label, sourceOrRadio, tab) |
For a script sample, see N/ui/serverWidget Module Script Samples |
||
|
nlobjForm. |
— |
||
|
nlobjForm.addPageLink(type, title, url) |
— |
||
|
nlobjForm.addSubList(name, type, label, tab) |
For a script sample, see N/ui/serverWidget Module Script Samples |
||
|
nlobjForm. |
For a script sample, see N/ui/serverWidget Module Script Samples |
||
|
nlobjForm.addSubTab(name, label, tab) |
— |
||
|
nlobjForm.addTab(name, label) |
— |
||
|
nlobjForm.getButton(name) |
— |
||
|
nlobjForm.getField(name, radio) |
— |
||
|
nlobjForm.getSubList(name) |
— |
||
|
nlobjForm.getSubTab(name) |
— |
||
|
nlobjForm.getTab(name) |
— |
||
|
nlobjForm.getTabs() |
— |
||
|
nlobjForm.insertField(field, nextfld) |
— |
||
|
nlobjForm. |
— |
||
|
nlobjForm. |
— |
||
|
nlobjForm.insertTab(tab, nexttab) |
— |
||
|
nlobjForm. |
— |
||
|
nlobjForm. |
— |
||
|
nlobjForm.setScript(script) |
Note that Use one of these SuiteScript 2.x properties to attach an ad hoc client script to a form. |
||
|
nlobjForm.setTitle(title) |
Note that |
nlobjFuture
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjFuture |
— |
||
|
nlobjFuture.isCancelled() |
Note that |
||
|
nlobjFuture.isDone() |
Note that |
nlobjJobManager
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjJobManager |
— |
||
|
nlobjJobManager.createJobRequest() |
— |
||
|
nlobjJobManager.getFuture() |
— |
||
|
nlobjJobManager. |
— |
nlobjList
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjList |
— |
||
|
nlobjList.addButton(name, label, script) |
— |
||
|
nlobjList.addColumn(name, type, label, align) |
— |
||
|
nlobjList. |
— |
||
|
nlobjList.addPageLink(type, title, url) |
— |
||
|
nlobjList.addRow(row) |
— |
||
|
nlobjList.addRows(rows) |
— |
||
|
nlobjList.setScript(script) |
Note that Use one of these SuiteScript 2.x properties to attach an ad hoc client script to a form. |
||
|
nlobjList.setStyle(style) |
Note that |
||
|
nlobjList.setTitle(title) |
Note that |
nlobjLogin
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjLogin |
See Notes. |
See nlobjLogin members. |
|
|
nlobjLogin. |
For a script sample, see N/auth Module Script Sample. |
||
|
nlobjLogin. |
For a script sample, see N/auth Module Script Sample |
nlobjMergeResult
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjMergeResult |
- |
||
|
nlobjMergeResult.getBody() |
Note that |
||
|
nlobjMergeResult.getSubject() |
Note that |
nlobjPortlet
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjPortlet |
See Notes |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.addColumn(name, type, label, just) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet. |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.addField(name, type, label, source) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.addLine(text, url, indent) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.addRow(row) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.addRows(rows) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.setHtml(html) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet. |
- |
— |
There is no SuiteScript 2.x direct equivalent for this method. For additional information, see SuiteScript 2.x Portlet Script Type. |
|
nlobjPortlet.setScript(scriptid) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.setSubmitButton(url, label, target) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
|
|
nlobjPortlet.setTitle(title) |
— |
For additional information, see SuiteScript 2.x Portlet Script Type. |
nlobjRecord
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjRecord |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobj |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobj |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord.getAllFields() |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
See Notes |
Use the |
|
|
nlobj |
— |
||
|
nlobj |
— |
||
|
nlobj |
Method returns an array for multi-select fields. |
||
|
nlobjRecord. |
See Notes |
Use the |
|
|
nlobjRecord.getField(fldnam) |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord.getId() |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
See Notes |
Use the |
|
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
See Notes |
Use the |
|
|
nlobj |
— |
||
|
nlobj |
— |
||
|
nlobjRecord. |
See Notes |
Use the |
|
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
See Notes |
Use the |
|
|
nlobjRecord. |
— |
||
|
nlobjRecord. |
— |
||
|
nlobj |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
||
|
nlobjRecord. |
Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
nlobjRequest
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjRequest |
— |
||
|
nlobjRequest. |
ServerRequest. |
||
|
nlobjRequest. |
ServerRequest. |
||
|
nlobjRequest.getBody() |
ServerRequest. |
||
|
nlobjRequest.getFile(id) |
ServerRequest.files(options) is read-only. |
||
|
nlobjRequest. |
ServerRequest. |
||
|
nlobjRequest. |
— |
||
|
nlobjRequest. |
— |
||
|
nlobjRequest.getMethod() |
ServerRequest. |
||
|
nlobjRequest. |
ServerRequest. |
||
|
nlobjRequest. |
ServerRequest. |
||
|
nlobjRequest.getURL() |
ServerRequest.url is read-only. |
nlobjResponse
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjResponse |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse.getBody() |
Note that |
||
|
nlobjResponse.getCode() |
Note that |
||
|
nlobjResponse.getError() |
See Notes |
There is no SuiteScript 2.x equivalent for this method. |
|
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
If multiple values are assigned to the header name. serverResponse. |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
See Notes |
There is no direct equivalent for this method in SuiteScript 2.x. |
|
|
nlobjResponse. |
See Notes |
There is no direct equivalent for this method in SuiteScript 2.x. When you use https.ServerResponse, textual responses are encoded in UTF-8 by default. If you want to return a file with an alternative character encoding, see Return a File with Alternative Character Encoding. |
|
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
||
|
nlobjResponse. |
— |
nlobjSearch
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSearch |
— |
||
|
nlobjSearch. |
Note that |
||
|
nlobjSearch. |
Note that |
||
|
nlobjSearch.addFilter(filter) |
Note that |
||
|
nlobjSearch.addFilters(filters) |
Note that |
||
|
nlobjSearch.deleteSearch() |
For a script sample, see N/search Module Script Samples. |
||
|
nlobjSearch.getColumns() |
Note that |
||
|
nlobjSearch. |
Note that |
||
|
nlobjSearch.getFilters() |
Note that |
||
|
nlobjSearch.getId() |
Note that |
||
|
nlobjSearch.getIsPublic() |
Note that |
||
|
nlobjSearch.getScriptId() |
— |
||
|
nlobjSearch.getSearchType() |
Note that |
||
|
nlobjSearch.runSearch() |
— |
||
|
nlobjSearch.saveSearch(title, scriptId) |
— |
||
|
nlobjSearch. |
Note that |
||
|
nlobjSearch. |
Note that |
||
|
nlobjSearch.setFilters(filters) |
Note that |
||
|
nlobjSearch.setIsPublic(type) |
Note that |
||
|
nlobj |
— |
||
|
nlobj |
— |
nlobjSearchColumn
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSearchColumn |
— |
nlobjSearchFilter
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSearchFilter |
— |
nlobjSearchResult
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSearchResult |
— |
nlobjSearchResultSet
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSearchResultSet |
— |
nlobjSelectOption
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSelectOption |
See Notes |
See mapping for |
|
|
nlobjSelectOption.getId() |
N/record: Field.getSelectOptions(options) N/currentRecord: Field.getSelectOptions(options) |
— |
|
|
nlobjSelectOption. |
N/record: Field.getSelectOptions(options) N/currentRecord: Field.getSelectOptions(options) |
— |
nlobjSublist
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSubList |
— |
||
|
nlobjSublist.addButton(name, label, script) |
— |
||
|
nlobjSublist.addField(name, type, label, source) |
— |
||
|
nlobjSublist. |
— |
||
|
nlobjSublist. |
— |
||
|
nlobjSublist. |
Note that |
||
|
nlobjSublist. |
— |
||
|
nlobjSublist. |
— |
||
|
nlobjSublist. |
Note that |
||
|
nlobjSublist.setHelpText(help) |
Note that |
||
|
nlobjSublist.setLabel(label) |
Note that |
||
|
nlobjSublist. |
— |
||
|
nlobjSublist. |
See Notes |
There is not a SuiteScript 2.x direct equivalent for this method. |
|
|
nlobjSublist. |
Note that |
nlobjSubrecord
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjSubrecord |
See Notes |
SuiteScript 2.x subrecords are returned as record.Record objects. Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
|
|
nlobjSubrecord.cancel() |
See Notes |
SuiteScript 2.x subrecords are returned as record.Record objects. Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
|
|
nlobjSubrecord.commit() |
See Notes |
This API does not have a SuiteScript 2.x equivalent. SuiteScript 2.x subrecords are returned as record.Record objects. Note that scripting subrecords in SuiteScript 2.x is fundamentally different from scripting subrecords in SuiteScript 1.0. For additional information, see the SuiteScript 2.x topics under SuiteScript 2.x Scripting Subrecords. |
nlobjTab
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjTab |
— |
||
|
nlobjTab.setLabel(label) |
Note that |
||
|
nlobjTab.setHelpText(help) |
Note that |
nlobjTemplateRenderer
|
SuiteScript 1.0 API |
SuiteScript 2.x API |
SuiteScript 2.x Module |
Notes |
|---|---|---|---|
|
nlobjTemplateRenderer |
For a script sample, see N/render Module Script Samples. |
||
|
nlobjTemplateRenderer. |
For a script sample, see N/render Module Script Samples. |
||
|
nlobjTemplateRenderer. |
For a script sample, see N/render Module Script Samples. |
||
|
nlobjTemplateRenderer. |
— |
||
|
nlobjTemplateRenderer. |
— |
||
|
nlobjTemplateRenderer. |
For a script sample, see N/render Module Script Samples. |