How to list all script deployments in NetSuite
Before a release or while debugging, you need to know which scripts are deployed, where they run, and which ones are still in Testing or logging at Debug level.
Option 1: The Script Deployments list
- Customization → Scripting → Script Deployments.
- Use the filters for Type, Status (Released, Testing, Not Scheduled…) and Deployed.
- Click Edit View to add columns such as Applies To (record type), Log Level and Execute As Role.
Option 2: A saved search
Create a saved search of type Script Deployment. Add criteria such as Status = Testing or Log Level = Debug to find deployments to clean up before go-live, and add Script fields (for example API version) in the results.
Option 3: SuiteQL
SELECT d.scriptid, BUILTIN.DF(d.script) AS script, d.status, d.loglevel, d.isdeployed FROM scriptdeployment d ORDER BY d.status
Column names can differ by account and release; check Setup → Records Catalog.
Which scripts run on this record?
Customization → Scripting → Scripted Records shows, per record type, the user event and client scripts and their order. Workflows are listed separately under Customization → Workflow.
One list with warnings (SuiteLens)
- Click the SuiteLens button and open Deployments: every script deployment with Released or Testing status, log level, record type and warnings.
- On a record, the This record tab shows the scripts and workflows that run on that record type and the order they fire in.