dodil/erp-method

modules/manufacturing/signoff/manufacturing/manufacturing_planned_order.bpmn

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dodil="https://git.dodil.io/dodil/erp-platform/bpmn/1" id="Definitions_manufacturing_v2" name="Production (bills of materials and production orders) processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
 <bpmn:collaboration id="Collaboration_manufacturing_v2">
  <bpmn:documentation>Production (bills of materials and production orders): one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
  <bpmn:participant id="Participant_manufacturing_planned_order" name="Planned order" processRef="Process_manufacturing_planned_order_v2" />
 </bpmn:collaboration>
 <bpmn:process id="Process_manufacturing_planned_order_v2" name="Planned order" isExecutable="false">
  <bpmn:documentation>Lifecycle of the planned order, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: proposed, firmed, converted, superseded.</bpmn:documentation>
  <bpmn:laneSet id="LaneSet_planned_order">
   <bpmn:lane id="Lane_planned_order_system" name="The system">
    <bpmn:flowNodeRef>Start_planned_order</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_propose_planned_order</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_supersede_planned_order</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>End_planned_order_superseded</bpmn:flowNodeRef>
   </bpmn:lane>
   <bpmn:lane id="Lane_planned_order_planner" name="Production planner">
    <bpmn:flowNodeRef>Task_firm_planned_order</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_convert_planned_order</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Gateway_planned_order_proposed__if</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>End_planned_order_converted</bpmn:flowNodeRef>
   </bpmn:lane>
  </bpmn:laneSet>
  <bpmn:startEvent id="Start_planned_order" name="Planned order needed">
   <bpmn:outgoing>Flow_Start_planned_order__Task_propose_planned_order</bpmn:outgoing>
  </bpmn:startEvent>
  <bpmn:serviceTask id="Task_propose_planned_order" name="Proposed by MRP-lite" dodil:step="propose_planned_order" implementation="##unspecified">
   <bpmn:documentation>By: The system. From none to proposed.</bpmn:documentation>
   <bpmn:incoming>Flow_Start_planned_order__Task_propose_planned_order</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_propose_planned_order__Gateway_planned_order_proposed__if</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:userTask id="Task_firm_planned_order" name="Firm" dodil:step="firm_planned_order">
   <bpmn:documentation>By: Production planner. From proposed to firmed. Effect: kept by later runs.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_planned_order_proposed__if__Task_firm_planned_order</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_firm_planned_order__Task_convert_planned_order</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:userTask id="Task_convert_planned_order" name="Convert to a production order" dodil:step="convert_planned_order">
   <bpmn:documentation>By: Production planner. From proposed / firmed to converted. Effect: production order created (MFG-09).</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_planned_order_proposed__if__Task_convert_planned_order</bpmn:incoming>
   <bpmn:incoming>Flow_Task_firm_planned_order__Task_convert_planned_order</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_convert_planned_order__End_planned_order_converted</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:serviceTask id="Task_supersede_planned_order" name="Superseded by a later run" dodil:step="supersede_planned_order" implementation="##unspecified">
   <bpmn:documentation>By: The system. From proposed to superseded.</bpmn:documentation>
   <bpmn:incoming>Flow_Gateway_planned_order_proposed__if__Task_supersede_planned_order</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_supersede_planned_order__End_planned_order_superseded</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:exclusiveGateway id="Gateway_planned_order_proposed__if" name="Planned order proposed: what next?">
   <bpmn:incoming>Flow_Task_propose_planned_order__Gateway_planned_order_proposed__if</bpmn:incoming>
   <bpmn:outgoing>Flow_Gateway_planned_order_proposed__if__Task_firm_planned_order</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_planned_order_proposed__if__Task_convert_planned_order</bpmn:outgoing>
   <bpmn:outgoing>Flow_Gateway_planned_order_proposed__if__Task_supersede_planned_order</bpmn:outgoing>
  </bpmn:exclusiveGateway>
  <bpmn:endEvent id="End_planned_order_converted" name="Planned order converted">
   <bpmn:incoming>Flow_Task_convert_planned_order__End_planned_order_converted</bpmn:incoming>
  </bpmn:endEvent>
  <bpmn:endEvent id="End_planned_order_superseded" name="Planned order superseded">
   <bpmn:incoming>Flow_Task_supersede_planned_order__End_planned_order_superseded</bpmn:incoming>
  </bpmn:endEvent>
  <bpmn:sequenceFlow id="Flow_Start_planned_order__Task_propose_planned_order" sourceRef="Start_planned_order" targetRef="Task_propose_planned_order" />
  <bpmn:sequenceFlow id="Flow_Gateway_planned_order_proposed__if__Task_firm_planned_order" sourceRef="Gateway_planned_order_proposed__if" targetRef="Task_firm_planned_order" />
  <bpmn:sequenceFlow id="Flow_Gateway_planned_order_proposed__if__Task_convert_planned_order" sourceRef="Gateway_planned_order_proposed__if" targetRef="Task_convert_planned_order" />
  <bpmn:sequenceFlow id="Flow_Gateway_planned_order_proposed__if__Task_supersede_planned_order" sourceRef="Gateway_planned_order_proposed__if" targetRef="Task_supersede_planned_order" />
  <bpmn:sequenceFlow id="Flow_Task_propose_planned_order__Gateway_planned_order_proposed__if" sourceRef="Task_propose_planned_order" targetRef="Gateway_planned_order_proposed__if" />
  <bpmn:sequenceFlow id="Flow_Task_firm_planned_order__Task_convert_planned_order" sourceRef="Task_firm_planned_order" targetRef="Task_convert_planned_order" />
  <bpmn:sequenceFlow id="Flow_Task_convert_planned_order__End_planned_order_converted" sourceRef="Task_convert_planned_order" targetRef="End_planned_order_converted" />
  <bpmn:sequenceFlow id="Flow_Task_supersede_planned_order__End_planned_order_superseded" sourceRef="Task_supersede_planned_order" targetRef="End_planned_order_superseded" />
 </bpmn:process>
 <bpmndi:BPMNDiagram id="BPMNDiagram_manufacturing_v2">
  <bpmndi:BPMNPlane id="BPMNPlane_manufacturing_v2" bpmnElement="Collaboration_manufacturing_v2">
   <bpmndi:BPMNShape id="Participant_manufacturing_planned_order_di" bpmnElement="Participant_manufacturing_planned_order" isHorizontal="true">
    <dc:Bounds x="0" y="0" width="960" height="400" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_planned_order_system_di" bpmnElement="Lane_planned_order_system" isHorizontal="true">
    <dc:Bounds x="30" y="0" width="930" height="140" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_planned_order_planner_di" bpmnElement="Lane_planned_order_planner" isHorizontal="true">
    <dc:Bounds x="30" y="140" width="930" height="260" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Start_planned_order_di" bpmnElement="Start_planned_order">
    <dc:Bounds x="157" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_propose_planned_order_di" bpmnElement="Task_propose_planned_order">
    <dc:Bounds x="295" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_firm_planned_order_di" bpmnElement="Task_firm_planned_order">
    <dc:Bounds x="635" y="160" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_convert_planned_order_di" bpmnElement="Task_convert_planned_order">
    <dc:Bounds x="635" y="280" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_supersede_planned_order_di" bpmnElement="Task_supersede_planned_order">
    <dc:Bounds x="635" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Gateway_planned_order_proposed__if_di" bpmnElement="Gateway_planned_order_proposed__if">
    <dc:Bounds x="490" y="175" width="50" height="50" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="End_planned_order_converted_di" bpmnElement="End_planned_order_converted">
    <dc:Bounds x="837" y="182" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="End_planned_order_superseded_di" bpmnElement="End_planned_order_superseded">
    <dc:Bounds x="837" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNEdge id="Flow_Start_planned_order__Task_propose_planned_order_di" bpmnElement="Flow_Start_planned_order__Task_propose_planned_order">
    <di:waypoint x="193" y="60" />
    <di:waypoint x="295" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_planned_order_proposed__if__Task_firm_planned_order_di" bpmnElement="Flow_Gateway_planned_order_proposed__if__Task_firm_planned_order">
    <di:waypoint x="540" y="200" />
    <di:waypoint x="635" y="200" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_planned_order_proposed__if__Task_convert_planned_order_di" bpmnElement="Flow_Gateway_planned_order_proposed__if__Task_convert_planned_order">
    <di:waypoint x="540" y="200" />
    <di:waypoint x="610" y="200" />
    <di:waypoint x="610" y="320" />
    <di:waypoint x="635" y="320" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Gateway_planned_order_proposed__if__Task_supersede_planned_order_di" bpmnElement="Flow_Gateway_planned_order_proposed__if__Task_supersede_planned_order">
    <di:waypoint x="540" y="200" />
    <di:waypoint x="610" y="200" />
    <di:waypoint x="610" y="60" />
    <di:waypoint x="635" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_propose_planned_order__Gateway_planned_order_proposed__if_di" bpmnElement="Flow_Task_propose_planned_order__Gateway_planned_order_proposed__if">
    <di:waypoint x="395" y="60" />
    <di:waypoint x="465" y="60" />
    <di:waypoint x="465" y="200" />
    <di:waypoint x="490" y="200" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_firm_planned_order__Task_convert_planned_order_di" bpmnElement="Flow_Task_firm_planned_order__Task_convert_planned_order">
    <di:waypoint x="685" y="240" />
    <di:waypoint x="685" y="375" />
    <di:waypoint x="685" y="375" />
    <di:waypoint x="685" y="360" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_convert_planned_order__End_planned_order_converted_di" bpmnElement="Flow_Task_convert_planned_order__End_planned_order_converted">
    <di:waypoint x="735" y="320" />
    <di:waypoint x="812" y="320" />
    <di:waypoint x="812" y="200" />
    <di:waypoint x="837" y="200" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_supersede_planned_order__End_planned_order_superseded_di" bpmnElement="Flow_Task_supersede_planned_order__End_planned_order_superseded">
    <di:waypoint x="735" y="60" />
    <di:waypoint x="837" y="60" />
   </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
 </bpmndi:BPMNDiagram>
</bpmn:definitions>