Hello Every one does any one know why following er...
# suitescript
d
Hello Every one does any one know why following error is coming {"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value 1819\u00057753\u0005772\u000519859\u000547949\u00059176\u000546818\u0005786\u0005789\u0005790\ I am setting multi-select filed value in server side script when I log array content it does not contain "\u0005" in it ["1819","7753","772","19859","47949","9176","46818","786","789","790","27777","9198","806
b
you might want to double check that all your array values are valid
you can probably ignore the /u0005, its what netsuite internally uses as a separator for multiselect fields.
d
but in my array I have checked indexOf("\u0005") is return -1
if array does not contain this how can i replace it?
b
you dont, netsuite internally changes an array into a string
using \u0005 to separate the different values in the string
d
Thank you so much battk for your quick reply