Contact Us

SuiteScript 2.1 Is Coming: How to Prepare Your NetSuite Environment

SuiteScript 2.1 Is Coming: How to Prepare Your NetSuite Environment

Michael Mueller talks with Anchor Group CEO Jacob Terneus about NetSuite’s move to SuiteScript 2.1 and what it means for the scripts your business already relies on. They explain who should check their account, what makes some migrations harder than others, and where AI can help without replacing developer review.

Check which versions your account uses

SuiteScript is the JavaScript that runs custom logic in NetSuite, from creating records to running searches. As NetSuite phases out older versions, Jacob recommends that every admin check which versions are in use. Newer accounts may already be on 2.1, but checking is more reliable than assuming based on when NetSuite was implemented.

Moving from 1.0 takes more than changing a version number

A move from 2.0 to 2.1 is often more straightforward than migrating from 1.0. In 1.0, functions for tasks like searching or editing records were available without loading separate modules. In the 2.x family, developers load the modules they need. That means rewriting parts of a 1.0 script and testing that it still does the same job.

Use AI to assist, not to sign off

Jacob draws a distinction between a script that sends a low-stakes email and one that handles invoicing. AI can speed up parts of the work, but for anything the business depends on, a developer should understand the changes, review the code, and test the results.

Figure out what old scripts do before rewriting them

The hardest script to migrate may be the one nobody remembers writing. Before rewriting it, find out what it does, whether anyone still relies on it, and what a successful test would look like. That work can take longer than the code changes themselves.

Bottom line

Start by checking which scripts still use older versions, then identify the ones that keep critical processes running. Knowing what those scripts do and how you’ll test them gives you a better estimate of the work and lowers the risk of disrupting day-to-day operations.

Listen to the full episode for Jacob’s breakdown, or reach out to Anchor Group if you need help scoping your migration.

Listen to the full episode:

🎧 Anchor Group Podcast on Spotify

🎥 Anchor Group Podcast on YouTube

Follow Us On LinkedIn!


Podcast transcript:

Michael (00:00)
Everybody, thank you for tuning in to this episode of the Anchor Group podcast. My name is Michael, and with me today is Jacob, the CEO of Anchor Group. Today we're going to be talking about SuiteScript. Now, SuiteScript has been around for a very long time. If you've been in the NetSuite environment, you probably understand what this is. But recently, NetSuite has come out and said that they're going to be moving all SuiteScript to version 2.1 or newer here in the upcoming years.

What that means for your business is if you have older SuiteScript, you'll need to make those updates before they cut off access to the old versions. That lift is going to depend on the type of NetSuite environment you have and how much you're relying on it today.

So Jacob's going to be joining us today to talk about what migrating NetSuite SuiteScript could look like for your company.

Hey Jacob, thank you for joining us on this episode of the podcast. I know you know a lot about SuiteScript, and more specifically about the migration to SuiteScript 2.0 and 2.1. For anybody who's been seeing that in their NetSuite environment, could you give a 30,000-foot view? What is this and what does this mean?

Jacob (01:48)
Sure thing, Michael. SuiteScript in general is a type of code that runs in your NetSuite account. When you interact with the database in the user interface, the UI, there are often buttons you use to create a sales order or edit a customer record, something like that. That's one way of editing the database, like adding a new customer. Another way of editing or reading the database is to skip all that UI stuff and just use code calls. You're using JavaScript code to tell the database, “Hey, add a new customer, and this is the customer's name,” or “Give me a list of all the customers,” that kind of thing.

So NetSuite's very flexible. It's cool that it allows us to run code, and the umbrella name for that code you can run in the account is SuiteScript. SuiteScript is JavaScript, which is a coding language, and it has its own set of functions. You can manipulate data, for example. There's a custom set of functions that NetSuite has provided to us, and those are the SuiteScript modules.

They've released those in several versions. The first version is SuiteScript 1.0, and then the second family of standards or versions is the 2.0 family. So far we've seen 2.0 and 2.1. 2.1 is the most recent. NetSuite has given us a heads-up that, coming in 2028, they're not going to support all those functions from 1.0 or even 2.0. So if you want code that you have running in your account to keep creating customers or doing whatever it does, you've got to get all the scripts to follow the standards in 2.1.

Michael (03:49)
That's a great explanation of what's going on. Jacob, I know Anchor Group's been a company for quite a few years now. In your estimation, is this going to impact everybody that has NetSuite or just a portion of them? Who should be worried or have this on their radar?

Jacob (04:08)
Anyone who's an admin for a NetSuite account should at least check. If you just implemented NetSuite in 2026, it's unlikely that you have any SuiteScript 1.0 or even 2.0 scripts in your account. Probably, at least if your developers are paying attention, they're using 2.1 for everything. So you might look and be like, “We're covered.”

If, say, you implemented it in 2024 or something like that, it's pretty likely that the worst you'd have to worry about is a 2.0 to 2.1 migration, which is a relatively easy transition in most cases. If you have a legacy system that's been around for, say, 10 or 15 years, you probably have some of that old 1.0 code in there. That just means the level of effort to do the migration is something you want to evaluate earlier so you can make sure you have the time and resources to accomplish it.

Michael (05:07)
On that point of level of effort, what's the expected level of effort when you're migrating to version 2.1? Are there any assumptions or an estimate that would be appropriate for people to think about, whether they want to take this on themselves or work with a NetSuite partner?

Jacob (05:32)
It depends a lot on which one you're migrating from. If you're coming from the 1.0 family, the level of effort isn't huge, I would say. The kind of work you're doing, in developer speech, is refactoring. You're taking code that accomplishes a task and rewriting it so that it looks different but still accomplishes the same task.

To dig into that a little more, in the 1.0 family, they didn't have much in the way of separate modules. If you load a code file, NetSuite makes all the functions available to you for running searches, creating records, editing records, that kind of thing. You don't have to load the specific modules.

That's a big shift we see in the 2.0 family. If you want to run a search, you have to load the N/search module because you're dealing with searches. It's an improvement, but it does mean that now we have to declare the functions we're going to call. So the actual lines of code will look different. The function names we're relying on will look different after the migration.

The person who should be doing that work is a competent JavaScript developer, ideally someone who knows both families of SuiteScript and can recognize, “This is the old way, this is nlapiSearchRecord, and I know what that means in the new family.” Generally, it's more elegant, and it's an improvement to have it in the 2.0 family.

So you need a real developer to do that, basically. It's not recommended that you do it on your own. The risk goes up. You also need to do more robust testing because you're doing real refactoring, which means you might accidentally break stuff.

Michael (07:39)
Jacob, what are your thoughts on having AI update your SuiteScript to 2.1? Encouraged, not encouraged? What are your thoughts on that?

Jacob (07:49)
It's going to depend on the importance of the stability of the process or the automation. If this is code that your business doesn't depend on very much, that's your call. Most of our clients came to us in the first place because they know it's important that their invoices go up every time and that the numbers on those invoices are right every time. It's really a problem if that's not true.

The official recommendation has to be that you have a real developer look at it, even if they're AI-assisted. Good developers will sometimes do that to speed certain things up, but they still have to look at it, understand it, review that code, and do thorough QA.

That would be the official recommendation, and just the right thing to do for anything your business really depends on. If it's a one-off thing and all it does is send an email to Bob in accounting, and it's not really an important email, that's your choice.

Michael (09:01)
I'd imagine there needs to be some change management involved. Based on what you've described, it sounds like the way people have been writing code in the past is going to change with this newest version. What recommendations do you have for a company around change management?

Jacob (09:21)
SuiteScript 2.1 has been out for a while. Anyone who's writing code in NetSuite should be using that whenever possible. The change management, if I understand the question right, is around taking legacy stuff that's going to stop working because NetSuite's going to turn off the switch. They want everybody to be on the new version, which will improve performance and things like that on scripts.

I think the biggest challenge companies will probably face is if they look at a script that was written 12 years ago and that guy's no longer at the company or has no recollection of what it is and what it's supposed to do. Now you have a few questions that are hard to answer. What is this even supposed to do? Is it important? Or is it doing something that we don't even care about? We just never got rid of the crud.

After you figure those out, when you're doing the migration, the refactoring, you have to try to test the thing that you don't understand very well. That's where the effort could potentially multiply. That's just the nature of software debt if things weren't documented.

Michael (10:34)
Understood. Well, everybody, if you've been wondering what that banner is towards the top of your NetSuite environment, hopefully this explanation of the SuiteScript migration has been helpful. I think what we've learned today is that depending on the type of company you are, how your NetSuite environment is set up, or how long it's been set up for, the level of effort for updating and migrating to the newest version is going to be a little bit different.

If you want help understanding what that level of effort is going to be, or if your team just doesn't have the bandwidth to take it on right now, by all means, feel free to reach out to us here at Anchor Group. We've got a team of developers who are very comfortable with these various versions of SuiteScript, and we'd be able to help you out. You can reach out to us at our website or directly on LinkedIn.

Jacob, thank you for hopping on today's podcast. We really appreciate it. Looking forward to having you on in the future so we can continue to share our knowledge about NetSuite with everybody.

Jacob (11:39)
Thanks, Michael. You do a great job.

Michael (11:42)
All right, everybody, thank you for tuning into this episode. Keep on chasing greatness, and we'll see you in the next episode.

Oracle NetSuite Alliance Partner, BigCommerce Certified Partner

As both a BigCommerce Certified Partner and an Oracle NetSuite Alliance Partner, Anchor Group is ready to handle BigCommerce and NetSuite projects alike! Whether you already have one platform and are looking to integrate the other, are considering a full-scale implementation of both platforms, or simply need support with ongoing customizations, our team is ready to help answer any questions you might have! Get in touch!