Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
We apologize for any inconvenience this may cause and appreciate your understanding.
Simple List Using SuiteScript 2.0
Hi,
I want to create sample list to show Sales Order Number, Sales Order Date, Sales Order Amount, Sales Order Prepayment. Sales Order Prepayment is Journal Entry transaction that related to the Sales Order by custom record. How do I create list for this situation using suitescript?
I try to create below script, but I do not know how to parse the result of the search. Anyone can help me?
/**
* @NApiVersion 2.x
* @NScriptType Suitelet
* @NModuleScope SameAccount
*/
define(['N/ui/serverWidget','N/url','N/search'],
/**
* @param {serverWidget} serverWidget
*/
function(serverWidget, url, search) {
/**
* Definition of the Suitelet script trigger point.
*
* @param {Object} context