Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
SuiteScript, is there a way that I can have submitFields() not trigger other record scripts?
Hey everyone,
Some of my scripts take quite a while longer to submitFields() to certain records than others, and I imagine that's because doing so also triggers other script and workflow validations that happen, is that right?
If so, is there a way in my script that performs the submitFields() to ignore these other customizations so that it can submit the data quicker?
Or is there another way to achieve what I'm asking for?
I think one option would be to edit all my other scripts to not trigger in certain contexts, but that will take a serious amount of investigation to understand how all scripts interact with each other and which ones I can truly and safely remove context filters from.
0