hey guys, i have a custom record where i store a c...
# suitescript
t
hey guys, i have a custom record where i store a chunk of json as one of the fields. i want to then do a search in the record to see if an entry exists with that json chunk. i tried
filters.push(["custrecord_test_json", "is", entries[x].payload]);
but it fails to run the search. if i remove that filter and use others it works fine. tried doing
String(entries[x].payload)
too in case netsuite was reading it as an object/array but still fails. not even an error message, just err = null
i
Are you sure that "entries[x].payload" contains the stringified json and not the object itself?