Hello everyone. I've written a user event script ...
# suitescript
e
Hello everyone. I've written a user event script to tweak a value in a generated PO from a sales order dropship item. I'm using the beforeSubmit entry point but it is not firing: beforeLoad (context=view) and afterSubmit (context=dropship) do fire. Not sure of the mechanics of how the PO is generated, but is the entry point not firing an example of user event chaining being disabled by Netsuite to avoid infinite looping? Is there a way to confirm this? Thanks.
b
user events dont trigger for everything
drop ships dint trigger the before submit
c
Tangentially related https://blog.prolecto.com/2022/04/02/netsuite-drop-ship-and-special-orders-userevent-behaviors/ I wish there were a source of documentation that outlined what triggers what events and what doesn't; a lot of this understanding comes from practice which means you'll likely have to learn the hard way.
1