Modules

filter

 

Objects/Functions

module (N/workbook)

SuiteScript 2.0

workbook.AspectType

workbook.AspectType.{|COLOR,VALUE|}

N/workbook Module
workbook.AspectType
Enum Description: Holds string values for aspect types. Used to pass the type value to workbook.createAspect(options).
Module: N/workbook Module
Sibling Module Members: N/workbook Module Members
Since: 2020.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=workbook.AspectType

Example:

// Code Example 1
// Add additional code
//...
var myColorAspect = workbook.createAspect({
type: workbook.AspectType.COLOR,
measure: myMeasure
});

var myValueAspect = workbook.createAspect({
type: workbook.AspectType.VALUE,
measure: myMeasure
});
//...
// Add additional code

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