Sepasoft MES Module Suite
Description
Update the operations MES objects for the specified material and all assigned equipment.
Syntax
system.mes.oee.updateMaterialOperationSegments(materialLink)
- Parameters
MESObjectLink materialLink - The MES object link to the material definition that the operations MES objects are based on.
- Returns
Nothing
- Scope
All
Code Examples
obj_filter = system.mes.object.filter.createFilter() obj_filter.setMESObjectTypeName('MaterialDef') material_defs = system.mes.searchMESObjects(obj_filter) for material_def in material_defs: system.mes.oee.updateOEESegmentReferences(material_def)
Sepasoft MES Module Suite