Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Error Setting remindertype and reminderminutes
Hello All,
I currently have the code below:
var newTask = nlapiCreateRecord('task'); newTask.setFieldValue('customform', '68'); newTask.setFieldValue('templatestored','T') newTask.setFieldValue('title', 'Follow Up for Renewal'); newTask.setFieldValue('assigned', salesrep); newTask.setFieldValue('startdate', taskDate); newTask.setFieldValue('duedate', renewalDate); newTask.setFieldValue('timedevent', 'T'); newTask.setFieldValue('starttime', '12:00 am'); newTask.setFieldValue('endtime', '12:30 am'); newTask.setFieldValue('remindertype', 'EMAIL'); newTask.setFieldValue('reminderminutes', '10080'); newTask.setFieldValue('company', custId); But when submitting the task, it is created correctly but my reminder is not being triggered correctly. The custom form indeed has those fields shown and as you see I do reserve the time correctly. Please let me know what I am doing wrong.
0