megaphone
Update your Profile with your Support type to get your Support Type badge.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Stay in the know of how NetSuite can help grow your business with our guides, webinars, and events. Subscribe Here
What Topic Should We Cover Next? Your idea could be our next feature—drop your suggestion now!
No Limits. Just possibilities. Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Discover what's next at SuiteConnect Tour 2026.
Try Intelligent Payment Automation – Fee Free For Your First Month For more information, visit this thread.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the Week! You only have until tomorrow, April 2, 2026, 2:00PM ET to comment your answers.

My Stuff

New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.

3936824 Newbie

Comments

  • Andre - Thanks for the feedback. I will look into this and see what we might be able to change on this side in terms of redirection to the latest version of the API doc. I will post back here when I get more info. Thanks again, Kate
  • Hi, Andre - Can you try to access the API doc again? In Google I just typed "SuiteScript API" and was able to access everything. I did not get a "Page Not Found." On the NetSuite side we haven't changed anything to restrict access to our API docs via Google or any other search engine. So please try again and let us know if…
  • Andre - Thanks for bringing the doc oversight to our attention. We've just added orderStatus to Sales Order and have added the necessary field notes. This field will appear in the Records Guide after our next Help / PDF build, which should be some time next week. Thanks again, Kate
  • It looks like you are using the 'anyof' operator, which is not a valid search operator for text fields. Any of the following operators should be supported for your search: any, contains, doesnotcontain, doesnotstartwith, is, isempty, isnot, isnotempty, startswith, haskeywords. BTW, the search operator section in the…
  • Hi there - In the NetSuite Help Center, accessed by clicking the Help link in the upper-right corner of any NetSuite page, type the phrase Custom Field Types in the Search field (the Search field appears in the upper-right corner of the Help window that pops up). Click the first result that is returned. You should find the…
  • Hi there - This is in the SuiteScript FAQ under the question, "Does SuiteScript support the use of multiple library files?" "Be aware that the system reads your library files in the order they appear on the Library Script File tab on the Script record page. For example, if your first library file references the second…
  • Hi, Steve - This sounds like a bug. Please file an issue so it can be investigated. And just to verify, in all the zillions of lines of SuiteScript you've written, I'm assuming you've used this API before, set 'firefieldchanged' to false (or to true), and the code executed as you would have expected, right? The issue…
  • nlobjSearchFilter.setFormula(...) will be available in the Help documentation by the final phase of 2011.1. Thanks, Kate
  • To my knowledge, the documentation is correct and this field is still not scriptable. Thanks, Kate
  • Hi, Paul - Ok. I think the issue with the Records Browser is resolved. Please go in to Help and click any of the links that point to the Records Browser. Check both the Customer Refund and Customer Payment records. You should now see the Deposits sublist on both records. I have checked this, and I've had a couple of other…
  • Hi, Paul - Let me look into this. This might be a bug in the Records Browser generation process. I will update this thread soon. Thanks, Kate
  • Hi, Larry and Sohail - After speaking with the product team, it looks like you can go ahead and specify 'webstore' as an execution context (even though it is not currently documented). After our next Help build (in a week or so), you will see 'webstore' in the list of available context types. Thanks, Kate
  • Mark - There are a couple of places in Help to help you learn more about the units your scripts consume. On server scripts, you can call the nlobjContext.getRemainingUsage() method to see how many more units your script can consume. Each script type has a certain limit (ie., Scheduled scripts = 10,000 unit limit; user…
  • Hi, Bosco - This API is supposed to copy over all fields but the Name field. If this API is not mimicking the behavior of the UI (when copying records in the UI), then you may need to file an issue. thanks, kate
  • Hi, Maher - Both the Revenue Commitment and the Revenue Commitment Reversal records are officially supported in SuiteScript. (We only recently started supporting these records in SuiteScript; they will appear in the documentation toward the end of next week.) Both of these records are created using the nlapiTransformRecord…
  • Thanks for the post. I did a little more investigation on this one and it does look like the sublist name is 'competitors'. The change has already been made to the docs and should be available in Help after this Friday. However, it is still an inline editor sublist type. At this time, NetSuite doesn't even support the…
  • Hi, Kurt - I think the primary issue you're having is that the SuiteScript Debugger cannot be used to debug client side scripts. See this topic in Help for more details (see the 2nd paragraph): https://system.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteScript/SuiteScriptDebugger.html?NS_VER=2009.2.0 So it…
  • Ethan - I'm assuming your script is a user event script (the event being 'create' new record). Your script would need to include something like: function myFunction(type) { if (type == 'create') { //execute all the code if the UE event is 'create' record } } Also see this topic is Help for more details:…
  • Jay - If the script is running in the Debugger, but not running in other accounts where you might be testing the script, Steve's suggestion to check your script audience is probably right. Here's a topic in Help that goes over this:…
  • Hi, Clint - I'm not exactly sure how you'll be constructing your code, but I have a feeling you might want to consider the following APIs (depending on what you want to do): nlapiSetFieldTexts nlapiGetFieldTexts In the documentation, see this link:…
  • If you just type Transaction Type IDs in Help, it will take you to the topic. Thanks, Kate
  • Hi there - Here is a link to all the Transaction Type IDs in the docs. The material is in the SuiteScript Reference Guide in the "Transactions" chapter. https://system.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteScript/transactions.178.31.html?NS_VER=2009.1.0 In Help if you search for Transaction Type IDs…
  • mshuman - I'm not 100% of your use case, so I can't say for sure if what you're doing is outside of the scope of what is supported, but here is how this works: Let's pick the "Customer" record. The Customer record can have up to 5 JavaScript files deployed to it, and 3 executing UE functions per script file. The breakdown…
  • Currently this is not supported in SuiteScript. thanks, Kate
  • Like Olivier is saying, I do not believe this field is writeable in SuiteScript. Thanks, Kate
  • Yep - Robert has provided the correct path. You can also see this topic in Help: https://system.netsuite.com/help/helpcenter/en_US/Output/Help/SuiteFlex/SuiteScript/MS_SettingUpEnvironment.159.4.html?NS_VER=2008.2.0 Thanks, Kate
  • ERP - Others might have more insight, but I'm pretty sure Usage 0 means that your script consumed no usage governance units. See this topic in Help if you're not sure about the concept of usage units:…
  • Note that there is currently a table in Help called "List/Record Type IDs," which does list the internal IDs of many built-in records. It does not contain the two IDs provided on this thread, but several more are already documented. In Help this table appears with the documentation that goes with nlobjForm > addField >…
  • Hi there - This entry was somewhat recently added to the 2009.1 Release Notes in the SuiteScript section. I believe this may address your issue. Issue Resolved for nlapiAddDays(...) and nlapiAddMonths(...) Prior to 2009.1, there was a bug in which NetSuite modified the first argument passed to both nlapiAddDays(d, days)…
  • For right now the best place to find built-in values for select fields is to reference the SuiteTalk (Web Services) Records Guide. This guide is somewhat the equivalent of the SuiteScript Reference Guide. The WS Records Guide is provided in both Help and PDF formats. Using the WS Records Guide, go to the record you want -…