Section.totalLine

Note:

The content in this help topic applies to SuiteScript 2.x.

Property Description

The format for the total line on a section.

Type

workbook.TotalLine

Module

N/workbook Module

Parent Object

workbook.Section

Sibling Object Members

Section Object Members

Since

2020.2

Errors

Error Code

Thrown If

INVALID_TOTAL_LINE

The value for this property is invalid. Set the value for this parameter using workbook.TotalLine.

WRONG_PARAMETER_TYPE

The value specified for this property is not a workbook.TotalLine.

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples.

            // Add additional code
...
var mySection = workbook.createSection({
    children: [myDataDimension, myMeasure],
    totalLine: workbook.TotalLine.HIDDEN
});

var theTotalLine = mySection.totalLine;
...
// Add additional code 

          

Related Topics

workbook.Section
N/workbook Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices