SuiteScript Samples Catalog Complete Listing
The following table lists all samples available in the SuiteScript Sample Catalog. Links for each sample are included that go to the first occurrence of the sample in the catalog. The table lists each category in the catalog that includes each sample. For instance, the Access Parameterized Translation Strings sample is included in the Samples by Function > Translation and Samples by Module > N/translation categories.
Samples can also be found on the netsuite-suitecloud-samples github repository at: netsuite-suitecloud-samples.
Sample Name |
|||||||
---|---|---|---|---|---|---|---|
— |
— |
T |
N |
— |
— |
— |
|
— |
— |
Lists, Sublists, and Subrecords |
N/record |
Uses Promises |
— |
— |
|
Access Sublists and a Subrecord from a Record Asynchronously Using Promise Methods |
— |
— |
Lists, Sublists, and Subrecords |
N/record |
Uses Promises |
— |
— |
— |
— |
T |
N |
— |
— |
— |
|
— |
— |
T |
N |
— |
— |
— |
|
2.1 Sample |
Suitelet Script User Event Script |
— |
— |
— |
— |
Use Case Sample |
|
— |
Suitelet Script |
Lists, Sublists, and Subrecords |
— |
— |
— |
— |
|
— |
Suitelet Script |
Lists, Sublists, and Subrecords |
— |
— |
— |
— |
|
— |
Suitelet Script |
Secret Keys |
N/ |
— |
— |
— |
|
— |
Suitelet Script User Event Script |
UI C |
— |
— |
— |
— |
|
2.1 Sample |
User Event Script |
Sales Orders |
— |
— |
— |
Use Case Sample |
|
— |
— |
Sales Orders |
N/record |
— |
— |
— |
|
— |
— |
User C |
N/auth |
— |
— |
— |
|
2.1 Sample |
User Event Script |
AI |
N/llm |
Uses Promises |
— |
— |
|
— |
— |
Files |
N/ |
— |
— |
— |
|
— |
— |
— |
N/https |
— |
— |
— |
|
— |
— |
Queries |
N/query |
— |
— |
— |
|
— — |
— |
Formatting, Parsing, and Encoding |
N/encode |
— |
— |
— |
|
2.1 Sample |
Client Script |
— |
— |
— |
— |
Use Case Sample |
|
— |
— |
Workbooks and Datasets |
N/ |
— |
— |
— |
|
2.1 Sample |
— |
UI C |
N/ |
— |
— |
— |
|
— |
Suitelet Script |
UI C |
— |
— |
— |
— |
|
— |
— |
Logging and Errors |
N/error |
— |
— |
— |
|
Create a Custom Form with a Submit Button, Fields, and an Inline Editor Sublist |
2.1 Sample |
Suitelet Script |
Forms Lists, Sublists, and Subrecords |
N/ |
— |
— |
— |
— |
Suitelet Script |
UI C |
— |
— |
— |
— |
|
— |
— |
E-D |
— |
— |
— |
— |
|
Create a Custom Plug-in for Implementation for E-Document Custom Data Source |
— |
— |
E-D |
— |
— |
Plug-in Sample |
— |
Create a Custom Plug-in Implementation for Sending E-Documents |
— |
— |
E-D |
— |
— |
Plug-in Sample |
— |
— |
Suitelet Script |
Forms Surveys |
N/ |
— |
— |
— |
|
Create a Dataset, Run the Dataset, and List All Existing Datasets |
— — — |
— |
Workbooks and Datasets |
N/dataset |
— |
— |
— |
2.1 Sample |
— |
UI C |
N/ |
— |
— |
— |
|
2.1 Sample |
— |
UI C |
N/ |
— |
— |
— |
|
Create a Digital Signature Plug-in Implementation for E-Documents |
— |
— |
E-D |
— |
— |
Plug-in Sample |
— |
Create a File, Set Property Values, and Save It to the File Cabinet |
2.1 Sample |
— |
Files |
N/file |
— |
— |
— |
Create a Form Containing Several Field Types, Reset and Submit Buttons, Tabs, and a Sublist |
— |
Suitelet Script |
Forms UI C |
— |
— |
— |
— |
Create a Form Portlet with a Button That Allows User Adjustments |
— |
— |
Forms UI C |
N/portlet |
— |
— |
— |
2.1 Sample |
Suitelet Script |
Forms UI C User C |
N/https |
— |
— |
— |
|
— |
— |
— |
N/https |
— |
Plug-in Sample |
— |
|
2.1 Sample |
— |
AI |
N/llm |
Uses Promises |
— |
— |
|
— |
— |
— |
— |
— |
Plug-in Sample |
— |
|
— |
— |
Queries |
N/query |
— |
— |
— |
|
Create a Query for Customer Records and Run It as a Non-Paged Query |
2.1 Sample |
— |
Customer Records Queries |
N/query |
— |
— |
— |
Create a Query for Transaction Records and Run It as a Paged Query |
2.1 Sample |
— |
Queries |
N/query |
— |
— |
— |
— |
— |
Queries |
N/query |
— |
— |
— |
|
— |
— |
E-D |
— |
— |
Plug-in Sample |
— |
|
— |
— |
Searches |
N/search |
— |
— |
— |
|
2.1 Sample |
— |
Secret Keys |
N/crypto |
— |
— |
— |
|
— |
— |
Secret Keys |
N/ |
— |
— |
— |
|
Create a Suitelet to Request User Credentials, Create a Secret Key, and Encode a Sample String |
— |
— |
Secret Keys User C |
N/crypto |
— |
— |
— |
Create a URL and Send a Secure HTTPS POST Request to the URL |
— |
— |
HTTP/ URLs |
N/url |
— |
— |
— |
— |
— |
Files |
N/ |
— |
— |
— |
|
2.1 Sample |
— |
UI C |
N/ |
— |
— |
— |
|
— |
— |
— |
N/https |
— |
— |
— |
|
— |
— |
Logging and Errors |
N/error |
— |
— |
— |
|
2.1 Sample |
— |
Contacts |
N/record |
— |
— |
— |
|
Create and Save a Contact Record Asynchronously Using Promise Methods |
2.1 Sample |
— |
Contacts |
N/record |
Uses Promises |
— |
— |
Create and Save a CSV File then Reload the File and Parse Its Contents |
— |
— |
Files Formatting, Parsing, and Encoding |
N/file |
— |
— |
— |
2.1 Sample |
— |
Files |
N/file |
— |
— |
— |
|
— |
— |
Certificates |
— |
— |
— |
— |
|
2.1 Sample |
— |
Tasks |
N/task |
— |
— |
— |
|
— |
Map/ Scheduled Script |
Searches Tasks |
N/task |
— |
— |
— |
|
Create and Submit an Asynchronous Search Task and Export the Results into a CSV File |
2.1 Sample |
— |
Searches Tasks |
N/task |
— |
— |
— |
2.1 Sample |
— |
UI C |
N/ |
— |
— |
— |
|
Create Datasets, Dataset Links, and a Workbook with a Pivot and Run the Workbook |
— |
— |
— |
N/ |
Uses Promises |
— |
— |
— |
— |
Logging and Errors |
N/log |
— |
— |
— |
|
Create, Modify, and Save Certificate Record Based on a File in the File Cabinet |
— |
— |
Certificates Files |
N/ |
— |
— |
— |
— |
Scheduled Script |
Sales Orders |
N/runtime N/record |
— |
— |
— |
|
2.1 Sample |
— |
Certificates |
N/ |
— |
— |
— |
|
— |
— |
Searches |
N/search |
— |
— |
— |
|
Establish an SFTP Connection Using an SSH Key; Create, Update, Load, and Delete a Certificate Record |
— |
— |
C HTTP/ |
N/ |
— |
— |
— |
2.1 Sample |
— |
AI |
N/llm |
— |
— |
— |
|
— |
— |
Timebill Records |
N/action |
— |
— |
— |
|
Filter the Digital Certificate List by Subsidiary and File Type |
— |
— |
Certificates |
N/ |
— |
— |
— |
Find Actions Available for the Timebill Record Asynchronously Using Promise Methods |
— |
Client Script |
Timebill Records |
N/action |
Uses Promises |
— |
— |
— |
— |
Certificates |
N/ |
— |
— |
— |
|
— |
Suitelet |
— |
N/plugin |
— |
— |
— |
|
Find the Audit Trail of POST Operations for a Certificate Record Based on ID |
— |
— |
Certificates |
N/ |
— |
— |
— |
— |
— |
F T |
N/ |
— |
— |
— |
|
— |
— |
Formatting, Parsing, and Encoding |
N/format |
— |
— |
— |
|
— |
— |
Formatting, Parsing, and Encoding |
N/ |
— |
— |
— |
|
— |
— |
Currency Formatting, Parsing, and Encoding |
N/ |
— |
— |
— |
|
Format Numbers and Currencies Based on the English-India Locale Parameter |
— |
— |
Currency Formatting, Parsing, and Encoding |
N/ |
— |
— |
— |
— |
— |
Currency Formatting, Parsing, and Encoding |
N/ |
— |
— |
— |
|
— |
— |
Dates and Times Formatting, Parsing, and Encoding |
N/format |
— |
— |
— |
|
— |
— |
User C |
N/sso |
— |
— |
— |
|
— |
— |
Files XML |
N/render |
— |
— |
— |
|
2.1 Sample |
— |
Secret Keys |
N/https |
— |
— |
— |
|
— |
Portlet Script |
User C |
N/sso |
— |
— |
— |
|
— |
Suitelet Script |
User C |
N/sso |
— |
— |
— |
|
— |
User Event Script |
User C |
N/sso |
— |
— |
— |
|
— |
— |
URLs |
N/url |
— |
— |
— |
|
— |
— |
Localization |
N/ |
— |
— |
— |
|
— |
Portlet Script |
— |
— |
— |
— |
— |
|
— |
Portlet Script |
— |
— |
— |
— |
— |
|
— |
— |
Workbooks and Datasets |
N/dataset |
— |
— |
— |
|
Load a Search for Sales Order Records and Return the First 100 Search Results |
— |
— |
Sales Orders Searches |
N/search |
— |
— |
— |
Load a Search for Sales Order Records and Use a Callback Function to Process Results |
— |
— |
Sales Orders Searches |
N/search |
— |
— |
— |
— |
Suitelet Script |
Files XML |
N/xml |
— |
— |
— |
|
Load an XML File from the File Cabinet and Sign It using a Digital Certificate |
2.1 Sample |
— |
Certificates Files XML |
M/ |
— |
— |
— |
— |
— |
Searches |
N/search |
— |
— |
— |
|
Load the Company Information Configuration Page and Set Field Values |
— |
— |
C |
N/config |
— |
— |
— |
— |
— |
Timebill Record |
N/action |
— |
— |
— |
|
— |
— |
T |
N |
— |
— |
— |
|
Load Translation Strings by Key from a Translation Collection with Multiple Locales |
— |
— |
T |
N |
— |
— |
— |
Load Translation Strings by Key from Multiple Translation Collections |
— |
— |
T |
N |
— |
— |
— |
— |
— |
— |
N/cache |
— |
— |
— |
|
2.1 Sample |
— |
Files HTTP/ |
N/sftp |
— |
— |
— |
|
— |
— |
Revenue Records Searches Tasks |
N |
— |
— |
— |
|
— |
— |
Revenue Records Searches Tasks |
N |
— |
— |
— |
|
— |
— |
Revenue Records Tasks |
N |
— |
— |
— |
|
Obtain the Exchange Rate Between the Canadian Dollar and the U.S. Dollar |
— |
— |
— |
— |
— |
— |
— |
— |
— |
— |
N/ |
— |
— |
— |
|
— |
Suitelet Script |
Dates and Times Formatting, Parsing, and Encoding |
N/format |
— |
— |
— |
|
— |
— |
Formatting, Parsing, and Encoding |
N/format |
— |
— |
— |
|
— |
— |
Formatting, Parsing, and Encoding |
N/ |
— |
— |
— |
|
— |
— |
— |
— |
— |
— |
— |
|
— |
Suitelet Script |
Files Formatting, Parsing, and Encoding Logging and Errors XML |
N/xml |
— |
— |
— |
|
— |
— |
Basic Record Operations |
N/ |
— |
— |
— |
|
2.1 Sample |
Suitelet Script |
AI |
N/llm |
— |
— |
— |
|
Read and Log File Contents Using Commas and New Lines as Separators |
— |
— |
Files Logging and Errors |
N/file |
— |
— |
— |
Read and Log Segments from a File Using a Set of Characters as Separators |
— |
— |
Files Logging and Errors |
N/file |
— |
— |
— |
— |
Suitelet Script |
Basic Record Operations Sales Orders |
N/http |
— |
— |
— |
|
— |
— |
Customer Records |
N/ |
— |
— |
— |
|
— |
Suitelet Script |
Files |
N/render |
— |
— |
— |
|
— |
— |
T |
N/render |
— |
— |
— |
|
— |
— |
Files T XML |
N/render N/xml |
— |
— |
— |
|
— |
Suitelet Script |
Files Searches |
N/render |
— |
— |
— |
|
2.1 Sample |
— |
URLs |
N/http |
— |
— |
— |
|
2.1 Sample |
RESTlet Script Suitelet Script |
HTTP/ |
N/https |
— |
— |
— |
|
— |
— |
— |
N/ |
— |
— |
— |
|
Retrieve Name of a City Based on a ZIP Code Using Cache and a Custom Loader Function |
2.1 Sample |
Suitelet Script |
— |
N/cache |
— |
— |
— |
— |
— |
— |
N/url |
— |
— |
— |
|
— |
— |
URLs |
N/url |
— |
— |
— |
|
— |
— |
— |
N |
— |
— |
— |
|
— |
Suitelet Script |
Files XML |
— |
— |
— |
— |
|
— |
Suitelet Script |
Files |
— |
— |
— |
— |
|
— |
Suitelet Script |
User and Session Information |
N/runtime |
— |
— |
— |
|
— |
— |
Queries |
N/query |
— |
— |
— |
|
— |
Scheduled Script |
— |
— |
— |
— |
— |
|
Search for and Execute a Workflow Deployed on the Customer Record |
— |
— |
Customer Records Searches Workflows |
N/ |
— |
— |
— |
— |
— |
Customer Records Searches |
N/search |
— |
— |
— |
|
— |
— |
Searches |
N/search |
— |
— |
— |
|
— |
— |
Searches |
N/search |
— |
— |
— |
|
2.1 Sample |
— |
AI |
N/llm |
— |
— |
— |
|
2.1 Sample |
— |
URLs |
N/ |
— |
— |
— |
|
2.1 Sample |
— |
|
N/email |
— |
— |
— |
|
2.1 Sample |
Client Script |
— |
— |
— |
— |
— |
|
— |
— |
Tasks URLs |
N/redirect |
— |
— |
— |
|
— |
User Event Script |
Files HTTP/ |
N/sftp |
— |
— |
— |
|
Set Fields on a Sales Order Record Using util.each (Iterator) |
— |
— |
Sales Orders |
N/util |
— |
— |
— |
2.1 Sample |
Client Script |
Currency |
— |
— |
— |
— |
|
— |
Portlet Script |
— |
— |
— |
— |
— |
|
— |
Portlet Script |
— |
— |
— |
— |
— |
|
— |
— |
Tasks |
N/task |
— |
— |
— |
|
2.1 Sample |
User Event Script |
T |
— |
— |
— |
— |
|
— |
— |
E-D |
— |
— |
Plug-in Sample |
— |
|
Update Fields on Current Record using a Custom Module Script and a User Event Script |
2.1 Sample |
— |
Basic Record Operations |
N/ |
— |
— |
— |
2.1 Sample |
— |
Files |
N/sftp |
— |
— |
— |
|
2.1 Sample |
User Event Script |
— |
N/ |
— |
— |
— |
|
— |
— |
Sales Orders T |
N |
— |
— |
— |
|
— |
Suitelet Script |
Forms |
— |
— |
— |
— |
|
— |
Suitelet Script |
— |
— |
— |
— |
— |