by TJ Cornelius | Sep 3, 2020 | NetSuite Scripting
The purpose of the validateField client script function is to control what can and can’t be entered in a certain field. One example of how you might want to place controls on a field is with the Job Title field on the customer record. You might want it to be at...
by TJ Cornelius | Aug 13, 2020 | NetSuite Scripting
The saveRecord client script 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...
by TJ Cornelius | Aug 6, 2020 | NetSuite Scripting
So far in the sample script we have been working with the “pageInit” function. That function is triggered as soon as you load a record to edit it. In this tutorial we will look at the “fieldChanged” function to explore more ways client scripts...
by TJ Cornelius | Jul 23, 2020 | NetSuite Scripting
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 the tutorial on getting field values, you can take a look...
by TJ Cornelius | Jul 16, 2020 | NetSuite Scripting
In this tutorial we will talk about the basics for how you can figure out problems that come up when you are scripting. If you have been following along with this tutorial series, you may already have run into script errors or other issues that caused your script not...