SuiteScript 2.x Global Objects

Note:

The content in this help topic applies to SuiteScript 2.0 and SuiteScript 2.1.

SuiteScript 2.x includes the following global objects. You can use these objects in your scripts without loading them as dependencies.

Note:

In JavaScript, all functions are objects. The define Object and require Function topics discuss the define() and require() functions used by SuiteScript 2.x to load and define modules.

Note:

Also, to safely use the require object or the N/log and N/util modulesyou should specifically import those modules as dependencies of your scripts, especially in your SuiteScript 2.1 scripts.

Related Topics

SuiteScript 2.x
SuiteScript 2.x API Introduction
SuiteScript 1.0 to SuiteScript 2.x API Map
SuiteScript 2.x Script Types
SuiteScript 2.x Modules
SuiteScript 2.x Record Actions and Macros
SuiteScript 2.x JSDoc Validation
SuiteScript 2.x Entry Point Script Creation and Deployment
SuiteScript 2.x Custom Modules
SuiteScript 2.x Scripting Records and Subrecords
SuiteScript 2.x Custom Pages

General Notices