Is there a way in suitescript to prevent other scr...
# suitescript
l
Is there a way in suitescript to prevent other scripts from being triggered? Something similar to unticking the Run Server Scripts and Workflows when doing a CSV import.
s
Maybe you can use record.submitFields() instead
the best solution is to involve all logic in to one script
a
Nothing similar to a checkbox on CSV import, no. You have to put conditional statements in your script to check for whatever it is that you don't want to execute on and then just return out of the script if the condition is met.
umm actually I think they did add execution contexts to the script or script deployment record, which is essentially just the same thing but doing it in the UI... and with less granular control...so I never made the switch to using that.