Column.component
Note:
The content in this help topic pertains to SuiteScript 2.0.
Property Description |
A reference to the query.Component object to which this query result column belongs. This property is set when Query.createColumn(options) or Component.createColumn(options) is executed. |
Type |
query.Component (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.1 |
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/query Module Script Samples.
// Add additional code
...
var myTransactionQuery = query.create({ type: query.Type.TRANSACTION
}); var myAmountColumn = myTransactionQuery.createColumn({ fieldId: 'amount'
}); var theComponent = myAmountColumn.component;
...
// Add additional code