Modules

filter

 

Objects/Functions

module (N/workbook)

SuiteScript 2.0

Workbook.runTablePaged(options)

{Workbook}.runTablePaged({id: {string*},pageSize: {number}})

N/workbook Module
Workbook.runTablePaged()
Method Description: Executes the table and returns paginated data (the same as in N/query Module).
Returns: query.PagedData
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Governance: 10 units
Module: N/workbook Module
Parent Object: workbook.Workbook
Sibling Object Members: Workbook Object Members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Workbook.runTablePaged(options)

Example:

// Code Example 1
// Add additional code
//...
var myWorkbook = workbook.load({
id: myWorkbookId,
});
var myPagedResultSet = myWorkbook.runTablePaged({
id: myTableId,
pageSize: 25
});
log.debug({
title: 'My Run Table Result Set: ',
details: myPagedResultSet
});
//...
// Add additional code

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