Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

Page.next()

{Page}.next(){INVALID_PAGE_RANGE: {Invalid page range.}})

N/search Module
Page.next()
Method Description: Method used to fetch the next segment of data (bounded by search.PageRange). Moves the current page to next range.
Returns: Void
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Governance: 5 units
Module: N/search Module
Since: 2016.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Page.next()

Example:

// Code Example 1
//Add additional code
//...
while (!page.isFirst){
page = page.next();
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4486605324.html