Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

Query.type

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

N/query Module
Query.type
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
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Query.type

Example:

// Code Example 1
// Add additional code
//...
var myCustomerQuery = query.create({
type: query.Type.CUSTOMER
});

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

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