How do you set a Time of Day field through suitescript? The value I am trying is 15:34 and it gives me an error. Also tried format.parse for time of day and still didn't work.
This is the error: You have entered an Invalid Field Value 15:34 for the following field: custbody_rfpproposalduetime
s
Sandii
12/16/2020, 7:47 PM
This works for me in the dev console,
rec.setText('fieldId', '3:34 PM')
Sandii
12/16/2020, 7:51 PM
using
15:34
appears to have worked as well
Sandii
12/16/2020, 7:54 PM
My guess would be the actual value stored in the field is a regular date, but then it just displays the time bit and allows you to set it only using the time bit with setText