Converting a SuiteScript 1.0 Script to a SuiteScript 2.1 Script

The general steps you take to convert a SuiteScript 1.0 script to a SuiteScript 2.1 script depend on whether you are converting an entry point script or a custom module script.

After you convert and upload a SuiteScript 2.1 script file, update the existing SuiteScript 1.0 script record to use the converted file. When you save the script record, NetSuite updates the SuiteScript API Version field to 2.1. The converted file must use the same script type as the existing script record.

Here are a few additional notes to consider when converting your scripts:

The Sample SuiteScript 1.0 to SuiteScript 2.1 Conversions help topic shows you side-by-side comparisons for SuiteScript 1.0 and SuiteScript 2.1 scripts for each script type and custom modules.

Related Topics

General Notices