Guide
How to find every SuiteScript 1.0 and 2.0 script in your NetSuite account
Before you convert anything, you need the list: which active scripts still run on SuiteScript 1.0 or 2.0, and which of those you can actually change. Here are three ways to get it, from fully manual to automatic.
1. The Scripts list in NetSuite
Go to Customization > Scripting > Scripts. The list shows every script record with its type and API Version. Filter or sort by API version and export the list to a spreadsheet.
Two things this view does not tell you. It does not say whether a script has an active deployment, so check Customization > Scripting > Script Deployments as well. And it does not say whether your role can open the script file, which matters for scripts installed by bundles.
2. A SuiteQL query
If you have SuiteQL access, this query returns every active script that is not yet on 2.1:
SELECT s.id, s.name, s.scripttype, s.apiversion, s.scriptfile
FROM script s
WHERE s.isinactive = 'F'
AND s.apiversion <> '2.1'
ORDER BY s.apiversion, s.nameRun it from a SuiteQL tool or a small Suitelet. The scriptfile column is empty for scripts with no file in the File Cabinet, which usually means the source is not available to you.
3. An automated inventory
SuiteMigrate runs the same kind of read-only query from the NetSuite tab you already have open, then checks each legacy script’s source file under your role. The result is one list with every active 1.0 and 2.0 script marked Unlocked (you can read and convert it) or Locked (bundle-protected, restricted or missing). Nothing is written to NetSuite and no script code leaves the browser during the scan.
What to do with the list
- Retire scripts with no active deployment.
- Test 2.0 and 2.x scripts under the 2.1 runtime and change the annotation when they pass. See the errors to expect.
- Rewrite 1.0 scripts. The 1.0 to 2.1 function reference maps each nlapi call.
- Escalate locked bundle scripts to their vendor.
Frequently asked questions
Where do I see a script's API version in NetSuite?
Go to Customization > Scripting > Scripts. The API Version column shows 1.0, 2.0, 2.x or 2.1 for each script record. Add the column through Edit View if it is hidden.
Do inactive scripts need to be migrated?
No. Only scripts with active deployments run. Inactive scripts and scripts without deployments can usually be retired instead of converted.
What about scripts inside bundles or SuiteApps?
If the bundle locks its source, you cannot edit or convert those files. Ask the vendor for a SuiteScript 2.1-compatible release and track each one as a dependency in your plan.
Find what still needs converting
Get the list in one click
SuiteMigrate scans your account and labels every legacy script Unlocked or Locked. Unlimited scans are free.