context.UserEventType
Enum Description |
Holds the string values for user event execution contexts. The beforeLoad, beforeSubmit, and afterSubmit entry points include the
Note:
JavaScript does not include an enumeration type. The SuiteScript 2.x documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value. |
Module |
|
Since |
Version 2015 Release 2 |
Values
Note:
There is no execution context for VOID actions. This is not a supported user event context. When a transation is voided, scripts that run on EDIT action may be triggered on a VOID action, and may not behave as expected for the VOID action. You should include conditional statements in scripts that will run in EDIT mode to filter out transactions where the memo field is Void or Voided and check for the voided field. See https://suiteanswers.custhelp.com/app/answers/detail/a_id/68789/loc/en_US for additional information. |
For an example of the context.UserEventType, see SuiteScript 2.x User Event Script Sample.
Attaching a child custom record to its parent or detaching a child custom record from its parent triggers an edit event.