dodil/erp-method
modules/inventory/signoff/inventory/inventory_stock_count.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_inventory_v7" name="Stock & warehouses processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
<bpmn:collaboration id="Collaboration_inventory_v7">
<bpmn:documentation>Stock & warehouses: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
<bpmn:participant id="Participant_inventory_stock_count" name="Stock count" processRef="Process_inventory_stock_count_v7" />
</bpmn:collaboration>
<bpmn:process id="Process_inventory_stock_count_v7" name="Stock count" isExecutable="false">
<bpmn:documentation>Lifecycle of the stock count, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: counting, submitted, approved, applied, rejected. Note: a count never sets a quantity: it appends the difference as moves to or from LOSS. Moves recorded after a line was counted are kept, because the difference is taken at counted_at</bpmn:documentation>
<bpmn:laneSet id="LaneSet_stock_count">
<bpmn:lane id="Lane_stock_count_warehouse_manager" name="Whoever runs the warehouse (operations lead, the owner in a small firm)">
<bpmn:flowNodeRef>Start_stock_count</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_start_count</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_submit_count</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_apply_small</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_recount</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_stock_count_submitted__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_stock_count_applied</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_stock_count_stock_operator" name="The person on the floor (picker, packer, goods-in)">
<bpmn:flowNodeRef>Task_record_counted</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_record_counted__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_record_counted__if_end</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_stock_count_system" name="The system">
<bpmn:flowNodeRef>Task_ai_explain_variance</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_apply_approved</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ai_explain_variance__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ai_explain_variance__if_end</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_stock_count_stock_controller" name="A second person for large differences (finance controller, the owner)">
<bpmn:flowNodeRef>Task_approve_count</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_reject_count</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_stock_count" name="Stock count needed">
<bpmn:outgoing>Flow_Start_stock_count__Task_start_count</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_start_count" name="Start a count" dodil:step="start_count">
<bpmn:documentation>By: Whoever runs the warehouse (operations lead, the owner in a small firm). From none to counting. When: an internal location subtree, or a list of products over every bin that holds them (v3); no other open count on it. Effect: every product (and stock type) with stock in scope listed, with no expected quantity shown to the counter.</bpmn:documentation>
<bpmn:incoming>Flow_Start_stock_count__Task_start_count</bpmn:incoming>
<bpmn:outgoing>Flow_Task_start_count__Gateway_record_counted__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_record_counted" name="Record what is on the shelf" dodil:step="record_counted">
<bpmn:documentation>By: The person on the floor (picker, packer, goods-in). From counting to counting. When: a quantity within bounds and the unit's decimals, in any unit of the product (v2); a lot or serial for a tracked product. Effect: one or more entries per line (5 PK24, 6 C62) summed exactly into counted_base; counted_at per line; expected is what the moves said at counted_at.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_record_counted__if__Task_record_counted</bpmn:incoming>
<bpmn:outgoing>Flow_Task_record_counted__Gateway_record_counted__if_end</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_submit_count" name="Submit the count" dodil:step="submit_count">
<bpmn:documentation>By: Whoever runs the warehouse (operations lead, the owner in a small firm). From counting to submitted. Effect: differences and their value at average cost fixed on the count.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_record_counted__if_end__Task_submit_count</bpmn:incoming>
<bpmn:outgoing>Flow_Task_submit_count__Gateway_ai_explain_variance__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_ai_explain_variance" name="AI suggests likely causes (suggest)" dodil:step="ai_explain_variance" implementation="##unspecified">
<bpmn:documentation>By: The system. From submitted to submitted. When: the step is on and a line's difference is over the threshold. Effect: a suggestion per line; nothing adjusted.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_ai_explain_variance__if__Task_ai_explain_variance</bpmn:incoming>
<bpmn:outgoing>Flow_Task_ai_explain_variance__Gateway_ai_explain_variance__if_end</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_apply_small" name="Apply a count under the threshold" dodil:step="apply_small">
<bpmn:documentation>By: Whoever runs the warehouse (operations lead, the owner in a small firm). From submitted to applied. When: the sum of the absolute VALUE differences across the lines is under count_approval_threshold, and no single line's absolute value difference is at or above count_line_value_limit. Effect: an adjustment move per line between the bin and LOSS; the loss or gain posted.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_stock_count_submitted__if__Task_apply_small</bpmn:incoming>
<bpmn:outgoing>Flow_Task_apply_small__End_stock_count_applied</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_approve_count" name="A second person approves the count" dodil:step="approve_count" dodil:approval="true">
<bpmn:documentation>By: A second person for large differences (finance controller, the owner). From submitted to approved. When: readiness: approver_not_counter (neither a counter nor the submitter, by email and by sign-in subject). Effect: the decision recorded. An approval.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_stock_count_submitted__if__Task_approve_count</bpmn:incoming>
<bpmn:outgoing>Flow_Task_approve_count__Task_apply_approved</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Task_apply_approved" name="Apply the approved count" dodil:step="apply_approved" implementation="##unspecified">
<bpmn:documentation>By: The system. From approved to applied. Effect: adjustment moves; the loss or gain posted.</bpmn:documentation>
<bpmn:incoming>Flow_Task_approve_count__Task_apply_approved</bpmn:incoming>
<bpmn:outgoing>Flow_Task_apply_approved__End_stock_count_applied</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:userTask id="Task_reject_count" name="Reject and recount" dodil:step="reject_count">
<bpmn:documentation>By: A second person for large differences (finance controller, the owner). From submitted to rejected. Requires: reason. Effect: nothing applied.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_stock_count_submitted__if__Task_reject_count</bpmn:incoming>
<bpmn:outgoing>Flow_Task_reject_count__Task_recount</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_recount" name="Recount" dodil:step="recount">
<bpmn:documentation>By: Whoever runs the warehouse (operations lead, the owner in a small firm). From rejected to counting. Effect: the lines are recorded again.</bpmn:documentation>
<bpmn:incoming>Flow_Task_reject_count__Task_recount</bpmn:incoming>
<bpmn:outgoing>Flow_Task_recount__Gateway_record_counted__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_record_counted__if" name="a quantity within bounds and the unit's decimals, in any unit of the product (v2); a lot or serial for a tracked product?">
<bpmn:incoming>Flow_Task_start_count__Gateway_record_counted__if</bpmn:incoming>
<bpmn:incoming>Flow_Task_recount__Gateway_record_counted__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_record_counted__if__Task_record_counted</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_record_counted__if__Gateway_record_counted__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_record_counted__if_end">
<bpmn:incoming>Flow_Gateway_record_counted__if__Gateway_record_counted__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_record_counted__Gateway_record_counted__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_record_counted__if_end__Task_submit_count</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ai_explain_variance__if" name="the step is on and a line's difference is over the threshold?">
<bpmn:incoming>Flow_Task_submit_count__Gateway_ai_explain_variance__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ai_explain_variance__if__Task_ai_explain_variance</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_ai_explain_variance__if__Gateway_ai_explain_variance__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ai_explain_variance__if_end">
<bpmn:incoming>Flow_Gateway_ai_explain_variance__if__Gateway_ai_explain_variance__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_ai_explain_variance__Gateway_ai_explain_variance__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ai_explain_variance__if_end__Gateway_stock_count_submitted__if</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_stock_count_submitted__if" name="Stock count submitted: what next?">
<bpmn:incoming>Flow_Gateway_ai_explain_variance__if_end__Gateway_stock_count_submitted__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_stock_count_submitted__if__Task_apply_small</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_stock_count_submitted__if__Task_approve_count</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_stock_count_submitted__if__Task_reject_count</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="End_stock_count_applied" name="Stock count applied">
<bpmn:incoming>Flow_Task_apply_small__End_stock_count_applied</bpmn:incoming>
<bpmn:incoming>Flow_Task_apply_approved__End_stock_count_applied</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Start_stock_count__Task_start_count" sourceRef="Start_stock_count" targetRef="Task_start_count" />
<bpmn:sequenceFlow id="Flow_Gateway_record_counted__if__Task_record_counted" name="a quantity within bounds and the unit's decimals, in any unit of the product (v2); a lot or serial for a tracked product" sourceRef="Gateway_record_counted__if" targetRef="Task_record_counted" />
<bpmn:sequenceFlow id="Flow_Gateway_record_counted__if__Gateway_record_counted__if_end" name="otherwise" sourceRef="Gateway_record_counted__if" targetRef="Gateway_record_counted__if_end" />
<bpmn:sequenceFlow id="Flow_Task_record_counted__Gateway_record_counted__if_end" sourceRef="Task_record_counted" targetRef="Gateway_record_counted__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_record_counted__if_end__Task_submit_count" sourceRef="Gateway_record_counted__if_end" targetRef="Task_submit_count" />
<bpmn:sequenceFlow id="Flow_Task_start_count__Gateway_record_counted__if" sourceRef="Task_start_count" targetRef="Gateway_record_counted__if" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_explain_variance__if__Task_ai_explain_variance" name="the step is on and a line's difference is over the threshold" sourceRef="Gateway_ai_explain_variance__if" targetRef="Task_ai_explain_variance" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_explain_variance__if__Gateway_ai_explain_variance__if_end" name="otherwise" sourceRef="Gateway_ai_explain_variance__if" targetRef="Gateway_ai_explain_variance__if_end" />
<bpmn:sequenceFlow id="Flow_Task_ai_explain_variance__Gateway_ai_explain_variance__if_end" sourceRef="Task_ai_explain_variance" targetRef="Gateway_ai_explain_variance__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_stock_count_submitted__if__Task_apply_small" sourceRef="Gateway_stock_count_submitted__if" targetRef="Task_apply_small" />
<bpmn:sequenceFlow id="Flow_Gateway_stock_count_submitted__if__Task_approve_count" sourceRef="Gateway_stock_count_submitted__if" targetRef="Task_approve_count" />
<bpmn:sequenceFlow id="Flow_Gateway_stock_count_submitted__if__Task_reject_count" sourceRef="Gateway_stock_count_submitted__if" targetRef="Task_reject_count" />
<bpmn:sequenceFlow id="Flow_Gateway_ai_explain_variance__if_end__Gateway_stock_count_submitted__if" sourceRef="Gateway_ai_explain_variance__if_end" targetRef="Gateway_stock_count_submitted__if" />
<bpmn:sequenceFlow id="Flow_Task_submit_count__Gateway_ai_explain_variance__if" sourceRef="Task_submit_count" targetRef="Gateway_ai_explain_variance__if" />
<bpmn:sequenceFlow id="Flow_Task_apply_small__End_stock_count_applied" sourceRef="Task_apply_small" targetRef="End_stock_count_applied" />
<bpmn:sequenceFlow id="Flow_Task_approve_count__Task_apply_approved" sourceRef="Task_approve_count" targetRef="Task_apply_approved" />
<bpmn:sequenceFlow id="Flow_Task_apply_approved__End_stock_count_applied" sourceRef="Task_apply_approved" targetRef="End_stock_count_applied" />
<bpmn:sequenceFlow id="Flow_Task_reject_count__Task_recount" sourceRef="Task_reject_count" targetRef="Task_recount" />
<bpmn:sequenceFlow id="Flow_Task_recount__Gateway_record_counted__if" sourceRef="Task_recount" targetRef="Gateway_record_counted__if" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_inventory_v7">
<bpmndi:BPMNPlane id="BPMNPlane_inventory_v7" bpmnElement="Collaboration_inventory_v7">
<bpmndi:BPMNShape id="Participant_inventory_stock_count_di" bpmnElement="Participant_inventory_stock_count" isHorizontal="true">
<dc:Bounds x="0" y="0" width="1810" height="1040" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_stock_count_warehouse_manager_di" bpmnElement="Lane_stock_count_warehouse_manager" isHorizontal="true">
<dc:Bounds x="30" y="0" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_stock_count_stock_operator_di" bpmnElement="Lane_stock_count_stock_operator" isHorizontal="true">
<dc:Bounds x="30" y="260" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_stock_count_system_di" bpmnElement="Lane_stock_count_system" isHorizontal="true">
<dc:Bounds x="30" y="520" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_stock_count_stock_controller_di" bpmnElement="Lane_stock_count_stock_controller" isHorizontal="true">
<dc:Bounds x="30" y="780" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Start_stock_count_di" bpmnElement="Start_stock_count">
<dc:Bounds x="157" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_start_count_di" bpmnElement="Task_start_count">
<dc:Bounds x="295" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_record_counted_di" bpmnElement="Task_record_counted">
<dc:Bounds x="635" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_submit_count_di" bpmnElement="Task_submit_count">
<dc:Bounds x="805" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_ai_explain_variance_di" bpmnElement="Task_ai_explain_variance">
<dc:Bounds x="1145" y="540" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_apply_small_di" bpmnElement="Task_apply_small">
<dc:Bounds x="1485" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_approve_count_di" bpmnElement="Task_approve_count">
<dc:Bounds x="1485" y="800" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_apply_approved_di" bpmnElement="Task_apply_approved">
<dc:Bounds x="1655" y="540" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_reject_count_di" bpmnElement="Task_reject_count">
<dc:Bounds x="1485" y="920" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_recount_di" bpmnElement="Task_recount">
<dc:Bounds x="1655" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_record_counted__if_di" bpmnElement="Gateway_record_counted__if">
<dc:Bounds x="490" y="295" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_record_counted__if_end_di" bpmnElement="Gateway_record_counted__if_end">
<dc:Bounds x="660" y="415" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ai_explain_variance__if_di" bpmnElement="Gateway_ai_explain_variance__if">
<dc:Bounds x="1000" y="555" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ai_explain_variance__if_end_di" bpmnElement="Gateway_ai_explain_variance__if_end">
<dc:Bounds x="1170" y="675" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_stock_count_submitted__if_di" bpmnElement="Gateway_stock_count_submitted__if">
<dc:Bounds x="1340" y="35" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_stock_count_applied_di" bpmnElement="End_stock_count_applied">
<dc:Bounds x="1687" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Start_stock_count__Task_start_count_di" bpmnElement="Flow_Start_stock_count__Task_start_count">
<di:waypoint x="193" y="60" />
<di:waypoint x="295" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_record_counted__if__Task_record_counted_di" bpmnElement="Flow_Gateway_record_counted__if__Task_record_counted">
<di:waypoint x="540" y="320" />
<di:waypoint x="635" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_record_counted__if__Gateway_record_counted__if_end_di" bpmnElement="Flow_Gateway_record_counted__if__Gateway_record_counted__if_end">
<di:waypoint x="540" y="320" />
<di:waypoint x="635" y="320" />
<di:waypoint x="635" y="440" />
<di:waypoint x="660" y="440" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_record_counted__Gateway_record_counted__if_end_di" bpmnElement="Flow_Task_record_counted__Gateway_record_counted__if_end">
<di:waypoint x="685" y="360" />
<di:waypoint x="685" y="480" />
<di:waypoint x="685" y="480" />
<di:waypoint x="685" y="465" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_record_counted__if_end__Task_submit_count_di" bpmnElement="Flow_Gateway_record_counted__if_end__Task_submit_count">
<di:waypoint x="710" y="440" />
<di:waypoint x="780" y="440" />
<di:waypoint x="780" y="60" />
<di:waypoint x="805" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_start_count__Gateway_record_counted__if_di" bpmnElement="Flow_Task_start_count__Gateway_record_counted__if">
<di:waypoint x="395" y="60" />
<di:waypoint x="465" y="60" />
<di:waypoint x="465" y="320" />
<di:waypoint x="490" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_explain_variance__if__Task_ai_explain_variance_di" bpmnElement="Flow_Gateway_ai_explain_variance__if__Task_ai_explain_variance">
<di:waypoint x="1050" y="580" />
<di:waypoint x="1145" y="580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_explain_variance__if__Gateway_ai_explain_variance__if_end_di" bpmnElement="Flow_Gateway_ai_explain_variance__if__Gateway_ai_explain_variance__if_end">
<di:waypoint x="1050" y="580" />
<di:waypoint x="1145" y="580" />
<di:waypoint x="1145" y="700" />
<di:waypoint x="1170" y="700" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_ai_explain_variance__Gateway_ai_explain_variance__if_end_di" bpmnElement="Flow_Task_ai_explain_variance__Gateway_ai_explain_variance__if_end">
<di:waypoint x="1195" y="620" />
<di:waypoint x="1195" y="746" />
<di:waypoint x="1195" y="746" />
<di:waypoint x="1195" y="725" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_stock_count_submitted__if__Task_apply_small_di" bpmnElement="Flow_Gateway_stock_count_submitted__if__Task_apply_small">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1485" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_stock_count_submitted__if__Task_approve_count_di" bpmnElement="Flow_Gateway_stock_count_submitted__if__Task_approve_count">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1460" y="60" />
<di:waypoint x="1460" y="840" />
<di:waypoint x="1485" y="840" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_stock_count_submitted__if__Task_reject_count_di" bpmnElement="Flow_Gateway_stock_count_submitted__if__Task_reject_count">
<di:waypoint x="1390" y="60" />
<di:waypoint x="1460" y="60" />
<di:waypoint x="1460" y="960" />
<di:waypoint x="1485" y="960" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ai_explain_variance__if_end__Gateway_stock_count_submitted__if_di" bpmnElement="Flow_Gateway_ai_explain_variance__if_end__Gateway_stock_count_submitted__if">
<di:waypoint x="1220" y="700" />
<di:waypoint x="1315" y="700" />
<di:waypoint x="1315" y="60" />
<di:waypoint x="1340" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_submit_count__Gateway_ai_explain_variance__if_di" bpmnElement="Flow_Task_submit_count__Gateway_ai_explain_variance__if">
<di:waypoint x="905" y="60" />
<di:waypoint x="975" y="60" />
<di:waypoint x="975" y="580" />
<di:waypoint x="1000" y="580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_apply_small__End_stock_count_applied_di" bpmnElement="Flow_Task_apply_small__End_stock_count_applied">
<di:waypoint x="1585" y="60" />
<di:waypoint x="1662" y="60" />
<di:waypoint x="1662" y="180" />
<di:waypoint x="1687" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_approve_count__Task_apply_approved_di" bpmnElement="Flow_Task_approve_count__Task_apply_approved">
<di:waypoint x="1585" y="840" />
<di:waypoint x="1630" y="840" />
<di:waypoint x="1630" y="580" />
<di:waypoint x="1655" y="580" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_apply_approved__End_stock_count_applied_di" bpmnElement="Flow_Task_apply_approved__End_stock_count_applied">
<di:waypoint x="1705" y="620" />
<di:waypoint x="1705" y="647" />
<di:waypoint x="1705" y="647" />
<di:waypoint x="1705" y="198" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_reject_count__Task_recount_di" bpmnElement="Flow_Task_reject_count__Task_recount">
<di:waypoint x="1585" y="960" />
<di:waypoint x="1630" y="960" />
<di:waypoint x="1630" y="60" />
<di:waypoint x="1655" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_recount__Gateway_record_counted__if_di" bpmnElement="Flow_Task_recount__Gateway_record_counted__if">
<di:waypoint x="1705" y="100" />
<di:waypoint x="1705" y="378" />
<di:waypoint x="515" y="378" />
<di:waypoint x="515" y="345" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>