system.mes.splitSchedule

Sepasoft MES Module Suite

system.mes.splitSchedule(operationsScheduleUUID, operationsRequestUUID)

Splits an operations in a route off from an existing operations schedule into an independent operations schedule.

The split point is from the specified operations request, based on the operationsRequestUUID parameter, to the last operations request of the route. Operations schedules that only have one operations request cannot be split.

Syntax

system.mes.splitSchedule(operationsScheduleUUID, operationsRequestUUID)

  • Parameters

String  operationsScheduleUUID - The UUID of the operations schedule object that will be split.

String  operationsRequestUUID - The UUID of one of the operations request within the operations schedule to split at.

  • Returns

The UUID of the new operations schedule.

  • Scope

All

Code Example

Python
#The following is a snippet to split the schedule for the requested operation.
system.mes.splitSchedule('928fa0e2-f739-427b-bd88-464062396d8a', '1243612e-71fd-4fc4-82a3-18c4ccd71571')

Sepasoft MES Module Suite