SuiteScript 2.1 JSDoc Tags
The following table describes the available SuiteScript 2.1 JSDoc tags. SuiteScript 2.1 entry point scripts must include the following two tags:
-
@NApiVersion -
@NScriptType
For more information about entry point validation, including possible errors, see SuiteScript 2.x Entry Point Script Validation.
|
JSDoc Tag |
Possible Values |
Required/ |
Description |
|---|---|---|---|
|
|
|
Required for entry point scripts Optional for custom modules |
This tag is used in two ways:
The |
|
|
|
Required for entry point scripts |
This tag identifies the type of script defined in the file. |
|
|
|
Optional |
This tag is used to control access to scripts and custom modules.
The default value is
Note:
If your script contains SuiteScript 2.1 syntax that includes classes and will be included in a bundle, the @NModuleScope JSDoc tag must be set to For more information on each of these values, see SuiteScript Module Scope and Access Control. |