scriptdeployment
This topic is part of the clientscript SDF custom object documentation.
For information about developing clientscript SDF custom objects, see Client Scripts as XML Definitions.
In addition to the fields listed in this topic, you can set a value for a custom field defined in the parent object.
Feature Dependencies
-
SERVERSIDESCRIPTING
Attributes
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
scriptid |
string |
Required |
This attribute value can be up to 40 characters long. The default value is ‘customdeploy’. |
Fields
Name |
Type |
Required / Optional |
Description |
---|---|---|---|
status |
single-select list |
Required |
For information about possible values, see script_status. The default value is 'TESTING'. |
recordtype |
single-select list |
Required |
This field accepts references to the following custom types: For information about other possible values, see the following lists: |
allemployees |
boolean |
Optional |
The default value is F. |
allpartners |
boolean |
Optional |
The default value is F. If this field appears in the SuiteCloud project, you must reference the CRM feature in the manifest file to avoid SuiteCloud project warnings. In the manifest file, you can specify whether this feature is required in your account. CRM must be enabled for this field to appear in your account. |
allroles |
boolean |
Optional |
The default value is F. If set to T, this field selects all internal roles. To select external roles, use the audslctrole field. |
auddepartment |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. If this field appears in the SuiteCloud project, you must reference the DEPARTMENTS feature in the manifest file to avoid SuiteCloud project warnings. In the manifest file, you can specify whether this feature is required in your account. DEPARTMENTS must be enabled for this field to appear in your account.
Note:
Account-specific values are not supported by SDF. |
audemployee |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol.
Note:
Account-specific values are not supported by SDF. |
audgroup |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol.
Note:
Account-specific values are not supported by SDF. |
audpartner |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. If this field appears in the SuiteCloud project, you must reference the CRM feature in the manifest file to avoid SuiteCloud project warnings. In the manifest file, you can specify whether this feature is required in your account. CRM must be enabled for this field to appear in your account.
Note:
Account-specific values are not supported by SDF. |
audslctrole |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. This field accepts references to the role custom type. For information about other possible values, see generic_role.
Note:
If allroles is set to T, all internal roles are included in the audience along with any external roles listed in this field. |
audsubsidiary |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. If this field appears in the SuiteCloud project, you must reference the SUBSIDIARIES feature in the manifest file to avoid SuiteCloud project warnings. In the manifest file, you can specify whether this feature is required in your account. SUBSIDIARIES must be enabled for this field to appear in your account.
Note:
Account-specific values are not supported by SDF. |
eventtype |
single-select list |
Optional |
For information about possible values, see script_eventtype. |
isdeployed |
boolean |
Optional |
The default value is T. |
loglevel |
single-select list |
Optional |
For information about possible values, see script_loglevel. The default value is 'DEBUG'. |
alllocalizationcontexts |
boolean |
Optional |
The default value is T. |
executioncontext |
multi-select list |
Optional |
You can specify multiple values by separating each value with a pipe (|) symbol. For information about possible values, see execution_context. |
localizationcontext |
multi-select list |
Optional |
You can filter your script to run based on the localization context of your users. For information about using localization context in NetSuite, see Record Localization Context. This field is available when the alllocalizationcontexts value is equal to F. You can specify multiple values by separating each value with a pipe (|) symbol. For information about possible values, see countries. |