In Suitescript 2.0 I want to check if an ID does not match with one of the IDs in the array below: In the debugger I see that .0 is added to every value in the array : Now if my ID is 1 and I do the following check: then this will always be true, because the numbers have
Tag: netsuite
Netsuite – How to enter sublist items using a restlet
I am getting an error on trying to create a sales order record using a restlet. My code below. How can I get it working? Answer Your is_dynamic should be isDynamic in record.create().
How to get Sales Order ‘shipaddresslist’ value from Transaction Saved Search/Suitescript Search?
In Netsuite, the Sales Order record type contains a field called “shipaddresslist” which contains the Customer Address Internal ID associated with the selected Customer Address. Unfortunately, there is no search column for Sales Orders that will get the value of “shipaddresslist,” so I had to find a workaround. Using SuiteScript, I’ve been able to get the value of this field
How to get all items list on NetSuite?
I am just starting with NetSuite and trying to pull all items with details using Restlet. With some research, I am able to pull all the items but the way I am doing now is not straightforward. I first pull the all ids of item using nlapiSearchRecord and loop through each id to get details of each item using nlapiLoadRecord