Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Column.label for more information.
N/query Module
Column.label
Property Description:
The label for the column.
A label is important if the query object is used as the data source for printing (for example, in the TemplateRenderer.addQuery(options) method in the N/render module).
Type:
string (read-only)
Module:
N/query Module
Parent Object:
query.Column
Sibling Object Members:
Column Object Members
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Column.label
Example:
// Code Example 1
// Add additional code
//...
var myCustomerQuery = query.create({
type: query.Type.CUSTOMER
});
var myLabelColumn = myCustomerQuery.createColumn({
fieldId: 'currency',
label: 'Dollars'
});
var theLabel = myLabelColumn.label;
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_158291894456.html