Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
System sending emails for tasks created by script, regardless of if 'sendemail' is F
I have opened up a case with NS support for this last Thursday, but have yet to hear back from them (case # 1388121).
Please provide detailed steps to reproduce the problem:
var newRecord = nlapiCreateRecord('task');
newRecord.setFieldValue('assigned', 'user_id_here');
newRecord.setFieldValue('company', 'company_id_here');
newRecord.setFieldValue('title', 'test- delete me');
newRecord.setFieldValue('sendemail', 'F');
var id = nlapiSubmitRecord(newRecord);
Result:
The assignee is still receiving and autogenerated email from NetSuite informing them that the task has been assigned to them. This did not happen prior to the new release. This only happens when the task is created by script. Creating a task through the UI obeys the checkbox.