Hello, I have a User Event script that fires (afte...
# suitescript
s
Hello, I have a User Event script that fires (after submit) updating the value of a field to $0.00. I then have another User Event Script that's looking for changes to that same field (completely separate process), and then does a POST. The Suitelet "Man in the Middle" approach has been floated to handle this scenario. Before embarking down this path, are there newer/better alternatives to solve this use case that I might be missing? Thanks again.
c
As long as you're aware that of what you need to do to save a change in an
aftersubmit
b
user events dont trigger other user events
👆 1
usually you will want to write your code in a way that you can use a shared custom module to use in each script
s
Okay, AMD and then load in define([./custom_mod])