Modules

filter

 

Objects/Functions

module (N/workbook)

SuiteScript 2.0

PivotDefinition.dataset

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PivotDefinition.dataset for more information.

N/workbook Module
PivotDefinition.dataset
Property Description: The underlying dataset of the pivot definition.
Type: dataset.Dataset
Module: N/workbook Module
Parent Object: workbook.PivotDefinition
Sibling Object Members: PivotDefinition Object Members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=PivotDefinition.dataset

Example:

// Code Example 1
// Add additional code
//...
// View the PivotDefinition's dataset
var myWorkbook = workbook.load({
id: myWorkbookId
});

log.audit({
title: 'PivotDefinition dataset = ',
details: myWorkbook.pivotDefinitions[0].dataset
});
//...
// Add additional code

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