Join Slack
Powered by
is there any issue with this string as a date fiel...
# suitescript
a
Ali
01/08/2020, 6:34 PM
is there any issue with this string as a date field value?
Copy code
Thu Jan 09 2020 00:00:00 GMT+0000 (Greenwich Mean Time)
I have this error -> "INVALID_FLD_VALUE","message":"Invalid date value (must be DD/MM/YYYY)",
b
battk
01/08/2020, 6:35 PM
there are 2 ways to set a Date field in NetSuite, use setValue with the value as a Date object
battk
01/08/2020, 6:35 PM
or setText with the text as a format module formatted string
26
Views
Open in Slack
Previous
Next