Client Script Save Record Function

Client Script Save Record Function

The client sctipt saveRecord function is beneficial when you want to prevent a user from saving a record if certain conditions are true. For instance, if you want to prevent a Purchase Order from being saved if the quantity of a particular item is under a certain...
Set Record Field Values

Set Record Field Values

Getting and setting field values on NetSuite records are some of the most common actions you will do with SuiteScript. So it is a good idea to get a really good handle on these at the beginning. If you missed an earlier tutorial on getting field values, you can find...
SuiteScript Logging and Debugging

SuiteScript Logging and Debugging

Having covered getting record field values in the previous scripting tutorial, in this tutorial we will talk about the basics of SuiteScript logging and debugging, which enable you to figure out problems that come up when you are scripting. If you have been following...
Get Record Field Values

Get Record Field Values

The powerful thing about NetSuite SuiteScripting is that you can interact with records throughout a script in the same way you interact with them in the user interface. You can load a record and save it. You can get record field values and set field values. In this...