hey guys, on SS2.0 we have 34,000 records i want t...
# suitescript
t
hey guys, on SS2.0 we have 34,000 records i want to process a 1000 at a time. have this search but its failing on map/reduce:
Copy code
var resultSet = searchObj.run();
        if (resultSet) {
            var tempResults = resultSet.getRange({ start: 0, end: 1000 });
            results = results.concat(tempResults);
        }
        return results;