Which scripts run first?

If I have 3 separate files, each files is a user event and it’s calling the beforeSubmit.


How do I know which one runs first and how can I control the order it’s being called without combining it in one script.

Rookie Asked on August 11, 2023 in SuiteScript.
Add Comment
2 Answer(s)
  1. `Customization` > `Scripting` > `Scripted Records`
  2. Locate the Record Type you are interested in in the list > `Edit`
  3. The Scripts in the sublists run from top to bottom. Drag them around to the order you like.
  4. Save

NetSuite Scripted Records pageEditable list of User Events on the Scripted Records page

Beginner Answered on August 12, 2023.
Add Comment

Thank you Eric! This is exactly what I was looking for.

Rookie Answered on August 13, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor