eventsubscriber
This topic provides information about the available fields and attributes for the XML definition of eventsubscriber SDF custom objects. An eventsubscriber object defines an Event Subscriber script and the events that trigger it.
For information about developing Event Subscriber scripts, see SuiteScript 2.1 Event Subscriber Script Type.
Feature Dependencies
-
SERVERSIDESCRIPTING
Attributes
|
Name |
Type |
Required / Optional |
Description |
|---|---|---|---|
|
scriptid |
string |
Required |
The script ID for the Event Subscriber script. This attribute value can be up to 27 characters long. The default value is 'custevsub'. |
Fields
|
Name |
Type |
Required / Optional |
Description |
|---|---|---|---|
|
scriptfilepath |
filereference |
Required |
Location of the Event Subscriber script file. This field must reference a |
Structured Fields
Structured fields are elements that usually contain subfields or groups of fields. They are similar to regular fields but have their own embedded structure. The following structured fields are supported: