Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PagedData.pageSize for more information.
N/search Module
PagedData.pageSize
Property Description:
Maximum number of entries per page
Possible values are 5 - 1000 entries per page.
Type:
number
This property is read-only.
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Module:
N/search Module
Since:
2016.1
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=PagedData.pageSize
Example:
// Code Example 1
// Add additional code
//...
var mySearch = search.create({
type: search.Type.CUSTOMER,
columns: [
'entityid',
'email'
]
});
var myPagedResults = mySearch.runPaged({
pageSize: 10
});
// In this example, the value of myPagedResults.pageSize is 10
var thePageSize = myPagedResults.pageSize;
// Use PagedData.fetch(options) to retrieve a page of results (as a
// search.Page object) by index
var theData = myPagedResults.fetch({
index: 5
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4486608636.html