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 |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
5 units |
Module |
|
Since |
2016.1 |
Errors
Error Code |
Message |
Thrown If |
---|---|---|
|
Invalid page range. |
The page range is invalid, or when the page is the last page. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/search Module Script Samples.
//Add additional code
...
while (!page.isFirst){
page = page.next();
...
//Add additional code