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).
But its not working. It says invalid filter criteria.
Can some one suggest me to solve this issue or any other way to get 5000 records from the save search?
Thanks