Hi does anyone know why suitelets and restlets tha...
# suitescript
s
Hi does anyone know why suitelets and restlets that create Sales Orders wouldn't trigger any user event scripts on Sales Order creation?
c
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
That's what I would have thought, Advanced Customer Service is telling us otherwise so thanks for confirming that
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
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
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
Thanks for the feedback all, I'm going to take another pass at the items mentioned here, hopefully it's that simple.