changed that to JSON.stringify(scriptedField) and ...
# suitescript
k
changed that to JSON.stringify(scriptedField) and found the problem