Categories
Foundation Troubleshooting

27 Entry point scripts must implement one script type function

 This error seems to come up quite often, and many people have difficulty figuring out what it means, so let’s break it down.”entry point scripts”In NetSuite terminology, an “Entry Point Script” is the module you write that will be assigned as the source file on a Script record.If your module requires an @NScriptType tag, then […]

Categories
Foundation Records Tutorial User Interface

26 Third-Party Libraries in SuiteScript 2.x

Stop reinventing the wheel in your SuiteScript; stop re-solving problems that have already been solved. The JavaScript community is massive and super smart – so let them do a whole bunch of work for you by leveraging third-party libraries in SuiteScript 2.x.

Categories
Foundation Records Tutorial User Interface

25 Working with Subrecords in SuiteScript 2.0

Subrecords are one of the fundamental data structures in NetSuite, but they’re also one of the more confusing and troublesome. This video is intended to show you the fundamentals of working with Subrecords in SuiteScript 2.0.

Categories
Records Tutorial User Interface

24 How do I add a Button to a Record?

This is definitely a question I see A LOT! How do we add a button to a record form? We actually have a few options as SuiteScript developers, so let’s see how this works. Add Button via 2.0 Client Script (Edit only) SuiteScript 2.0 added a very simple way to add new buttons to forms, […]

Categories
Searches

Understanding Transaction Searches

A deep understanding of how Transaction searches function is crucial knowledge for every NetSuite developer, but the default behaviour of these searches, and controlling that behaviour, can be quite confusing initially. Let’s explore an example Transaction search where we define a filter for a single transaction’s internal ID: We’ve specified a filter to only show […]

Categories
Foundation

23 A Brief Overview of SuiteScript

NetSuite is a very large, complex ERP system that allows developers a massive level of customization through “SuiteScript”. NetSuite Records, Events, and Script Types NetSuite organizes its data into elements called Records. As these Records are created, manipulated, and updated by various sources, NetSuite fires Events. Some of those Events might be triggered by a […]

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