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.
UE Script Execution Order?
I have a script that executes on Before Submit of an invoice record. The invoice record also has 3 other UE scripts that also execute on before submit. I don't want my script to execute if any of the preceding scripts throw an error or fail, so I've re-ordered the scripts (under the scripted record page) so that my script will execute last.
My problem is that even though the preceding scripts throw an error that doesn't allow the invoice to be saved, my script is still executing. Shouldn't a SS error in a preceding script prevent execution of my script? I thought the scripts were executed in the order I specified, but it seems like they are executing in parallel.
0