Modules

filter

 

Objects/Functions

module (N/query)

SuiteScript 2.0

Condition.values

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

N/query Module
Condition.values
Property Description: An array of values used by an operator to create the condition. This property is set by passing in values for options.fieldId, options.operator and options.values during the execution of Query.createCondition(options) or Component.createCondition(options). This property is not applicable to parent conditions created with the execution of Query.and(conditions), Query.or(conditions), or Query.not(condition).
Type: string[] | number[] | boolean[] | Date[] | query.RelativeDate[] | query.Period (read-only)
Module: N/query Module
Parent Object: query.Condition
Sibling Object Members: Condition Object Members
Since: 2018.1
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Condition.values

Example:

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

var myCondition = myCustomerQuery.createCondition({
fieldId: 'firstname',
operator: query.Operator.ANY_OF,
values: ['Martin', 'Russell', 'Janina']
});

var theValues = myCondition.values;
//...
// Add additional code

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