system.mes.saveSchedule

Sepasoft MES Module Suite

system.mes.saveSchedule(mesObjectList)

Save the operations schedule object and all other associated MES objects contained in the list passed in the mesObjectList parameter. This list generally includes the Operations Schedule and (a) Request Segment(s) if preceeded by the system.mes.createSchedule() function.

Syntax

system.mes.saveSchedule(mesObjectList)

  • Parameters

MES Object List mesObjectList - The list containing all schedule related MES objects to save.

  • Returns

Nothing

  • Scope

All

Code Example

Python
#This code will save the list containing schedules of MES objects
filter = system.mes.object.filter.createFilter()
filter.setMESObjectTypeName('OperationsSchedule')
scheduleList = system.mes.loadMESObjects(filter)
system.mes.saveSchedule(scheduleList)

Sepasoft MES Module Suite