I'm Trying to setText on multiselect field itemobj...
# general
t
I'm Trying to setText on multiselect field itemobj.setText('fieldID',['a','b','c']) but it's not wokring The error is getting Invalid Reference key but i tried with single value then it's working so there is any limitation to setText ?
j
why are you using setText instead of setValue?
t
I haven't internal id that's y doing with text data
j
?
what is the type of List/Record for the Multiselect?
b
netsuite internally uses the enquiry character ("\_*u0005*_") as the separator for multiselect values
join your values into a string using enquiry to use with setText
t
itemOjRecord.setText('custitem_ixs_custom_vendors', ["1 Factory Radio","ACCU-Form"].join("\u0005")); but getting error: You have entered an Invalid Field Value 1 Factory RadioACCU-Form for the following field: custitem_ixs_custom_vendors @battk in above syntax is right or i missing anything?
@jen it's custom list
b
what does the rest of the code look like