Kristopher Wood
11/22/2024, 5:35 AMfilters:
[
["custrecord_item_combo","is","6245","6252","6375"]
]
Marvin
11/22/2024, 7:45 AMLuiz Morais
11/22/2024, 9:28 AMMarvin
11/22/2024, 9:34 AMerictgrubaugh
11/22/2024, 3:45 PMis
is only for Checkboxes and Text fields. For (Multi)Select fields, you use anyof
or noneof
. Reference: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_4094344956.html
I also prefer to use the Operator
enumeration, but I vastly prefer the Array syntax for Filters.erictgrubaugh
11/22/2024, 3:47 PManyof
expects multiple values to be in an Array
['custrecord_x', search.Operator.ANYOF, [6245, 6252, 6375]]
Kristopher Wood
11/22/2024, 4:36 PMKristopher Wood
11/22/2024, 4:38 PMKristopher Wood
11/22/2024, 4:39 PMKristopher Wood
11/22/2024, 4:49 PMerictgrubaugh
11/22/2024, 4:59 PMallof
operator instead.erictgrubaugh
11/22/2024, 5:00 PMKristopher Wood
11/22/2024, 5:00 PMerictgrubaugh
11/22/2024, 5:00 PMKristopher Wood
11/22/2024, 5:01 PMerictgrubaugh
11/22/2024, 5:02 PMerictgrubaugh
11/22/2024, 5:21 PMallof [a,b,c]
will still catch [a,b,c,d]
Kristopher Wood
11/22/2024, 5:21 PMerictgrubaugh
11/22/2024, 5:22 PMis
behaves the sameerictgrubaugh
11/22/2024, 5:22 PMKristopher Wood
11/22/2024, 5:22 PMKristopher Wood
11/22/2024, 5:23 PMerictgrubaugh
11/22/2024, 5:52 PMallof
containing the values you do want to match
2. A noneof
containing the values you do not want to match
Not really feasible if your value space is large - as I imagine is your case here - but it works for something like a small custom list.erictgrubaugh
11/22/2024, 5:53 PM2, 3, 4
selected, and one record that has 3, 4
selected.erictgrubaugh
11/22/2024, 5:53 PM125
and 305
that get logged are the record internal IDs)Marvin
11/25/2024, 2:40 PMMarvin
11/25/2024, 2:59 PMKristopher Wood
11/26/2024, 5:20 PMKristopher Wood
11/26/2024, 5:21 PMMarvin
12/05/2024, 4:41 PMMarvin
12/05/2024, 4:41 PMKristopher Wood
12/05/2024, 4:43 PMMarvin
12/05/2024, 4:44 PM