I'm setting a date value on a journal entry and ge...
# suitescript
t
I'm setting a date value on a journal entry and getting "Invalid date value (must be M/D/YYYY)" when setting the value as 2/28/2020, specifically, the trandate field.
b
are you using setValue or setText
t
setValue, will try setText
b
setValue is used with a Date object
✔️ 1
i highly recommend setValue unless you like using N/format
t
ok, thanks for that
reminder to self, check the documentation