Discussions
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);