Skip to end of metadata
Go to start of metadata

Work Orders are generally created from customer orders to define a desired quantity of product and a due date. Other information such as priority and status may also be attached to a Work Order. Both the Sepasoft Track & Track and OEE 2.0 Module provide a number of components and scripting functions to allow for Work Order management and operations scheduling.

 


 

Creating Work Orders Through Components

The MES Work Order Table component allows for the creation, editing, deleting and importing of Work Orders. Work Orders can then be scheduled across production lines and the quantity scheduled, produced and remaining can be tracked.

 

Work Order Table Functions

FunctionDescription
Add Work OrderClick on the  button and provide a name for the work order. Select the Material Definition, assign the quantity and pick the due date. 
Edit Work OrderSelect the work order you want to edit and click on the  button. Edit the settings and click Save.
Delete Work OrderSelect the work order and click on the  button
Copy/Paste Work OrderSelect the Work order to be copied, click Copy and then click Paste. The new work order will be shown at the bottom of the table.
Export Work Orders Click Export. All the work orders will be exported at once. When the save window appears, name the file to be exported and click Save.
Import Work Orders

Click Import. Use the File Open dialog box to select the xml file to be imported and Click Open.

<?xml version="1.0"?>
-<MESObjectList>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">2e906f1e-1736-4e02-8586-6b7e4e7e17fc</CoreProperty>
<CoreProperty name="Name">New Work Order</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Water</CoreProperty>
<CoreProperty name="MaterialRefUUID">7be75da4-5fa6-4b9b-abae-087e00cb1971</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-03-27 09:18:35</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">702b7445-8d73-4946-b990-ce79188ed5fa</CoreProperty>
<CoreProperty name="Name">N3344 (1)</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Salt</CoreProperty>
<CoreProperty name="MaterialRefUUID">e6daa5f1-07cc-4863-b3b3-0d560c514c63</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">50.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">50.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-04-12 10:49:49</CoreProperty>
<CoreProperty name="WorkOrderClosed">false</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">cd85a1f6-db9b-4220-88ae-001e8745a185</CoreProperty>
<CoreProperty name="Name">N</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Cane Sugar</CoreProperty>
<CoreProperty name="MaterialRefUUID">0a0357ac-fd5c-454f-91ff-119aadaa5014</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">8.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">8.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-04-21 12:49:50</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">044783cb-73e9-4c2b-abf3-13ee0158d40c</CoreProperty>
<CoreProperty name="Name">New </CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Cane Sugar</CoreProperty>
<CoreProperty name="MaterialRefUUID">0a0357ac-fd5c-454f-91ff-119aadaa5014</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">7.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">7.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-04-06 13:01:16</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">8b1bbc5e-9d49-4fe5-a967-6c66d4bc90b7</CoreProperty>
<CoreProperty name="Name">Work Order</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Cane Sugar</CoreProperty>
<CoreProperty name="MaterialRefUUID">0a0357ac-fd5c-454f-91ff-119aadaa5014</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-03-27 09:21:19</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">503824e1-9e06-4b12-982d-69f1d5a3bd5a</CoreProperty>
<CoreProperty name="Name">y7</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Salt</CoreProperty>
<CoreProperty name="MaterialRefUUID">e6daa5f1-07cc-4863-b3b3-0d560c514c63</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">8.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">8.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-04-25 16:14:23</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>

-<MESObject MESObjectType="WorkOrder">
<CoreProperty name="UUID">cbb1ad0a-ca54-4397-a287-d6eb0e92721c</CoreProperty>
<CoreProperty name="Name"> W88</CoreProperty>
<CoreProperty name="Enabled">true</CoreProperty>
<CoreProperty name="Creator">Unknown</CoreProperty>
<CoreProperty name="MaterialRef">Material Definition, Cane Sugar</CoreProperty>
<CoreProperty name="MaterialRefUUID">0a0357ac-fd5c-454f-91ff-119aadaa5014</CoreProperty>
<CoreProperty name="MaterialRefType">MaterialDef</CoreProperty>
<CoreProperty name="WorkOrderQuantity">90.0</CoreProperty>
<CoreProperty name="WorkOrderActualQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderScheduleQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderRemainingQuantity">0.0</CoreProperty>
<CoreProperty name="WorkOrderDueDate">2017-04-25 16:26:38</CoreProperty>
<CoreProperty name="WorkOrderClosed">true</CoreProperty>
</MESObject>
</MESObjectList>

 

 

Drag and Drop Work Order Creation

The MES Work Order Table component allows for dragging and dropping rows from a power table onto itself. You could create a power table that pulls work orders from ERP and then allows a user to drag Work Orders over. In order to perform drag and drop, you must enable the Row Dragging Enabled property of the power table

 



 

Creating Work Orders Through Scripting

Work Orders can also be created, edited, deleted and imported through scripting. This method is mostly likely used when an interface exists to pull work orders from an ERP system on a timely or event driven basis. Scripting functions are provided in the system.mes.workorder space for managing the work order objects in the MES layer. The following scripting functions are available:

 

Whether a Work Order is created through scripting or by using the Work Order Table, a MES Work Order object is created in the background that can be accessed and modified to adjust any of the parameters such as required quantity, due date and status. As the MES Work Order object is derived from the MESAbstractObject, custom properties can be added to a Work Order object to store metadata about the work order.


Knowledge base articles show scripting examples can be found here.


 

Drag and Drop Work Order Scheduling

The MES Work Order Table component also allows for dragging and dropping a Work Order onto the MES Schedule View Component.

  • No labels