<mxfile host="Electron" agent="Charles River website" version="29.6.6" type="device">
  <diagram id="cash-application" name="Cash Application | receipt is not invoice settlement">
    <mxGraphModel dx="1800" dy="1100" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1920" pageHeight="1280" math="0" shadow="0" background="#FFFFFF">
      <root>
        <mxCell id="0" />
        <mxCell id="1" parent="0" />
        <object id="title" label="Cash Application | receipt is not invoice settlement" bpmnType="heading">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;text;strokeColor=none;fillColor=none;fontSize=28;align=left;fontStyle=1;" vertex="1" parent="1">
            <mxGeometry x="40" y="15" width="1800" height="40" as="geometry" />
          </mxCell>
        </object>
        <object id="subtitle" label="BPMN 2.0 teaching model • one receipt / application review pass; a receipt can cover multiple invoices or remain partly unapplied." bpmnType="heading">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;text;strokeColor=none;fillColor=none;fontSize=14;align=left;" vertex="1" parent="1">
            <mxGeometry x="40" y="62" width="1800" height="34" as="geometry" />
          </mxCell>
        </object>
        <object id="charles-river" label="Charles River Home Furnishings, Inc. — organizational responsibilities are a teaching allocation" bpmnType="pool">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;swimlane;horizontal=1;startSize=38;collapsible=0;fontStyle=1;fillColor=#E9EFEA;swimlaneFillColor=#FFFFFF;" vertex="1" parent="1">
            <mxGeometry x="40" y="245" width="1800" height="498" as="geometry" />
          </mxCell>
        </object>
        <object id="treasury" label="Treasury" bpmnType="lane">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;swimlane;horizontal=0;startSize=135;collapsible=0;fontStyle=1;fillColor=#F2F4EF;swimlaneFillColor=#FFFFFF;" vertex="1" parent="charles-river">
            <mxGeometry x="0" y="38" width="1800" height="180" as="geometry" />
          </mxCell>
        </object>
        <object id="accounting" label="Customer accounting" bpmnType="lane">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;swimlane;horizontal=0;startSize=135;collapsible=0;fontStyle=1;fillColor=#F2F4EF;swimlaneFillColor=#FFFFFF;" vertex="1" parent="charles-river">
            <mxGeometry x="0" y="218" width="1800" height="280" as="geometry" />
          </mxCell>
        </object>
        <object id="customer" label="Customer" bpmnType="pool" blackBox="true">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;swimlane;horizontal=0;startSize=35;collapsible=0;fillColor=#F2F4EF;swimlaneFillColor=#FAF9F5;" vertex="1" parent="1">
            <mxGeometry x="40" y="125" width="1800" height="65" as="geometry" />
          </mxCell>
        </object>
        <object id="cash" label="Customer payment&#10;received" bpmnType="messageStart" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.event;outline=standard;symbol=message;perimeter=ellipsePerimeter;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="treasury">
            <mxGeometry x="185" y="47" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="receipt" label="Record receipt as&#10;cash / unapplied money" bpmnType="task" participant="charles-river" evidenceTables="CashReceipt,GLEntry">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.task2;rectStyle=rounded;size=10;taskMarker=abstract;container=0;expand=0;collapsible=0;fontSize=16;" vertex="1" parent="treasury">
            <mxGeometry x="290" y="32" width="205" height="66" as="geometry" />
          </mxCell>
        </object>
        <object id="matched" label="Invoice allocation&#10;identified?" bpmnType="exclusive" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.gateway2;outline=none;symbol=none;gwType=exclusive;perimeter=rhombusPerimeter;verticalLabelPosition=top;verticalAlign=bottom;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="610" y="62" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="apply" label="Record application(s)&#10;to selected invoice(s)" bpmnType="task" participant="charles-river" evidenceTables="CashReceiptApplication,SalesInvoice,GLEntry">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.task2;rectStyle=rounded;size=10;taskMarker=abstract;container=0;expand=0;collapsible=0;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="840" y="47" width="210" height="66" as="geometry" />
          </mxCell>
        </object>
        <object id="unmatched" label="Receipt remains&#10;unapplied" bpmnType="end" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.event;outline=end;symbol=general;perimeter=ellipsePerimeter;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="835" y="187" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="residual" label="Cash balance&#10;remaining?" bpmnType="exclusive" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.gateway2;outline=none;symbol=none;gwType=exclusive;perimeter=rhombusPerimeter;verticalLabelPosition=top;verticalAlign=bottom;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="1160" y="62" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="allocated" label="Receipt allocated&#10;in this pass" bpmnType="end" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.event;outline=end;symbol=general;perimeter=ellipsePerimeter;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="1470" y="52" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="retain" label="Retain residual&#10;unapplied amount" bpmnType="task" participant="charles-river" evidenceTables="CashReceipt,CashReceiptApplication">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.task2;rectStyle=rounded;size=10;taskMarker=abstract;container=0;expand=0;collapsible=0;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="1280" y="177" width="180" height="66" as="geometry" />
          </mxCell>
        </object>
        <object id="partly" label="Application recorded;&#10;residual remains" bpmnType="end" participant="charles-river">
          <mxCell style="html=0;fontFamily=Arial;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;shape=mxgraph.bpmn.event;outline=end;symbol=general;perimeter=ellipsePerimeter;aspect=fixed;verticalLabelPosition=bottom;verticalAlign=top;labelBackgroundColor=#FFFFFF;labelWidth=140;fontSize=16;" vertex="1" parent="accounting">
            <mxGeometry x="1650" y="182" width="42" height="42" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-1" label="" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="cash" target="receipt">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-2" label="" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="receipt" target="matched">
            <mxGeometry relative="1" as="geometry">
              <Array as="points">
                <mxPoint x="585" y="348" />
                <mxPoint x="585" y="546" />
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="flow-3" label="Yes" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="matched" target="apply">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-4" label="No" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="matched" target="unmatched">
            <mxGeometry relative="1" as="geometry">
              <Array as="points">
                <mxPoint x="760" y="546" />
                <mxPoint x="760" y="671" />
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="flow-5" label="" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="apply" target="residual">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-6" label="No" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="residual" target="allocated">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-7" label="Yes" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="residual" target="retain">
            <mxGeometry relative="1" as="geometry">
              <Array as="points">
                <mxPoint x="1270" y="546" />
                <mxPoint x="1270" y="673" />
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="flow-8" label="" flowType="sequence">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;startArrow=none;endArrow=blockThin;endFill=1;endSize=9;" edge="1" parent="1" source="retain" target="partly">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="flow-9" label="Payment" flowType="message">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;edgeStyle=orthogonalEdgeStyle;rounded=0;jettySize=15;fontSize=12;labelBackgroundColor=#FFFFFF;dashed=1;dashPattern=8 4;startArrow=oval;startFill=0;startSize=5;endArrow=blockThin;endFill=0;endSize=9;exitX=0.115;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="customer" target="cash">
            <mxGeometry relative="1" as="geometry" />
          </mxCell>
        </object>
        <object id="scope" label="Allocation decisions summarize the selected records, not an implemented matching queue. CashReceiptApplication is the authoritative invoice-settlement bridge.&#10;Do not use CashReceipt.SalesInvoiceID as that bridge. Proposed control: reconcile receipt amount, dated applications, residual cash and invoice balances without duplicating amounts." bpmnType="heading">
          <mxCell style="html=0;fontFamily=Arial;fontSize=14;fontColor=#152b35;strokeColor=#196252;strokeWidth=1.5;fillColor=#FFFFFF;whiteSpace=wrap;text;strokeColor=none;fillColor=none;fontSize=13;align=left;" vertex="1" parent="1">
            <mxGeometry x="40" y="767" width="1800" height="48" as="geometry" />
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
