SuiteScript 2.x Global Objects

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 define() and require() 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 modules, you should specifically import those modules as dependencies of your scripts, especially in your SuiteScript 2.1 scripts.

Related Topics

General Notices