Skip to content

Commit

Permalink
feat(FN-3813): update fee record state machine diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
RLavender98 committed Feb 12, 2025
1 parent 15808e5 commit 7b11abd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 79 deletions.
99 changes: 20 additions & 79 deletions doc/assets/fee-record-state-machine.drawio
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mxfile host="Electron" modified="2025-02-04T23:09:33.748Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.2 Chrome/114.0.5735.289 Electron/25.9.4 Safari/537.36" etag="wT_0s43O1JZI1VAOLGQM" version="22.1.2" type="device">
<mxfile host="app.diagrams.net" modified="2025-02-12T15:31:34.388Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" etag="F-QHsgjFR38F4n5wTpmw" version="24.3.0" type="device">
<diagram name="Page-1" id="NJPWzTDh_QYS_qL_PLhn">
<mxGraphModel dx="1536" dy="2183" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<mxGraphModel dx="2074" dy="2348" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
Expand Down Expand Up @@ -185,8 +185,8 @@
<mxPoint x="52.39000000000004" y="-526.25" as="targetPoint" />
<mxPoint x="607.8899999999999" y="-690" as="sourcePoint" />
<Array as="points">
<mxPoint x="723" y="-270" />
<mxPoint x="109" y="-270" />
<mxPoint x="723" y="-380" />
<mxPoint x="109" y="-380" />
</Array>
</mxGeometry>
</mxCell>
Expand All @@ -198,9 +198,8 @@
<mxCell id="Gj9VxU12owduN0ynIQGK-91" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-35" target="Gj9VxU12owduN0ynIQGK-4" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="778" y="-640" />
<mxPoint x="778" y="-240" />
<mxPoint x="10" y="-240" />
<mxPoint x="778" y="-340" />
<mxPoint x="10" y="-340" />
<mxPoint x="10" y="-1006" />
</Array>
</mxGeometry>
Expand All @@ -213,9 +212,6 @@
<mxCell id="Gj9VxU12owduN0ynIQGK-35" value="&lt;font style=&quot;font-size: 10px;&quot;&gt;HAS&lt;br&gt;CORRECTIONS?&lt;br&gt;&lt;/font&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#CCCCCC;fontColor=default;" parent="1" vertex="1">
<mxGeometry x="695.9299999999998" y="-790" width="110" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-49" value="* A fee record can be auto-reconciled if all of the following are true:&lt;br&gt;&lt;br&gt;- Fees paid to UKEF for the period is zero&lt;br&gt;- Fixed fee adjustment is zero&lt;br&gt;- Principal balance adjustment is zero" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="340" y="-180" width="447" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-57" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-79" target="Gj9VxU12owduN0ynIQGK-35" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="430" y="-806.875" as="sourcePoint" />
Expand Down Expand Up @@ -308,83 +304,26 @@
<mxGeometry x="540" y="-923" width="110" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-93" value="&lt;font color=&quot;#6600cc&quot;&gt;READY TO KEY&lt;/font&gt;" style="html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;whiteSpace=wrap;" parent="1" vertex="1">
<mxGeometry x="245.5" y="-407.5" width="120" height="67.5" as="geometry" />
<mxGeometry x="200" y="-490" width="120" height="67.5" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-94" value="&lt;font color=&quot;#6600cc&quot;&gt;RECONCILED&lt;/font&gt;" style="html=1;align=center;verticalAlign=middle;rounded=1;absoluteArcSize=1;arcSize=10;dashed=0;whiteSpace=wrap;" parent="1" vertex="1">
<mxGeometry x="490.50000000000045" y="-407.5" width="120" height="67.5" as="geometry" />
<mxGeometry x="445.00000000000045" y="-490" width="120" height="67.5" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-99" value="&lt;font style=&quot;font-size: 10px;&quot;&gt;IS FINAL FEE&lt;br&gt;RECORD FOR&lt;br&gt;FACILITY?&lt;br&gt;&lt;/font&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#CCCCCC;fontColor=default;" parent="1" vertex="1">
<mxCell id="Gj9VxU12owduN0ynIQGK-99" value="&lt;font style=&quot;font-size: 10px;&quot;&gt;ZERO FEES&lt;br&gt;PAID FOR&lt;br&gt;PERIOD?&lt;/font&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#CCCCCC;fontColor=default;" parent="1" vertex="1">
<mxGeometry x="329" y="-610" width="110" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-100" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-104" target="Gj9VxU12owduN0ynIQGK-94" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="181" y="-300" />
<mxPoint x="679" y="-300" />
<mxPoint x="679" y="-374" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-101" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-100" vertex="1" connectable="0">
<mxGeometry x="-0.8667" relative="1" as="geometry">
<mxPoint x="-2" y="-12" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-102" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-104" target="Gj9VxU12owduN0ynIQGK-93" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="236" y="-460" />
<mxPoint x="306" y="-460" />
<mxPoint x="306" y="-407" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-103" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-102" vertex="1" connectable="0">
<mxGeometry x="-0.8076" relative="1" as="geometry">
<mxPoint y="27" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-104" value="&lt;font style=&quot;font-size: 10px;&quot;&gt;ZERO FEES &lt;br&gt;PAID FOR&lt;br&gt;PERIOD?&lt;br&gt;&lt;/font&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#CCCCCC;fontColor=default;verticalAlign=middle;" parent="1" vertex="1">
<mxGeometry x="153.43000000000006" y="-610" width="110" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-105" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-109" target="Gj9VxU12owduN0ynIQGK-94" edge="1">
<mxCell id="Gj9VxU12owduN0ynIQGK-95" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-99" target="Gj9VxU12owduN0ynIQGK-93" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="250" y="-415" as="targetPoint" />
<mxPoint x="289" y="-550" as="sourcePoint" />
<Array as="points">
<mxPoint x="679" y="-555" />
<mxPoint x="679" y="-374" />
<mxPoint x="260" y="-555" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-106" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-105" vertex="1" connectable="0">
<mxGeometry x="-0.9004" relative="1" as="geometry">
<mxPoint x="8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-107" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-109" target="Gj9VxU12owduN0ynIQGK-93" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="574" y="-460" />
<mxPoint x="306" y="-460" />
<mxPoint x="306" y="-407" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-108" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-107" vertex="1" connectable="0">
<mxGeometry x="-0.1506" y="-1" relative="1" as="geometry">
<mxPoint x="113" y="-20" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-109" value="&lt;font style=&quot;font-size: 10px;&quot;&gt;CAN FEE&lt;br&gt;RECORD BE AUTO-RECONCILED?*&lt;br&gt;&lt;/font&gt;" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#CCCCCC;fontColor=default;verticalAlign=middle;" parent="1" vertex="1">
<mxGeometry x="519" y="-610" width="110" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-95" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-99" target="Gj9VxU12owduN0ynIQGK-104" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="374" y="-238.75" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-96" value="NO" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-95" vertex="1" connectable="0">
<mxGeometry x="-0.726" y="-1" relative="1" as="geometry">
<mxPoint x="-12" y="1" as="offset" />
<mxPoint x="1" y="1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-110" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;edgeStyle=orthogonalEdgeStyle;entryX=0;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-93" target="Gj9VxU12owduN0ynIQGK-94" edge="1">
Expand All @@ -398,12 +337,14 @@
<mxPoint x="5" y="-4" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-97" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-99" target="Gj9VxU12owduN0ynIQGK-109" edge="1">
<mxGeometry relative="1" as="geometry" />
<mxCell id="Gj9VxU12owduN0ynIQGK-97" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-99" target="Gj9VxU12owduN0ynIQGK-94" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="550" y="-410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-98" value="YES" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="Gj9VxU12owduN0ynIQGK-97" vertex="1" connectable="0">
<mxGeometry x="-0.2222" y="-2" relative="1" as="geometry">
<mxPoint x="-10" y="-2" as="offset" />
<mxPoint x="-33" y="-17" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-112" value="" style="endArrow=classic;html=1;rounded=0;edgeStyle=orthogonalEdgeStyle;entryX=1;entryY=0.75;entryDx=0;entryDy=0;exitX=0;exitY=0.75;exitDx=0;exitDy=0;" parent="1" source="Gj9VxU12owduN0ynIQGK-94" target="Gj9VxU12owduN0ynIQGK-93" edge="1">
Expand All @@ -418,7 +359,7 @@
</mxGeometry>
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-116" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="10" y="-180" width="310" height="110" as="geometry" />
<mxGeometry x="10" y="-320" width="310" height="110" as="geometry" />
</mxCell>
<mxCell id="Gj9VxU12owduN0ynIQGK-117" value="KEY" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingLeft=5;fontStyle=5" parent="Gj9VxU12owduN0ynIQGK-116" vertex="1">
<mxGeometry width="310" height="110" as="geometry" />
Expand Down
Binary file modified doc/assets/fee-record-state-machine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b11abd

Please sign in to comment.