Categories
Design Pattern

22 The Event Router – A SuiteScript Design Pattern

This week, we’re going to discuss a design pattern I really like that you can apply to many different but common SuiteScript scenarios. (29 minutes) You can find all the code for this example project in my Learn SuiteScript project repository: https://gitlab.com/stoicsoftware/learn-suitescript/

Categories
Teardown User Interface

21 Custom Record Creation via Suitelet – A SuiteScript Teardown

This week, I’ll be performing a teardown of some code volunteered by a very brave member of the Effective SuiteScript mailing list. A teardown is a common service I perform for my clients; it is a detailed code review where I provide my suggestions and recommendations for improving the quality, readability, and performance of a […]

Categories
Records

20 The Event Lifecycle of a NetSuite Record

This week, we’re going to explore the event lifecycle of a NetSuite record. My intention is to give you a better idea of the triggers you have at your disposal during record manipulation. (23 minutes) You can find all the code for this example project in my Learn SuiteScript project repository: https://gitlab.com/stoicsoftware/learn-suitescript

Categories
Tutorial User Interface

19 How do I redirect to a Record with a specific Custom Form?

This week, we’re going to explore how to use SuiteScript to navigate to a specific Record with a specific Custom Form. You can find all the code for this example project in my Learn SuiteScript project repository: https://gitlab.com/stoicsoftware/learn-suitescript

Categories
Tutorial User Interface

18 How Do I Add Page Links to a Suitelet?

This week, we’re going to add one final enhancement to our Suitelet example by adding static, page-level links to our custom page. You can find all the code for this example project in my Learn SuiteScript project repository: https://gitlab.com/stoicsoftware/learn-suitescript

Categories
Records

6 Inline Editing in SuiteScript 2.0

NetSuite’s inline editing feature allows users to very quickly modify and update the data for a particular record without having to load the entire record on a page, edit the form, then save the record. NetSuite developers can also leverage inline editing via SuiteScript’s submitFields functionality. This feature is provided by the nlapiSubmitField function in […]

Categories
Troubleshooting

5 Logging in SuiteScript 2.0

Logging is an incredibly important tool in software development, and that’s no different in SuiteScript. We use logging to write messages to our Script’s Execution Log. These messages can help us track down errors, audit the execution path of the script, and trace through data values as the script progresses. In SuiteScript 1.0, we added […]

Categories
Sublists

4 Working with Sublists in SuiteScript 2.0

Earlier in the series, we looked at how the N/record module allows us to work with records and body fields. That same module allows us to work with sublists on those records. We’ll be demonstrating how the 1.0 sublist APIs have been converted in to 2.0 as well as some significant changes to the behaviour […]