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
Search Record Issue
I have a script that searches a saved search that has up to 15000 inventory items. I do one search which returns 1000 records. Then I do another search that returns another 1000 items but excludes the previous items which are kept in an array. When I try to do a third search, which would exclude the previous 2000 items, the script times out. Is there limit for a search? At times, the script doesn't time out, but most of the times, it does.
Is there a better way of doing this.
Part of my code is below.
// There are more filters
filters[2] = new nlobjSearchFilter( 'internalid', null, 'noneof', itemArray );
0