SuiteScript 1.0 and SuiteScript 2.1 Differences

SuiteScript 1.0 functions and objects don't always map directly to SuiteScript 2.1 modules and methods. In some cases, JavaScript language features provide functionality that was previously available through SuiteScript 1.0.

For a list of SuiteScript 1.0 APIs that don't map directly to a SuiteScript 2.1 module, see SuiteScript 1.0 APIs Not Directly Mapped to a SuiteScript 2.1 Module.

SuiteScript 2.1 uses a modular architecture that changes how scripts are structured and how they interact with NetSuite. When you update a SuiteScript 1.0 script, consider both its structure and its API usage. The following topics describe these differences:

Related Topics

General Notices