is there a way to have a script ignore another scr...
# suitescript
p
is there a way to have a script ignore another script while it is running? Sort of like when you do an import / export you do not check on the run server suitescript and trigger workflow.
e
Some more context would be helpful, e.g. what script type(s) we're talking about
d
If you're trying to avoid firing event scripts with another script, you probably want to look at the "Context Filtering" list in the event script deployment.
p
Thanks. Both are client scripts. 1 script is adding items to a sales order based on a search. The other is affecting the exchange rate on items (add an additional percentage to the f/x rate).
s
You can only change the order or statically undeploy them.
b
the only suitescript mechanism to help you is ignoreFieldChange
if you control both scripts, you may be able to do something like use a global boolean to control when to return early in your entry points
p
Thanks for this.