Hi does anyone know why suitelets and restlets that create Sales Orders wouldn't trigger any user event scripts on Sales Order creation?
c
creece
03/03/2022, 5:43 PM
The UE isn't deployed or its got some kind of context conditional that isn't firing what you want. They both fire UEs.
s
sshryock
03/03/2022, 6:04 PM
That's what I would have thought, Advanced Customer Service is telling us otherwise so thanks for confirming that
sshryock
03/03/2022, 6:11 PM
Is there a special context im missing for a creation via those scripts? the user events work in every other context on SO creation
b
battk
03/03/2022, 7:47 PM
the usual is making sure the script deployment is setup to include the suitelet context and has an audience that includes the user making the requests to the suitelet/restlet
s
Sandii
03/03/2022, 8:16 PM
And the script itself isn't specifically exiting in certain execution context or user event context, not sure if it is your UE or not.
s
sshryock
03/04/2022, 12:14 AM
Thanks for the feedback all, I'm going to take another pass at the items mentioned here, hopefully it's that simple.