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