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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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