Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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);