Query.type

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

The initial query type of the query definition.

This property is set during the execution of query.create(options).

Type

string (read-only)

Module

N/query Module

Parent Object

query.Query

Sibling Object Members

Query 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

query.Query
N/query Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices