Userevnt ScriptContext.type || context.UserEventType

Enum Description: Holds the string values for user event execution contexts. The beforeLoad, beforeSubmit, and afterSubmit entry points include the context.type parameter that takes on one of the enum values. 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… Continue reading Userevnt ScriptContext.type || context.UserEventType