dodil/erp-method

modules/pos/signoff/pos/history/pos_cash_deposit.v1.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_pos_v1" name="Point of sale (shops and tills) processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
 <bpmn:collaboration id="Collaboration_pos_v1">
  <bpmn:documentation>Point of sale (shops and tills): one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
  <bpmn:participant id="Participant_pos_cash_deposit" name="Cash deposit" processRef="Process_pos_cash_deposit_v1" />
 </bpmn:collaboration>
 <bpmn:process id="Process_pos_cash_deposit_v1" name="Cash deposit" isExecutable="false">
  <bpmn:documentation>Lifecycle of the cash deposit, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: sealed, handed_over, matched.</bpmn:documentation>
  <bpmn:laneSet id="LaneSet_cash_deposit">
   <bpmn:lane id="Lane_cash_deposit_shift_lead" name="Shift lead / shop manager">
    <bpmn:flowNodeRef>Start_cash_deposit</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_seal_bag</bpmn:flowNodeRef>
   </bpmn:lane>
   <bpmn:lane id="Lane_cash_deposit_system" name="The system">
    <bpmn:flowNodeRef>Task_hand_over_bag</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_match_bag</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>End_cash_deposit_matched</bpmn:flowNodeRef>
   </bpmn:lane>
  </bpmn:laneSet>
  <bpmn:startEvent id="Start_cash_deposit" name="Cash deposit needed">
   <bpmn:outgoing>Flow_Start_cash_deposit__Task_seal_bag</bpmn:outgoing>
  </bpmn:startEvent>
  <bpmn:userTask id="Task_seal_bag" name="Seal the cash bag" dodil:step="seal_bag">
   <bpmn:documentation>By: Shift lead / shop manager. From none to sealed. When: amount at most the safe's balance; bag number unused.</bpmn:documentation>
   <bpmn:incoming>Flow_Start_cash_deposit__Task_seal_bag</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_seal_bag__Task_hand_over_bag</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:serviceTask id="Task_hand_over_bag" name="Hand the bag to payments" dodil:step="hand_over_bag" implementation="##unspecified">
   <bpmn:documentation>By: The system. From sealed to handed_over. Effect: payments' expected deposit batch (POS-26).</bpmn:documentation>
   <bpmn:incoming>Flow_Task_seal_bag__Task_hand_over_bag</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_hand_over_bag__Task_match_bag</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:serviceTask id="Task_match_bag" name="Matched to the bank" dodil:step="match_bag" implementation="##unspecified">
   <bpmn:documentation>By: The system. From handed_over to matched. When: payments reports the batch matched.</bpmn:documentation>
   <bpmn:incoming>Flow_Task_hand_over_bag__Task_match_bag</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_match_bag__End_cash_deposit_matched</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:endEvent id="End_cash_deposit_matched" name="Cash deposit matched">
   <bpmn:incoming>Flow_Task_match_bag__End_cash_deposit_matched</bpmn:incoming>
  </bpmn:endEvent>
  <bpmn:sequenceFlow id="Flow_Start_cash_deposit__Task_seal_bag" sourceRef="Start_cash_deposit" targetRef="Task_seal_bag" />
  <bpmn:sequenceFlow id="Flow_Task_seal_bag__Task_hand_over_bag" sourceRef="Task_seal_bag" targetRef="Task_hand_over_bag" />
  <bpmn:sequenceFlow id="Flow_Task_hand_over_bag__Task_match_bag" sourceRef="Task_hand_over_bag" targetRef="Task_match_bag" />
  <bpmn:sequenceFlow id="Flow_Task_match_bag__End_cash_deposit_matched" sourceRef="Task_match_bag" targetRef="End_cash_deposit_matched" />
 </bpmn:process>
 <bpmndi:BPMNDiagram id="BPMNDiagram_pos_v1">
  <bpmndi:BPMNPlane id="BPMNPlane_pos_v1" bpmnElement="Collaboration_pos_v1">
   <bpmndi:BPMNShape id="Participant_pos_cash_deposit_di" bpmnElement="Participant_pos_cash_deposit" isHorizontal="true">
    <dc:Bounds x="0" y="0" width="960" height="280" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_cash_deposit_shift_lead_di" bpmnElement="Lane_cash_deposit_shift_lead" isHorizontal="true">
    <dc:Bounds x="30" y="0" width="930" height="140" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_cash_deposit_system_di" bpmnElement="Lane_cash_deposit_system" isHorizontal="true">
    <dc:Bounds x="30" y="140" width="930" height="140" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Start_cash_deposit_di" bpmnElement="Start_cash_deposit">
    <dc:Bounds x="157" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_seal_bag_di" bpmnElement="Task_seal_bag">
    <dc:Bounds x="295" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_hand_over_bag_di" bpmnElement="Task_hand_over_bag">
    <dc:Bounds x="465" y="160" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_match_bag_di" bpmnElement="Task_match_bag">
    <dc:Bounds x="635" y="160" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="End_cash_deposit_matched_di" bpmnElement="End_cash_deposit_matched">
    <dc:Bounds x="837" y="182" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNEdge id="Flow_Start_cash_deposit__Task_seal_bag_di" bpmnElement="Flow_Start_cash_deposit__Task_seal_bag">
    <di:waypoint x="193" y="60" />
    <di:waypoint x="295" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_seal_bag__Task_hand_over_bag_di" bpmnElement="Flow_Task_seal_bag__Task_hand_over_bag">
    <di:waypoint x="395" y="60" />
    <di:waypoint x="440" y="60" />
    <di:waypoint x="440" y="200" />
    <di:waypoint x="465" y="200" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_hand_over_bag__Task_match_bag_di" bpmnElement="Flow_Task_hand_over_bag__Task_match_bag">
    <di:waypoint x="565" y="200" />
    <di:waypoint x="635" y="200" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_match_bag__End_cash_deposit_matched_di" bpmnElement="Flow_Task_match_bag__End_cash_deposit_matched">
    <di:waypoint x="735" y="200" />
    <di:waypoint x="837" y="200" />
   </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
 </bpmndi:BPMNDiagram>
</bpmn:definitions>