Modules
Objects/Functions
SuiteScript 2.0
{Page}.prev(){INVALID_PAGE_RANGE: {Invalid page range.}})
N/search Module
Page.prev()
Method Description:
Method used to fetch the previous segment of data (bounded by search.PageRange).
Moves the current page to previous 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.prev()
Example:
// Code Example 1
//Add additional code
//...
while (!page.isLast){
page = page.prev();
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4486606245.html