Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PivotDefinition.id for more information.
N/workbook Module
PivotDefinition.id
Property Description:
The ID of the pivot definition.
Type:
string
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.id
Example:
// Code Example 1
// Add additional code
//...
// View the PivotDefinition's id
var myWorkbook = workbook.load({
id: myWorkbookId
});
log.audit({
title: 'PivotDefinition id = ',
details: myWorkbook.pivotDefinitions[0].id
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_159066947985.html