Condition.values
The content in this help topic pertains to SuiteScript 2.0.
Property Description |
An array of values used by an operator to create the condition. This property is set by passing in values for
Note:
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 |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.1 |
Syntax
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 myCondition = myCustomerQuery.createCondition({ fieldId: 'firstname', operator: query.Operator.ANY_OF, values: ['Martin', 'Russell', 'Janina']
}); var theValues = myCondition.values;
...
// Add additional code