Discussions
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