Column Object Members in SuiteAnalytics for NetSuite
Column object members in SuiteAnalytics define dataset fields, enabling dynamic reporting and visualization customization.
TL;DR
The Column Object in SuiteAnalytics provides key members that encapsulate record fields in datasets, crucial for creating and managing analytics tailored for business insights.
What is the Column Object?
The Column Object encapsulates record fields within a dataset in SuiteAnalytics. Columns represent the fields utilized when constructing datasets for analysis and reporting. This functionality allows users to create complex workbooks that visualize data effectively.
Column Object Members
The following members are available for a dataset.Column object:
| Member Name | Type | Return Type / Value Type | Supported Script Types | Description |
|---|---|---|---|---|
Column.alias | string (read-only) | string | Server scripts | The alias of the column. |
Column.fieldId | string (read-only) | string | Server scripts | The ID of the record field associated with the column. |
Column.formula | string (read-only) | string | Server scripts | The formula of the column. |
Column.id | number (read-only) | number | Server scripts | The ID of the column. |
Column.join | dataset.Join (read-only) | dataset.Join | Server scripts | The join for the column. Used when the column is from a joined record. |
Column.label | string (read-only) | string | Server scripts | The label of the column. |
Column.type | string (read-only) | string | Server scripts | The return type of the formula. |
How to Create Column Objects
To implement this object effectively, use the dataset.createColumn(options) method. Here’s a brief script demonstrating how to create different types of columns:
1// Create a fieldId Column2var myFieldColumn = dataset.createColumn({3 fieldId: 'name',4 id: 75});6 7// Create a formula/type Column8var myFormulaColumn = dataset.createColumn({9 formula: '{email}',10 type: 'STRING',11 label: 'Formula'12});13 14// Create a join Column15var myJoinColumn = dataset.createColumn({16 fieldId: 'name',17 join: myJoin, // Create this using dataset.createJoin18 alias: 'my joined column'19});20 21// Load a dataset and view its Column (in the log)22var myDataset = dataset.load({23 id: 'stddataset_mydataset' // Replace with a valid ID value for your account24});25var myColumn = myDataset.Column[0];26 27log.audit({28 title: 'Column alias = ',29 details: myColumn.alias30});31log.audit({32 title: 'Column fieldId = ',33 details: myColumn.fieldId34});35log.audit({36 title: 'Column formula = ',37 details: myColumn.formula38});Who This Affects
This feature is particularly relevant for the following roles:
- Developers: Building and customizing datasets for analytics.
- Administrators: Managing data access and structure in SuiteAnalytics.
- Analysts: Creating visual representations and reports based on dataset queries.
Key Takeaways
- The Column Object provides essential properties for managing dataset fields in SuiteAnalytics.
- Each member of the Column Object is read-only and designed for server scripts.
- Datasets can utilize columns created through precise definitions using the
createColumnmethod.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
How do you create a formula column in SuiteAnalytics?
What is the purpose of the Column.alias member in a dataset.Column object?
Can the Column Object members be modified directly in SuiteAnalytics?
What script type supports the Column Object members in SuiteAnalytics?
Was this article helpful?
More in SuiteAnalytics
- Support for Consolidated Reports and SuiteQL Tool in
Discover support for consolidated reports and the new SuiteQL tool in NetSuite, enhancing reporting capabilities and metadata access.
- Artificial Intelligence Enhancements in NetSuite
Discover enhancements in Artificial Intelligence within NetSuite, including new insights and dashboard capabilities for improved analytics.
- Class, Department, Location Features in NetSuite 2026.1
Class, Department, and Location features enhance financial processes in NetSuite 2026.1 for improved insights and reporting.
- MCP Standard Tools Enhancements for NetSuite 2026.1
MCP Standard Tools enhancements for NetSuite 2026.1 improve reporting capabilities for multi-subsidiary organizations.
Advertising
Reach SuiteAnalytics Professionals
Put your product in front of NetSuite experts who work with SuiteAnalytics every day.
Sponsor This Category