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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Getting 5000 records in search?
We have a save search which shows 5000 invoice records. We want to manipulate it in one shot. But when searched, netsuite returns 1000 records always.
I am trying to add a filter to get records greater than certain no(internal id) in this case. Here is the code
var filters = new Array();
filters[0] = new nlobjSearchFilter('internalid', null, 'greaterthan', invoiceId);
where invoiceId = internal id of invoice record
Very first time invoiceId = 0. So when searched, it returns 1st 1000 records. Then in 2nd search i am expecting it should return 1000 records where internal id greater than certain no(last record's internal id after 1st search).
0