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!
Server Script Timeouts
Hi all,
I have a scheduled script that timeouts since it takes more than 10 minutes to operate.
The script goes through each opportunity in a list and then does a lookup on a client list based on its client number. It then performs a calculation for each opportunity.
I am now getting this timeout error due to the fact that we the opportunity list has increased. It looks like it is timing out after the scripts goes and executes the search for the client list.
Is there anyway of optimizing my code to prevent this timeout from occurring? Please refer to my code below.
0