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
SuiteLet - Script Execution Time Exceeded
We are building an externally available suitelet that lets a customer view some custom records attached to their invoice. The script below works just fine, even with 1000 records being returned but as soon as I add a 4th column to the results (as seen by the commented code) the script exceeds the time alotted.
Experience =
3 columns with 1000 records = all good
4 columns with 5 records = time exceeded
4 columns with 0 records = time exceeded
Seems odd that simply adding a 4th column to a search (even if no records qualify for the search) would cause a timeout. Code is below. Any help is appreciated.
0