SuiteScript 2.x User Event Script Reference

User event scripts run during beforeLoad, beforeSubmit, and afterSubmit operations. To learn how each one works, see How User Event Scripts are Executed.

To learn how to write a basic user event script, check out the SuiteScript 2.x User Event Script Tutorial. In it, you’ll create a script that adds a new employee record, updates fields, and creates a task.

For tips, see the User Event Script Best Practices section in the SuiteScript Developer Guide.

General Notices