How can I remove a value from a record via `record...
# suitescript
a
How can I remove a value from a record via
record.submitfields
? The value is a transaction record.
s
try setting the field value to
null
?
a
Its not setting. For some reason I can't submit any fields or delete the record.
s
try loading the record and setting fields to
null
that way? That would help narrow it down to a
submitFields
limitation
t
try setting the field to " "
s
in SS2.x
null
is the way you remove values from fields. If you find a case where
null
doesn't work but the magic empty string does, I'd be quite interested to hear about it as it suggests SS1.0 leaking through.