Move Your NetSuite Scripts to SuiteScript 2.1

NetSuite made SuiteScript 2.1 the standard in release 2026.2 and is phasing out SuiteScript 1.0, 2.0 and 2.x over multiple releases. From 2027.1, 1.0 gets end-of-life support for critical issues only, and in 2028.2 all scripts must use 2.1. FWC finds the scripts in your account that are not on 2.1, updates or retires each one, and tests it in a sandbox before release.[1]

Forward Within Consultancy (FWC) is an independent ERP and tech consultancy in Kuala Lumpur with Odoo and NetSuite experience. We bring 100+ scripts of migration experience since 2021, across client, user event, scheduled, Suitelet and RESTlet scripts.

What NetSuite announced

"SuiteScript 2.1 is now the standard scripting version for new and existing NetSuite customizations. NetSuite is phasing out SuiteScript 1.0, SuiteScript 2.0, and 2.x versions over multiple releases."[1]

Oracle, NetSuite 2026.2 Release Notes, SuiteScript

Oracle's guide to moving off 1.0 states the rule directly: "You must use SuiteScript 2.1 for all new and existing customizations."[2]

The SuiteScript 1.0 Documentation page says only that "this version is no longer updated".[3]

The SuiteScript 2.1 timeline

  1. Current release

    NetSuite 2026.2

    "SuiteScript 2.1 becomes the standard scripting model for new and existing scripts."

    Oracle, NetSuite 2026.2 Release Notes, SuiteScript

    Write every new script, and every change to an old one, in SuiteScript 2.1.

  2. Upcoming

    NetSuite 2027.1

    "SuiteScript 1.0 enters end-of-life support, covering critical issues only. Other problems will require you to convert the scripts to 2.1 first."

    Oracle, NetSuite 2026.2 Release Notes, SuiteScript
  3. Upcoming

    NetSuite 2028.1

    "SuiteScript 1.0 scripts can no longer be deployed in new accounts but remain deployable in pre-existing accounts. SuiteScript 2.0/2.x scripts run as SuiteScript 2.1 by default."

    Oracle, NetSuite 2026.2 Release Notes, SuiteScript

    Retest your 2.0 and 2.x scripts, and fix any compatibility issues found, before this release.

  4. Deadline

    NetSuite 2028.2

    "All new and existing scripts must use SuiteScript 2.1. Legacy script versions will no longer run."

    Oracle, NetSuite 2026.2 Release Notes, SuiteScript

    Support for legacy versions "is expected to be removed in NetSuite 2028.2".

    Oracle, Transitioning To SuiteScript 2.1

    Plan to have every script on 2.1 before this release.

Is your account affected?

Yes, if any script in it is not on SuiteScript 2.1. The phase-out covers 1.0 scripts and scripts tagged 2.0 or 2.x.[1]

  • Affected

    Scripts on SuiteScript 1.0

    Support covers critical issues only from 2027.1. Each script needs a rewrite to 2.1 before 2028.2.[1][2]

  • Affected

    Scripts on SuiteScript 2.0 or 2.x

    They run as 2.1 by default from 2028.1. Each one needs its version tag set to 2.1 and a retest, with a fix for any compatibility issue the test finds.[1][6][9]

  • Ready

    Scripts already on SuiteScript 2.1

    Keep new work on 2.1.[1]

  • FWC advice

    Scripts from a SuiteApp or bundle vendor

    We look for an alternative first. If there is none, we rebuild only the necessary parts where possible.

Three ways to find scripts that are not on 2.1

  1. 01

    Scripts list

    Go to Customization > Scripting > Scripts and set the API Version filter to a version other than 2.1, such as 1.0 or 2.0.

  2. 02

    Saved search

    Search script records where API Version is not 2.1, and show each script's name, ID, type and owner.

  3. 03

    SuiteAnalytics workbook

    Build a workbook on scripts with a filter that excludes API version 2.1.

All three come from Oracle's guide, Identifying Scripts That Are Not Using SuiteScript 2.1.[5]

Export the list and send it to us. We mark each script update, test first or retire.

Ask for a script review

SuiteScript 1.0 is a rewrite. 2.0 is a retest.

From SuiteScript 1.0

A rewrite

SuiteScript 2.1 organises code into modules, so a developer rebuilds each 1.0 script and tests it against the original.

  • Oracle says to "replace SuiteScript 1.0 global functions with the appropriate SuiteScript 2.1 modules".[2]
  • Some 1.0 functions have no "direct SuiteScript 2.1 equivalent", so those parts of a script need a new approach.[2]
  • Long scheduled jobs that pause and resume in 1.0 move to a different script type in 2.1.[8]

From SuiteScript 2.0 or 2.x

A retest, with fixes where needed

A developer sets the @NApiVersion tag to 2.1, retests each script and fixes any compatibility issues found during testing.

  • Oracle warns that "some SuiteScript 2.0 capabilities function differently" under 2.1.[6]
  • An account setting can run 2.0 and 2.x server scripts on 2.1 before anyone edits code, and you can turn it off again.[7]

Moving also opens features that need 2.1. NetSuite's scripting module for large language models, N/llm, is "only supported in SuiteScript 2.1".[9]

For your NetSuite admin

@NApiVersion 2.1
For 2.0 and 2.x files, Oracle's instruction is to "set the @NApiVersion JSDoc tag to 2.1". To trial first, account-level preferences run "2.0 and 2.x server scripts in the SuiteScript 2.1 runtime without changing the @NApiVersion JSDoc tag".[6][7]
N/ modules
SuiteScript 1.0 global functions become calls to N/ modules. Some 1.0 functions have no "direct SuiteScript 2.1 equivalent" and might need a different implementation.[2]
Sublist line numbers
In client scripts, "linenum starts at 1, while SuiteScript 2.1 line starts at 0". Recheck every loop and index over sublist lines.[10]
log and util
If 1.0 and 2.1 scripts run on the same record, "a SuiteScript 1.0 variable named log or util causes an error". Rename those variables before a mixed release.[11]
Map/Reduce
1.0 scheduled scripts that yield need a new structure. Oracle's guidance is "For work that needs yielding, use a Map/Reduce script."[8]
Scriptable Cart
"SuiteScript 2.1 client scripts are not currently supported in the Scriptable Cart." List any cart scripts early and plan them on their own.[12]
Graal runtime
2.1 server scripts run on the Graal engine, which "supports ECMAScript 2023".[12]
Script record file swap
Oracle's 2026.2 monthly release notes say you can "replace the script file on a SuiteScript 1.0 script record with a compatible SuiteScript 2.1 file". Check the record's deployments after each swap.[13]

How FWC moves your scripts to SuiteScript 2.1

  1. 01

    List every script not on 2.1

    Oracle's guide sets the API Version filter on the Scripts list to a version other than 2.1. A saved search or a SuiteAnalytics workbook gives the same list.[5]

  2. 02

    Decide to update, test first or retire

    Oracle gives three choices for each script: update it, test it on the 2.1 runtime first, or retire it if it is "inactive, obsolete, or duplicated". We also check whether a standard NetSuite feature now does the job, so the script can go.[4]

  3. 03

    Start with low-complexity scripts

    Oracle's advice on where to begin is "Start with low-complexity scripts."[14]

  4. 04

    Rewrite and improve, with a developer in the loop

    We rewrite 1.0 scripts and update the version tag on 2.0 and 2.x scripts. In the same pass, we fix any potential issues and bottlenecks you agree we should address. An AI tool drafts the conversion, and a developer stays in the loop on every draft. Oracle says all generated code must be reviewed before production.[14]

  5. 05

    Run old and new side by side in a sandbox

    We run the old script and the new one in a sandbox and compare their behaviour. Our NetSuite toolkit automates the testing before anything reaches production.

  6. 06

    Release in manageable groups

    Oracle's guide says to move the scripts "in manageable groups", not all at once.[4]

More than a line-by-line rewrite

Fix the workflow in the same pass

A script change is a good time to look at the workflow behind it. Some old scripts chain several workaround steps for a job that can be done more simply today, such as a long background task. We agree each change with you, then fix potential issues and bottlenecks in the same pass.

Client scripts get the most care

Client scripts are the hardest part, because they lean on custom helper scripts and undocumented UI libraries. Our own UI library looks almost the same as NetSuite's screens and runs anywhere. Where a 1.0 script used a fast-edit sublist behaviour that 2.x does not offer, we add a fallback for that use case, in case a NetSuite update breaks the fast-edit behaviour.

Old and new, tested side by side

We run the old script and the new one in a sandbox and compare their behaviour, unexpected behaviour included. Our NetSuite toolkit automates the testing, and we aim for as close to a 100% functional match as possible. Where we find a better solution, or a genuine bug nobody knew about, we raise it with you and change the script only once you agree.

Built to survive NetSuite updates

The code follows NetSuite's standard SuiteScript flow, each action is wrapped in our toolkit, and a third-party tool always has a native fallback. A change to an API the toolkit wraps can often be fixed in the toolkit rather than in every script. Some changes still need script edits and a retest. For scripts from a SuiteApp or bundle, we find an alternative or rebuild only the parts that are necessary.

35 scripts from SuiteScript 1.0 to 2.1

For a cosmetics company in China, which we keep anonymous, we moved 35 scripts from SuiteScript 1.0 to 2.1.

Hardest dependency
PDF generation
Testing
Manual runs, then a thorough pass over every potential data type
Sign-off
The client checked the basics in the sandbox and signed off that the requirements worked
Rollout
An immediate switch to the new scripts

Results

  • The slow scripts were fixed. Moving to asynchronous code cut the wait time from more than 20 seconds to 0.25 seconds.
  • We found and removed several bugs, some already causing problems and some that had not surfaced yet.
  • A new browser API removed a limitation the old workflow had.

Our biggest gains come from code that was very slow to begin with. Across our projects, the average speed gain is 15%.

Other SuiteScript work

Health and insurance services

We rewrote the heaviest SuiteScript reports to clear governance limits, then added the same event layer for finance and HR.

For what can go wrong in a migration, read the risks we plan for.

Every NetSuite service we offer is on NetSuite development and integrations in Malaysia.

Is the account slow, or are integrations failing as well? Start with the ERP Health Check, a two-day review of the live account that ends in a written report with defects ranked by risk.

For NetSuite consultancies

If your team has more SuiteScript 2.1 work than it can deliver before 2028.2, we can take a set batch of scripts off your list. We agree the scripts and the scope with you up front, migrate and test them as your subcontractor, and the client relationship stays with you.

Discuss a migration package

SuiteScript 2.1 questions

Is NetSuite deprecating SuiteScript 1.0?

NetSuite's 2026.2 release notes say it is phasing out SuiteScript 1.0, 2.0 and 2.x over multiple releases, and that 2.1 is now the standard for new and existing scripts. From release 2027.1, SuiteScript 1.0 gets end-of-life support for critical issues only.[1]

When does SuiteScript 1.0 support end?

Support covers critical issues only from release 2027.1. From 2028.1, SuiteScript 1.0 scripts cannot be deployed in new accounts but remain deployable in pre-existing accounts. For 2028.2, the release notes say legacy versions "will no longer run", and the Transitioning To SuiteScript 2.1 guide says support "is expected to be removed in NetSuite 2028.2".[1][4]

Are SuiteScript 2.0 and 2.x scripts affected?

Yes. From release 2028.1 they run as SuiteScript 2.1 by default, and from 2028.2 all scripts must use 2.1. A developer sets the @NApiVersion tag to 2.1 and retests each script, because some 2.0 capabilities function differently in 2.1, and fixes any compatibility issues the test finds. In our testing, 2.0 client scripts behave the same as 2.1, because both run in the user's browser. Server scripts differ much more. SuiteScript 2.0 runs on Mozilla Rhino, the JavaScript engine SuiteScript 1.0 also uses, and 2.1 runs on the newer GraalVM engine.[1][6][9][12]

How do I find the affected scripts?

In NetSuite, use the API Version filter on the Scripts list, a saved search on script records, or a SuiteAnalytics workbook. Each one lists the scripts whose API version is not 2.1.[5]

Can we just change the version number?

For 2.0 and 2.x scripts, a developer updates the version tag to 2.1, tests each script for compatibility and fixes any issue the test finds. For 1.0 scripts, no. Their global functions move to SuiteScript 2.1 modules, and some 1.0 functions have no direct 2.1 equivalent.[6][9][2]

Can AI convert our scripts to SuiteScript 2.1?

AI can draft the conversion. Oracle says its NetSuite SuiteScript Upgrade skill "helps you assess, convert, explain, and validate SuiteScript 1.0, 2.0, and 2.x scripts for SuiteScript 2.1". Oracle also says "you must review all generated code, object updates, and deployment changes before using them in production", and calls the skill's validation "a static migration check, not a substitute for functional testing". At FWC, a developer stays in the loop on every AI draft, and every script goes through sandbox testing.[14][15]

Does FWC take SuiteScript migrations as a subcontractor?

Yes. A NetSuite consultancy that needs extra delivery capacity can hand FWC an agreed batch of scripts to migrate and test, with the scope settled before work starts. The client relationship stays with the consultancy.

Discuss a migration package

How much does a SuiteScript 2.1 migration cost?

From your script list, FWC sets out the expected timeline, the scope of the changes and the phases, and quotes the migration by scope and complexity. The first 30-minute call is free.

Ask for a script review

Sources

  1. [1]NetSuite 2026.2 Release Notes, SuiteScript, Section "SuiteScript 2.1 is the Standard Scripting Version"https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3949604.html
  2. [2]Transitioning from SuiteScript 1.0 to SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0908090519.html
  3. [3]SuiteScript 1.0 Documentationhttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_7151939532.html
  4. [4]Transitioning To SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_7161922360.html
  5. [5]Identifying Scripts That Are Not Using SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0827101556.html
  6. [6]Transitioning from SuiteScript 2.0 to SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0826084435.html
  7. [7]Enabling SuiteScript 2.1 at the Account Levelhttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_157960966997.html
  8. [8]Processing and Installation Script Type Differenceshttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_51112557168.html
  9. [9]Differences Between SuiteScript 2.0 and SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_158755248128.html
  10. [10]UI and Record Script Type Differenceshttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_52112557168.html
  11. [11]SuiteScript 1.0 and SuiteScript 2.1 API and Language Differenceshttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_41144604971.html
  12. [12]SuiteScript 2.1https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_8161516336.html
  13. [13]September Monthly Release, NetSuite 2026.2https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_42174309908.html
  14. [14]Choosing A Migration Pathhttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0817042416.html
  15. [15]Updating Scripts Using the SuiteScript Agent Skillhttps://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0818030029.html

Send us your script list

Tell us how many scripts are on 1.0, 2.0 or 2.x and what they do. From that list we set out the expected timeline, the scope of the changes and the phases, and quote the migration by scope and complexity. The first 30-minute call is free.