How do you update a list field to empty? `itemRec....
# suitescript
i
How do you update a list field to empty?
itemRec.setValue({fieldId: "custitem_bit_customer", value: null});
I have it like this, but also tried
'', "", undefined
but no luck
a
I believe if its a custom list you have to create an null option
s
try an empty array?
a
or if a null/blank option exists you could try setText(field,'')