Anyone able to tell me the correct way to unset/cl...
# suitescript
s
Anyone able to tell me the correct way to unset/clear a custom date field? Tried the obvious
''
and
null
, but both throw
Invalid date value (must be YYYY/M/D)
s
I think
null
should work. Is it a mandatory field?
👍 1
s
No, it’s intentionally blank half the time, I really thought null would work too 🤷‍♂️
Gah, don’t worry -> I was effectively trying to pass
new Date(null)
🤭 1