Modules

filter

 

Objects/Functions

module (N/search)

SuiteScript 2.0

PagedData.fetch.promise()

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PagedData.fetch.promise() for more information.

N/search Module
PagedData.fetch.promise()
Method Description: This method asynchronously retrieves the data bounded by the pageRange parameter. The parameters and errors thrown for this method are the same as those for PagedData.fetch(options). For more information on promises, see Promise Object.
Returns: Promise Object
Synchronous Version: PagedData.fetch(options)
Supported Script Types: All client-side scripts For more information see, SuiteScript 2.0 Client Script Type.
Governance: 5 units
Module: N/search Module
Since: 2016.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=PagedData.fetch.promise()

Example:

// Code Example 1
// Add additional code
//...
return pagedData.fetch.promise().then(processPage);
//...
// Add additional code

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