Internal ID |
Type |
nlapiSubmitField |
Label |
Required |
Help |
defaultfunction |
text |
false |
Function |
true |
This field is read-only. The box is checked because your entry point script returns this entry point. |
description |
textarea |
false |
Description |
false |
Description of this script or plug-in implementation. |
externalid |
text |
false |
ExternalId |
false |
|
isinactive |
checkbox |
false |
Inactive |
false |
Sets the current script or plug-in implementation to inactive.
When a script is set to inactive, all associated deployments of the script are also inactive. If you wish to inactivate a specific deployment rather than all deployments of this scripts, go to the Script Deployments page. |
name |
text |
false |
Name |
true |
The name for the script or plug-in implementation.
For scripts, since you may have multiple deployments of a single script, ensure that the name of the script is generic enough to be relevant for all deployments. For example, a single script may be applied to several different record types so it may not make sense to include the record type in the script name. |
notifyadmins |
checkbox |
false |
Notify All Admins |
false |
If enabled, NetSuite sends an email to all users with the Administrator role whenever an error is thrown. |
notifyemails |
emails |
false |
Notify Emails |
false |
A comma deliminated list of emails that error notifications should be sent to. |
notifygroup |
select |
false |
Notify Group |
false |
If enabled, NetSuite send an email to a predefined group whenever an error is thrown. Only existing groups are available in the Groups notification drop-down list. To define new groups, go to Lists > Relationships > Groups. |
notifyowner |
checkbox |
false |
Notify Script Owner |
false |
If enabled, NetSuite sends an email to the owner of the script whenever an error is thrown. |
notifyuser |
checkbox |
false |
Notify Current User |
false |
If enabled, NetSuite sends an email to the logged in user of the script whenever an error is thrown. |
owner |
select |
false |
Owner |
false |
Sets the owner of the script or plug-in implementation.
Default is the currently logged in user. Once a script or plug-in implementation is created, only the owner of the script can modify it. |
returnrecordtype |
select |
false |
List/Record |
false |
If List/Record is selected in the Type field, this is the custom list or list of records specified to use with this field. |
returntype |
select |
false |
Return Type |
false |
The script's return type. |
scriptfile |
select |
false |
Script File |
true |
Defines the JavaScript file that contains your desired scripts or plug-in implementation script file.
You must first upload the file in the SuiteScripts folder in the File Cabinet. To upload your file, click the New icon when in Edit mode. |
scriptid |
identifier |
false |
ID |
false |
If desired, enter a custom internal ID for the script record, script deployment, or plug-in implementation. If this field is left blank, a system-generated script ID will be created for you.
Whether creating a custom ID or accepting a system-generated ID, once the script record or plug-in implementation is saved, the system automatically prepends customscript to the ID. If a custom ID is created for a script deployment, customdeploy is appended to the front of the deployment ID. (For example, a custom script deployment ID called employeeupdates will be called customdeployemployeeupdates once the script record is saved.)
Custom IDs are recommended if you plan to bundle the script and deploy it into another NetSuite account. Custom IDs reduce the risk of naming conflicts when deployed into other accounts. Although not recommended, you can edit your custom ID once the record is saved. To do so, click the Change ID button on the Script Record, Script Deployment, or Plug-in Implementation pages.
Note: Custom IDs must be in lower case and contain no spaces. |
scripttype |
select |
false |
Type |
false |
Lists the type of SuiteScript (Suitelet, RESTlet, User Event, Scheduled, Map/Reduce, Client, Portlet, Mass Update, Workflow Action, Bundle Installation) or plug-in implementation.
Note: Client SuiteScripts in this context are record-level client scripts. These scripts must be deployed and you must specify the record(s) they will run against. |