Is there a suitescript event I can hook into when ...
# suitescript
c
Is there a suitescript event I can hook into when the Fulfill button is pressed and is before the IF page redirect?
I don't see anything relevant in
runtime.ContextType
or
context.UserEventType
. You might have to check `oldRecord`/`newRecord`.
c
beforeSubmit
doesn't do it. I'm checking
beforeLoad
.
r
Could you deploy a script to the IF?
beforeLoad runs before the page loads, so that wouldn't be the trigger for fulfill. that would run on the IF when you get redirected tho.
if you add all the entry points with a simple log to both records, you'll have a good idea what's available.
c
The
onclick
methods immediately redirects to the IF page. I'm gonna have to modify the definition of what I'm doing.