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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Strategies for dealing with long running tasks
I have a script requirement that I am anticipating is going to take a long time to run and consume a significant amount of governance units.
I am wondering what the best approach to this is, and if there is any way to minimize processing time.
The task:
Allocate unique identifiers for each unit listed on a purchase order. The unique id is sourced from a custom record. The custom record is essentially a list of over 50,000 unique id entries. As an entry is taken the custom record it needs to be updated with the po # that it was allocated on.
0