Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

SuiteQL.type

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=SuiteQL.type for more information.

N/query Module
SuiteQL.type
Property Description: The type of the query. This property uses values from the query.Type enum. When you use Query.toSuiteQL() to convert an existing query.Query object to SuiteQL, this property contains the same type that was specified for the original query.
Type: string (read-only)
Module: N/query Module
Parent Object: query.SuiteQL
Sibling Object Members: SuiteQL Object Members
Since: 2020.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=SuiteQL.type

Example:

// Code Example 1
// Add additional code
//...
// myQuery is an existing query.Query object
var mySuiteQLQuery = myQuery.toSuiteQL();

var theType = mySuiteQLQuery.type;
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_157960456167.html