workbook.createSortByDataDimensionItem(options)
The content in this help topic applies to SuiteScript 2.x.
Method Description |
Creates a sort based on data dimension items. |
Returns |
|
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Sibling Module Members |
|
Since |
2021.2 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
---|---|---|---|
|
workbook. |
required |
The data dimension items to sort by. |
|
workbook.Sort |
required |
The sort to use, which defines sort behavior such as whether to sort ascending or descending, whether the sort is case sensitive, and so on. |