Discussions
New window
I've seen this topic a few times but not having success . The code below works fine in taking user to a new scheduled phone call, afgter logging a call as well. I want the new scheduled call in a new Window. My window.open does nto work - error received of:
Notice (SuiteScript)
TypeError: Cannot find function open. (callCreator#127
the code, line 127 is the window.open function:
recordCreated.setFieldValue('message',comments);
recordCreated.setFieldValue('company', company);
//submit call record
var callNum2 = nlapiSubmitRecord(recordCreated, true);
// Redirect user to the phonecall that was created in Edit mode (True).
// line below works when not commented and opens in existing window