Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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
Tagged:
1