If you are following along with this series, you now have a good high level understanding of the most common NetSuite script types. Before we actually jump into some tutorials with the code, I thought it would be very helpful to outline some of the best resources for suitescripting.
SuiteScript 2.0 API Reference
Here is a PDF that I have referenced a lot when developing NetSuite solutions. It’s helpful when you want one PDF with all the api information. I also found it helpful when I was moving from SuiteScript 1.0 to 2.0. If you are a 1.0 developer trying to learn 2.0, you can search 1.0 functions in this PDF, and it will tell you the equivilant function in 2.0. Very helpful!
This PDF will give examples for each function, and that makes it easy to copy and paste into your own code.
Here is the PDF Link: https://docs.oracle.com/cloud/latest/netsuitecs_gs/NSAPI/NSAPI.pdf
NetSuite Help will give you the same information as the SuiteScript 2.0 API Reference. When you’re logged into NetSuite, just click “Help” in the top right of the page, and then you can search for any suitescript function you need to learn about. Similar the API Reference PDF, NetSuite Help will also give helpful examples of each function, and that makes it easy to follow along and adopt into your own code.
If you are new to suitescriping you may not know the names of the functions to search for. In that case you can navigate to the suitescript section on the left side of the Help page. Then you can look around for what you need. When you’re on the Help page looking at the table of contents on the left, navigate to “SuiteCloud Platform” > “SuiteScript” > “SuiteScript 2.0 API Reference” > “SuiteScript 2.0 Modules.” You can browse through those modules to find the exact function you need.
NetSuite Records Browser
The NetSuite Records Browser is useful when you need to find out what fields you can access on a record and what their internal IDs are. I use this all the time. Literally. I usually have the tab open in my browser 24/7.
Here’s the link to the latest version: https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2020_1/script/record/job.html
NetSuite’s API is huge, and even the best of NetSuite developers will constantly need to reference these resources when working on NetSuite projects. In my opinion these are the 3 most useful resources for NetSuite development. If you know of an additional resource that I should add to this list, please let me know in the comments!
Next scripting blog: NetSuite Development 8: SuiteScript 2.0 Basics
Previous scripting blog: NetSuite Development 6 SuiteLet Scripts