workbook.ReportStyleRule
Object Description |
A rule for a report style. Use workbook.createReportStyleRule(options) to create this object. A report style rule object is used as a parameter in the workbook.createReportStyle(options) method. |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2021.2 |
Syntax
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. Also see Full scripts in the Tutorial: Creating a Workbook Using the Workbook API topic.
// Add additional code
...
// myReportStyleRule is a workbook.ReportStyleRule object
var myReportStyleRule = workbook.createReportStyleRule({
expression: myExpression, // previously created workbook.Expression object
style: myReportStyle // previously created workbook.Style object
});
...
// Add additional code