Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
phone calls and script deployment inconsistence
i'm trying to create a phone call, but i can't seem to find a way to specify participants, or set the start/end times. there's a "Block out time" option in the UI, but there's none through suitescript, nor is there a "Participants" field. has anyone set these values successfully?
here's my code:
var record = nlapiCreateRecord('phonecall');
record.setFieldValue('title','Follow Up');
record.setFieldValue('owner',189);
record.setFieldValue('assigned',189);
record.setFieldValue('startdate','06/08/06');
record.setFieldValue('contact',5236)
record.setFieldValue('starttime','9:00 am')
record.setFieldValue('endtime','9:30 am')
record.setFieldValue('message','message')
record.setFieldValue('phone','(555) 555-5555')
id = nlapiSubmitRecord(record, false);