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.
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