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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
FOR loop and usage limit
I wonder if anyone can solve this little Netsuite mystery.
I'm developing a schedule script that cycle through a few sales order transactions doing some bits and pieces.
It works fine, taking about 5 seconds and using 160 units (this is with about 5 records).
One of things I now need to do is access each line on the sales order and extract the details of the items ordered. Obviously, this is the usual simple FOR loop we all know and love.
Except, I get the dreaded USAGE LIMIT EXCEEDED error.
So, I thought I do some testing to see what was using up all the units.
0