jkabot
02/12/2019, 8:29 PMsearch.create({
type: search.Type.DEPOSIT_APPLICATION,
filters: [
['mainline', 'is', 'T'],
'and',
['appliedtotransaction', 'anyof', depositIds] // depositIds is array of strings, like ['1234', '5678']
]
}).run().each(function(result) { // ...
However when I did this it ran it as if there was no appliedtotransaction filter.
I ran it in the script debugger and the execution log showed a NetSuite generated log
Search filter removed
Filter expecting numeric value was removed as non-numeric value '[Ljava.lang.Object;@608e74ef' was providedBy all appearances, NetSuite edited my search before running it. I changed the filter to
['appliedtotransaction', 'anyof'].concat(depositIds)
and it worked as expected.
Then I changed it back to the first filter and it doesn't reproduce. 🤔 😟
Anyone seen anything like this before?jkabot
02/12/2019, 8:39 PMstalbert
02/12/2019, 10:32 PMshea
02/12/2019, 10:47 PM