Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to plan an outgoing call with CRMScript
SearchEngine se; se.addFields("Task", "Task_id,name"); printLine(se.executeTextTable());
DateTime deadline; deadline.addDay(2); NSAppointmentAgent appointmentAgent; NSAppointmentEntity newCall = appointmentAgent.CreateDefaultAppointmentEntityByTypeAndAssociate(5, 1); newCall.SetDescription("Call to book rental car"); newCall.SetAssignmentStatus(11); newCall.SetEndDate(deadline); NSTaskListItem task; task.SetTaskListItemId(3); newCall.SetTask(task); newCall = appointmentAgent.SaveAppointmentEntity(newCall);
DateTime start; DateTime end; NSAppointmentAgent appointmentAgent; appointmentAgent.UpdateAppointment(88, start, end.addMin(20), 0, 0, 5);
Was this page helpful?