scriptdeployment

This topic is part of the usereventscript SDF custom object documentation.

For information about developing usereventscript SDF custom objects, see User Event 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.

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.

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'.

runasrole

single-select list

Optional

This field accepts references to the role custom type.

For information about other possible values, see generic_role.

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.

General Notices