Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Category.root for more information.
N/workbook Module
Category.root
Property Description:
The root data (i.e., fields) that defines the category.
Type:
workbook.DataDimension | workbook.Section
Module:
N/workbook Module
Parent Object:
workbook.Category
Sibling Object Members:
Category Object Members
Since:
2020.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Category.root
Example:
// Code Example 1
// Add additional code
//...
// View Category.root in a ChartDefinition
var myWorkbook = workbook.load({
id: myWorkbookId
});
log.audit({
title: 'Category.root = ',
details: myWorkbook.chartDefinitions[0].category.root
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_159059796021.html