Column.component

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

N/query Module

Parent Object

query.Column

Sibling Object Members

Column 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 

          

Related Topics

General Notices