Has anybody used SuiteScript to add a Task? I'm g...
# suitescript
s
Has anybody used SuiteScript to add a Task? I'm getting the following error message: Invalid date value (must be M/D/YYYY) It doesn't tell me what field. I've tried hard coding the following fields; startdate, duedate, enddate and calendardate all to "11/19/2020" and I'm still getting the error. Anything obvious, or any ideas for me to try?
b
use a Date with setValue when setting date fields
👍 1
alternatively use a string with setText when setting date fields
use N/format if you want to change a Date into a string for use with setText
s
Thank you for the help. I feel like I'm making progress again 🙂