Component.type

Property Description

The query type of this component.

This property is set during the execution of Query.autoJoin(options) and Component.autoJoin(options).

Type

string (read-only)

Module

N/query Module

Parent Object

query.Component

Sibling Object Members

Component 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 myCustomerQuery = query.create({
        type: query.Type.CUSTOMER
    });
        var theType = myCustomerQuery.type;
...
// Add additional code 

          

Related Topics

General Notices