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.
How can I increase the speed of my MR script that is performing multiple submitField functions?
Hi all,
Attached is the script I'm working on.
Our delivery routing software sends a webhook API call whenever a task in it is updated, I have a Suitelet that catches this webhook and saves it as a record with the JSON payload to be processed by this MR script every 15min to update information on the Sales Orders about who the driver is, what stop number on the delivery route it is, if it's ready to be released to WMS for wave picking.
At the moment, I'm running into a bottleneck because the webhook is sending up to 40 updates a minute and this script isn't able to process and save the Sales Orders as fast as these updates are coming in.
0