system.schedule.addScheduleEntry(linePath, workOrder, scheduleType, start, runStart, finish, quantity, userName, note)
String linePath - Line path to add the schedule entry to.
String workOrder - Work order that the schedule entry is associated with.
Integer scheduleType -The type of schedule entry. 0=Workorder, 1=Maintenance.
Date start - The date and time when this schedule entry is to start changeover.
Date runStart - The date and time when this schedule entry is to start production.
Date finish - The date and time when this schedule entry is estimated to be finished.
Integer quantity -The quantity of units to produce.
String userName - The user name that added the schedule entry.
String note -Notes to associate with this schedule entry.
Integer - ID of the new schedule entry.