Modules
Objects/Functions
SuiteScript 2.0
{query}.listTables({workbookId: {string*}})
N/query Module
query.listTables()
Method Description:
Lists the table view objects that are included in a workbook in SuiteAnalytics Workbook.
This method returns an array of Objects. Each Object represents a table view and includes the following properties with associated values:
name — The name of the table view object
scriptId — The script ID of the table view object
Returns:
Array
Example:
// Code Example 1
// Add additional code
//...
var tables = query.listTables({
workbookId: 'custworkbook237'
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158289760700.html