RE: How to get over 1000 records from a SuiteScript Saved Search?

Hi all,

How to get over 1000 records from a SuiteScript Saved Search?

 

Could you please help me, someone.

samallasravan564 Rookie Asked on April 15, 2020 in SuiteScript.
Add Comment
1 Answers

N/search has examples for the primary methods of getting search results. Use ResultSet.getRange multiple times to get ranges of search results(each range can have upto 1000 results). Use ResultSet.each to run an iterator function on the first 4000 search results. A paged search is similar to ResultSet.getRange, but makes it easier to divide up the search results into pages.

SuiteScript 1 has equivalents to the ResultSet related options in a nlobjSearchResultSet.

Intermediate Answered on April 15, 2020.

Thanks for your response.

on April 15, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.