dodil/erp-method

modules/payments/signoff/payments/history/payments_bank_statement.v3.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_payments_v5" name="Payments &amp; collections processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
 <bpmn:collaboration id="Collaboration_payments_v5">
  <bpmn:documentation>Payments &amp; collections: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
  <bpmn:participant id="Participant_payments_bank_statement" name="Bank statement" processRef="Process_payments_bank_statement_v5" />
 </bpmn:collaboration>
 <bpmn:process id="Process_payments_bank_statement_v5" name="Bank statement" isExecutable="false">
  <bpmn:documentation>Lifecycle of the bank statement, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: imported, balanced, reconciled.</bpmn:documentation>
  <bpmn:laneSet id="LaneSet_bank_statement">
   <bpmn:lane id="Lane_bank_statement_cashier" name="Whoever records money (bookkeeper, office manager)">
    <bpmn:flowNodeRef>Start_bank_statement</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_import_bank_statement</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>Task_complete_bank_reconciliation</bpmn:flowNodeRef>
    <bpmn:flowNodeRef>End_bank_statement_reconciled</bpmn:flowNodeRef>
   </bpmn:lane>
   <bpmn:lane id="Lane_bank_statement_system" name="The system">
    <bpmn:flowNodeRef>Task_check_statement_balance</bpmn:flowNodeRef>
   </bpmn:lane>
  </bpmn:laneSet>
  <bpmn:startEvent id="Start_bank_statement" name="Bank statement needed">
   <bpmn:outgoing>Flow_Start_bank_statement__Task_import_bank_statement</bpmn:outgoing>
  </bpmn:startEvent>
  <bpmn:userTask id="Task_import_bank_statement" name="Import the statement, every line (v3)" dodil:step="import_bank_statement">
   <bpmn:documentation>By: Whoever records money (bookkeeper, office manager). From none to imported. When: camt.053, MT940 or CSV for a known bank account; not imported before. Effect: a statement line per entry; customer credits also receipts (PAY-02); a bank feed (PAY-35) arrives the same way.</bpmn:documentation>
   <bpmn:incoming>Flow_Start_bank_statement__Task_import_bank_statement</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_import_bank_statement__Task_check_statement_balance</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:serviceTask id="Task_check_statement_balance" name="Check the statement balances and follows the last" dodil:step="check_statement_balance" implementation="##unspecified">
   <bpmn:documentation>By: The system. From imported to balanced. When: opening + lines = closing; opening = the previous closing. Effect: or the difference named (PAY-34).</bpmn:documentation>
   <bpmn:incoming>Flow_Task_import_bank_statement__Task_check_statement_balance</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_check_statement_balance__Task_complete_bank_reconciliation</bpmn:outgoing>
  </bpmn:serviceTask>
  <bpmn:userTask id="Task_complete_bank_reconciliation" name="Close the statement as reconciled" dodil:step="complete_bank_reconciliation">
   <bpmn:documentation>By: Whoever records money (bookkeeper, office manager). From balanced to reconciled. When: every line matched or posted; the ledger balance at the closing date equals the closing balance. Effect: the statement locked; a later change is a reversal on an open statement.</bpmn:documentation>
   <bpmn:incoming>Flow_Task_check_statement_balance__Task_complete_bank_reconciliation</bpmn:incoming>
   <bpmn:outgoing>Flow_Task_complete_bank_reconciliation__End_bank_statement_reconciled</bpmn:outgoing>
  </bpmn:userTask>
  <bpmn:endEvent id="End_bank_statement_reconciled" name="Bank statement reconciled">
   <bpmn:incoming>Flow_Task_complete_bank_reconciliation__End_bank_statement_reconciled</bpmn:incoming>
  </bpmn:endEvent>
  <bpmn:sequenceFlow id="Flow_Start_bank_statement__Task_import_bank_statement" sourceRef="Start_bank_statement" targetRef="Task_import_bank_statement" />
  <bpmn:sequenceFlow id="Flow_Task_import_bank_statement__Task_check_statement_balance" sourceRef="Task_import_bank_statement" targetRef="Task_check_statement_balance" />
  <bpmn:sequenceFlow id="Flow_Task_check_statement_balance__Task_complete_bank_reconciliation" sourceRef="Task_check_statement_balance" targetRef="Task_complete_bank_reconciliation" />
  <bpmn:sequenceFlow id="Flow_Task_complete_bank_reconciliation__End_bank_statement_reconciled" sourceRef="Task_complete_bank_reconciliation" targetRef="End_bank_statement_reconciled" />
 </bpmn:process>
 <bpmndi:BPMNDiagram id="BPMNDiagram_payments_v5">
  <bpmndi:BPMNPlane id="BPMNPlane_payments_v5" bpmnElement="Collaboration_payments_v5">
   <bpmndi:BPMNShape id="Participant_payments_bank_statement_di" bpmnElement="Participant_payments_bank_statement" isHorizontal="true">
    <dc:Bounds x="0" y="0" width="960" height="280" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_bank_statement_cashier_di" bpmnElement="Lane_bank_statement_cashier" isHorizontal="true">
    <dc:Bounds x="30" y="0" width="930" height="140" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Lane_bank_statement_system_di" bpmnElement="Lane_bank_statement_system" isHorizontal="true">
    <dc:Bounds x="30" y="140" width="930" height="140" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Start_bank_statement_di" bpmnElement="Start_bank_statement">
    <dc:Bounds x="157" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_import_bank_statement_di" bpmnElement="Task_import_bank_statement">
    <dc:Bounds x="295" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_check_statement_balance_di" bpmnElement="Task_check_statement_balance">
    <dc:Bounds x="465" y="160" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="Task_complete_bank_reconciliation_di" bpmnElement="Task_complete_bank_reconciliation">
    <dc:Bounds x="635" y="20" width="100" height="80" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNShape id="End_bank_statement_reconciled_di" bpmnElement="End_bank_statement_reconciled">
    <dc:Bounds x="837" y="42" width="36" height="36" />
   </bpmndi:BPMNShape>
   <bpmndi:BPMNEdge id="Flow_Start_bank_statement__Task_import_bank_statement_di" bpmnElement="Flow_Start_bank_statement__Task_import_bank_statement">
    <di:waypoint x="193" y="60" />
    <di:waypoint x="295" y="60" />
   </bpmndi:BPMNEdge>
   <bpmndi:BPMNEdge id="Flow_Task_import_bank_statement__Task_check_statement_balance_di" bpmnElement="Flow_Task_import_bank_statement__Task_check_statement_balance">
    <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_check_statement_balance__Task_complete_bank_reconciliation_di" bpmnElement="Flow_Task_check_statement_balance__Task_complete_bank_reconciliation">
    <di:waypoint x="565" 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_complete_bank_reconciliation__End_bank_statement_reconciled_di" bpmnElement="Flow_Task_complete_bank_reconciliation__End_bank_statement_reconciled">
    <di:waypoint x="735" y="60" />
    <di:waypoint x="837" y="60" />
   </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
 </bpmndi:BPMNDiagram>
</bpmn:definitions>