NetSuite / 5 min read
SuiteScript 2.1 Migration: What the 2028.2 Deadline Means for Your NetSuite Scripts
Dilshad Ali / November 2, 2026

Oracle is retiring the older versions of SuiteScript, the JavaScript that powers most NetSuite customizations. By NetSuite 2028.2, every script in every account is expected to run on SuiteScript 2.1. If your account has scripts written in SuiteScript 1.0, or annotated as 2.0 or 2.x, they are affected. Most accounts that have been live for a few years have at least some.
The deadline is not tomorrow, but the work is real, and the closer it gets the harder it will be to find people to do it. Here is what changes, which scripts need attention, and how to plan the move.
The timeline
Oracle has published a phased timeline in its Transitioning to SuiteScript 2.1 guide:
- 2026.2. SuiteScript 2.1 becomes the standard scripting model for new and existing scripts.
- 2027.1. SuiteScript 1.0 enters end of life support. Oracle addresses critical issues only, and other problems require converting the script to 2.1 first.
- 2028.1. SuiteScript 1.0 scripts can no longer be deployed in new accounts. Scripts annotated as 2.0 or 2.x run as SuiteScript 2.1 by default.
- 2028.2. All new and existing scripts must use SuiteScript 2.1.
Oracle describes the final removal as expected in 2028.2, so the date could move. Plan for it anyway. The 2028.1 change is the one that catches people out: 2.0 scripts start running on the 2.1 engine before anyone has touched them.
Which scripts are affected, and how much work each needs
SuiteScript 1.0 scripts need a rewrite. They use the older global nlapi functions rather than the modular N/ APIs that 2.0 and 2.1 share. Converting one is not a find and replace. The logic has to be rebuilt in the newer structure and tested as new code.
SuiteScript 2.0 and 2.x scripts usually need an annotation change and testing. SuiteScript 2.1 runs on a different engine, and Oracle documents areas where the same code behaves differently, including strict mode, parsing of invalid JSON, reserved words used as names, date formatting, parseInt, error object properties, and what RESTlets return. Most scripts pass untouched. The ones that do not tend to fail quietly, which is why testing matters more than the edit itself.
Give extra attention to RESTlets. They are called by other systems, such as an ecommerce site, a warehouse system or a payment tool, so a small change in what a RESTlet returns can break an integration that nobody inside NetSuite is watching.
A practical migration plan
- Build the inventory. List every script record, filter by version, and note its deployments, whether it is active, and which process it supports.
- Retire what nobody uses. Most older accounts carry scripts left over from past projects. Undeploying an unused script costs far less than converting it.
- Rank by business risk. Order to cash, billing, integrations and month end close come first. A script that formats a rarely used report can wait.
- Convert and test in a sandbox. Run real scenarios end to end, and test the outside systems that call your RESTlets, not just the script itself.
- Release in batches. Move scripts to production in small groups, away from month end close, with a quick way to roll back.
- Check third party scripts. Ask the vendor of every SuiteApp or bundle you installed for their 2.1 plan and date.
Running this before 2028.1 lets you test 2.0 scripts on the 2.1 engine on your schedule, rather than discovering differences when NetSuite switches the default for you.
Why not wait
From 2027.1, Oracle no longer fixes non critical problems in SuiteScript 1.0 scripts until they are converted, so an old script that breaks becomes an urgent rewrite. Waiting also means competing with every other NetSuite customer for developers in 2028.
There is an upside too. SuiteScript 2.1 supports modern JavaScript features that 2.0 does not, and some newer NetSuite modules, including the N/llm module for generative AI, are available only in 2.1. A migration is a good moment to remove dead code and document what every script does, which makes the next NetSuite release easier to test. Our guide to NetSuite implementation timelines and costs covers release testing, and how to choose a NetSuite consultant covers why less custom code is usually better. Our SuiteScript work is described on the NetSuite services page.
Key takeaways
- Oracle expects every NetSuite script to run on SuiteScript 2.1 by 2028.2
- SuiteScript 1.0 scripts need a rewrite; 2.0 scripts usually need an annotation change and testing
- Start with an inventory and retire unused scripts before converting anything
- Test RESTlets together with the systems that call them
Common Questions
When does SuiteScript 1.0 stop working?
SuiteScript 1.0 enters end of life support in NetSuite 2027.1, when Oracle addresses critical issues only. Oracle expects to remove support for SuiteScript 1.0, 2.0 and the 2.0 and 2.x annotations in NetSuite 2028.2, when every script must use SuiteScript 2.1.
Do SuiteScript 2.0 scripts need a rewrite?
Usually not. Most need the version annotation changed to 2.1 and careful testing, because SuiteScript 2.1 runs on a different engine and some code behaves differently. SuiteScript 1.0 scripts are another matter: they use the older nlapi functions and need to be rewritten.
How do we find which scripts need migration?
In NetSuite, review your script records and filter them by SuiteScript version. Then check each one for active deployments and the business process it supports, so you can retire unused scripts instead of converting them.
What about scripts in SuiteApps or bundles we installed?
Ask each vendor for their SuiteScript 2.1 plan and a date. Scripts you did not write are still your risk if the process they support stops working after an upgrade.
