feat(manifest): add externalNumber reference to quote/order/delivery
- Add `external_number NVARCHAR(100)` column to the `manifest` table. - Thread `externalNumber` through manifestDoc and delivery SQL (list, header, create, update). - Include `externalNumber` in shapeSummary and quote/order/delivery create/update/list/getById handlers (optional, clearable on update). - Update README type definitions and regenerate API/schema docs.
This commit is contained in:
176
schema-graph.svg
176
schema-graph.svg
@@ -1513,54 +1513,54 @@
|
||||
<!-- manifestarticle -->
|
||||
<g id="node32" class="node">
|
||||
<title>manifestarticle</title>
|
||||
<polygon fill="#bee3f8" stroke="none" points="147.32,-1088.2 147.32,-1116.6 306.68,-1116.6 306.68,-1088.2 147.32,-1088.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-1088.2 147.32,-1116.6 306.68,-1116.6 306.68,-1088.2 147.32,-1088.2"/>
|
||||
<polygon fill="#bee3f8" stroke="none" points="149.32,-1110.6 149.32,-1114.6 304.68,-1114.6 304.68,-1110.6 149.32,-1110.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="184.65" y="-1097.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#1a365d">manifestarticle</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="147.32,-1061.4 147.32,-1088.2 306.68,-1088.2 306.68,-1061.4 147.32,-1061.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-1061.4 147.32,-1088.2 306.68,-1088.2 306.68,-1061.4 147.32,-1061.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-1071.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.18" y="-1073.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="289.18" y="-1073.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">PK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="147.32,-1034.6 147.32,-1061.4 306.68,-1061.4 306.68,-1034.6 147.32,-1034.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-1034.6 147.32,-1061.4 306.68,-1061.4 306.68,-1034.6 147.32,-1034.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-1044.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">manifest_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.69" y="-1046.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="289.68" y="-1046.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="147.32,-1007.8 147.32,-1034.6 306.68,-1034.6 306.68,-1007.8 147.32,-1007.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-1007.8 147.32,-1034.6 306.68,-1034.6 306.68,-1007.8 147.32,-1007.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-1018" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">tax_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.69" y="-1019.5" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="289.68" y="-1019.5" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="147.32,-981 147.32,-1007.8 306.68,-1007.8 306.68,-981 147.32,-981"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-981 147.32,-1007.8 306.68,-1007.8 306.68,-981 147.32,-981"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-991.2" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">article_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="213.79" y="-991.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.69" y="-992.7" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="289.68" y="-992.7" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="147.32,-954.2 147.32,-981 306.68,-981 306.68,-954.2 147.32,-954.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-954.2 147.32,-981 306.68,-981 306.68,-954.2 147.32,-954.2"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-962" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">amount</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.68" y="-964" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="147.32,-927.4 147.32,-954.2 306.68,-954.2 306.68,-927.4 147.32,-927.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-927.4 147.32,-954.2 306.68,-954.2 306.68,-927.4 147.32,-927.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-935.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">net</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.68" y="-937.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="147.32,-900.6 147.32,-927.4 306.68,-927.4 306.68,-900.6 147.32,-900.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-900.6 147.32,-927.4 306.68,-927.4 306.68,-900.6 147.32,-900.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-908.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">comment?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="225.68" y="-910.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(MAX)</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="147.32,-873.8 147.32,-900.6 306.68,-900.6 306.68,-873.8 147.32,-873.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="147.32,-873.8 147.32,-900.6 306.68,-900.6 306.68,-873.8 147.32,-873.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="152.32" y="-881.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">rebate</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="272.68" y="-883.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
<polygon fill="#bee3f8" stroke="none" points="143.32,-1088.2 143.32,-1116.6 302.68,-1116.6 302.68,-1088.2 143.32,-1088.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-1088.2 143.32,-1116.6 302.68,-1116.6 302.68,-1088.2 143.32,-1088.2"/>
|
||||
<polygon fill="#bee3f8" stroke="none" points="145.32,-1110.6 145.32,-1114.6 300.68,-1114.6 300.68,-1110.6 145.32,-1110.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="180.65" y="-1097.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#1a365d">manifestarticle</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="143.32,-1061.4 143.32,-1088.2 302.68,-1088.2 302.68,-1061.4 143.32,-1061.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-1061.4 143.32,-1088.2 302.68,-1088.2 302.68,-1061.4 143.32,-1061.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-1071.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.18" y="-1073.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="285.18" y="-1073.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">PK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="143.32,-1034.6 143.32,-1061.4 302.68,-1061.4 302.68,-1034.6 143.32,-1034.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-1034.6 143.32,-1061.4 302.68,-1061.4 302.68,-1034.6 143.32,-1034.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-1044.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">manifest_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.69" y="-1046.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="285.68" y="-1046.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="143.32,-1007.8 143.32,-1034.6 302.68,-1034.6 302.68,-1007.8 143.32,-1007.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-1007.8 143.32,-1034.6 302.68,-1034.6 302.68,-1007.8 143.32,-1007.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-1018" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">tax_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.69" y="-1019.5" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="285.68" y="-1019.5" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="143.32,-981 143.32,-1007.8 302.68,-1007.8 302.68,-981 143.32,-981"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-981 143.32,-1007.8 302.68,-1007.8 302.68,-981 143.32,-981"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-991.2" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">article_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="209.79" y="-991.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.69" y="-992.7" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="285.68" y="-992.7" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="143.32,-954.2 143.32,-981 302.68,-981 302.68,-954.2 143.32,-954.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-954.2 143.32,-981 302.68,-981 302.68,-954.2 143.32,-954.2"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-962" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">amount</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.68" y="-964" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="143.32,-927.4 143.32,-954.2 302.68,-954.2 302.68,-927.4 143.32,-927.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-927.4 143.32,-954.2 302.68,-954.2 302.68,-927.4 143.32,-927.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-935.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">net</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.68" y="-937.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="143.32,-900.6 143.32,-927.4 302.68,-927.4 302.68,-900.6 143.32,-900.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-900.6 143.32,-927.4 302.68,-927.4 302.68,-900.6 143.32,-900.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-908.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">comment?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="221.68" y="-910.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(MAX)</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="143.32,-873.8 143.32,-900.6 302.68,-900.6 302.68,-873.8 143.32,-873.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="143.32,-873.8 143.32,-900.6 302.68,-900.6 302.68,-873.8 143.32,-873.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="148.32" y="-881.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">rebate</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="268.68" y="-883.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">FLOAT</text>
|
||||
</g>
|
||||
<!-- ledger->manifestarticle -->
|
||||
<g id="edge51" class="edge">
|
||||
<title>ledger:ne->manifestarticle:n</title>
|
||||
<g id="a_edge51"><a xlink:title="FK_ledger_manifestarticle">
|
||||
<path fill="none" stroke="#2b6cb0" stroke-width="1.4" d="M223.42,-1480C223.42,-1480 226.36,-1180.72 226.91,-1124.61"/>
|
||||
<polygon fill="#2b6cb0" stroke="#2b6cb0" stroke-width="1.4" points="229.36,-1124.74 226.98,-1117.72 224.46,-1124.69 229.36,-1124.74"/>
|
||||
<path fill="none" stroke="#2b6cb0" stroke-width="1.4" d="M223.42,-1480C223.42,-1480 223.07,-1180.72 223.01,-1124.61"/>
|
||||
<polygon fill="#2b6cb0" stroke="#2b6cb0" stroke-width="1.4" points="225.46,-1124.72 223,-1117.72 220.56,-1124.72 225.46,-1124.72"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -1568,7 +1568,7 @@
|
||||
<g id="edge49" class="edge">
|
||||
<title>manifestarticle:e->article:n</title>
|
||||
<g id="a_edge49"><a xlink:title="FK_manifestarticle_article">
|
||||
<path fill="none" stroke="#c53030" stroke-width="1.4" d="M307.68,-994.4C447.45,-994.4 394.65,-1168.27 523,-1223.6 637.08,-1272.77 2637.84,-1251.01 2759,-1223.6 2797.07,-1214.99 2838.02,-1223.39 2844.19,-1191.59"/>
|
||||
<path fill="none" stroke="#c53030" stroke-width="1.4" d="M303.68,-994.4C444.67,-994.4 393.34,-1168.21 523,-1223.6 637.24,-1272.4 2637.84,-1251.01 2759,-1223.6 2797.07,-1214.99 2838.02,-1223.39 2844.19,-1191.59"/>
|
||||
<polygon fill="#c53030" stroke="#c53030" stroke-width="1.4" points="2846.62,-1191.9 2844.79,-1184.71 2841.74,-1191.47 2846.62,-1191.9"/>
|
||||
</a>
|
||||
</g>
|
||||
@@ -1576,45 +1576,49 @@
|
||||
<!-- manifest -->
|
||||
<g id="node33" class="node">
|
||||
<title>manifest</title>
|
||||
<polygon fill="#bee3f8" stroke="none" points="84.51,-685 84.51,-713.4 221.49,-713.4 221.49,-685 84.51,-685"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-685 84.51,-713.4 221.49,-713.4 221.49,-685 84.51,-685"/>
|
||||
<polygon fill="#bee3f8" stroke="none" points="86.51,-707.4 86.51,-711.4 219.49,-711.4 219.49,-707.4 86.51,-707.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="128.33" y="-694.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#1a365d">manifest</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="84.51,-658.2 84.51,-685 221.49,-685 221.49,-658.2 84.51,-658.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-658.2 84.51,-685 221.49,-685 221.49,-658.2 84.51,-658.2"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-668.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="186.99" y="-669.9" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="203.99" y="-669.9" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">PK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="84.51,-631.4 84.51,-658.2 221.49,-658.2 221.49,-631.4 84.51,-631.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-631.4 84.51,-658.2 221.49,-658.2 221.49,-631.4 84.51,-631.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-641.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">entity_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="147.07" y="-641.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="187.5" y="-643.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="204.5" y="-643.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="84.51,-604.6 84.51,-631.4 221.49,-631.4 221.49,-604.6 84.51,-604.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-604.6 84.51,-631.4 221.49,-631.4 221.49,-604.6 84.51,-604.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-614.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">company_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="187.5" y="-616.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="204.5" y="-616.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="84.51,-577.8 84.51,-604.6 221.49,-604.6 221.49,-577.8 84.51,-577.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-577.8 84.51,-604.6 221.49,-604.6 221.49,-577.8 84.51,-577.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-585.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">number</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="144.98" y="-587.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(100)</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="84.51,-551 84.51,-577.8 221.49,-577.8 221.49,-551 84.51,-551"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-551 84.51,-577.8 221.49,-577.8 221.49,-551 84.51,-551"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-558.8" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">type</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="144.98" y="-560.8" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(100)</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="84.51,-524.2 84.51,-551 221.49,-551 221.49,-524.2 84.51,-524.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="84.51,-524.2 84.51,-551 221.49,-551 221.49,-524.2 84.51,-524.2"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="89.51" y="-532" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">date</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="165.99" y="-534" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">DATETIME2</text>
|
||||
<polygon fill="#bee3f8" stroke="none" points="45.82,-698.4 45.82,-726.8 248.18,-726.8 248.18,-698.4 45.82,-698.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-698.4 45.82,-726.8 248.18,-726.8 248.18,-698.4 45.82,-698.4"/>
|
||||
<polygon fill="#bee3f8" stroke="none" points="47.82,-720.8 47.82,-724.8 246.18,-724.8 246.18,-720.8 47.82,-720.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="122.33" y="-708" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#1a365d">manifest</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="45.82,-671.6 45.82,-698.4 248.18,-698.4 248.18,-671.6 45.82,-671.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-671.6 45.82,-698.4 248.18,-698.4 248.18,-671.6 45.82,-671.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-681.8" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="213.68" y="-683.3" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="230.68" y="-683.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">PK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="45.82,-644.8 45.82,-671.6 248.18,-671.6 248.18,-644.8 45.82,-644.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-644.8 45.82,-671.6 248.18,-671.6 248.18,-644.8 45.82,-644.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-655" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">entity_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="108.38" y="-655" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="214.19" y="-656.5" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="231.19" y="-656.5" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#ebf8ff" stroke="none" points="45.82,-618 45.82,-644.8 248.18,-644.8 248.18,-618 45.82,-618"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-618 45.82,-644.8 248.18,-644.8 248.18,-618 45.82,-618"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-628.2" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#2d3748">company_id</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="214.19" y="-629.7" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">INT </text>
|
||||
<text xml:space="preserve" text-anchor="start" x="231.19" y="-629.7" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#718096">FK</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="45.82,-591.2 45.82,-618 248.18,-618 248.18,-591.2 45.82,-591.2"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-591.2 45.82,-618 248.18,-618 248.18,-591.2 45.82,-591.2"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-599" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">number</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="171.67" y="-601" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(100)</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="45.82,-564.4 45.82,-591.2 248.18,-591.2 248.18,-564.4 45.82,-564.4"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-564.4 45.82,-591.2 248.18,-591.2 248.18,-564.4 45.82,-564.4"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-572.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">type</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="171.67" y="-574.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(100)</text>
|
||||
<polygon fill="#f7fafc" stroke="none" points="45.82,-537.6 45.82,-564.4 248.18,-564.4 248.18,-537.6 45.82,-537.6"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-537.6 45.82,-564.4 248.18,-564.4 248.18,-537.6 45.82,-537.6"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-545.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">external_number?</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="171.67" y="-547.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">NVARCHAR(100)</text>
|
||||
<polygon fill="#ffffff" stroke="none" points="45.82,-510.8 45.82,-537.6 248.18,-537.6 248.18,-510.8 45.82,-510.8"/>
|
||||
<polygon fill="none" stroke="#a0aec0" points="45.82,-510.8 45.82,-537.6 248.18,-537.6 248.18,-510.8 45.82,-510.8"/>
|
||||
<text xml:space="preserve" text-anchor="start" x="50.82" y="-518.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#2d3748">date</text>
|
||||
<text xml:space="preserve" text-anchor="start" x="192.68" y="-520.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#718096">DATETIME2</text>
|
||||
</g>
|
||||
<!-- manifestarticle->manifest -->
|
||||
<g id="edge48" class="edge">
|
||||
<title>manifestarticle:sw->manifest:n</title>
|
||||
<g id="a_edge48"><a xlink:title="FK_manifestarticle_manifest">
|
||||
<path fill="none" stroke="#805ad5" stroke-width="1.4" d="M146.32,-1034.6C47.12,-935.4 148.66,-858.83 152.87,-721.13"/>
|
||||
<polygon fill="#805ad5" stroke="#805ad5" stroke-width="1.4" points="155.31,-721.56 152.97,-714.52 150.41,-721.48 155.31,-721.56"/>
|
||||
<path fill="none" stroke="#805ad5" stroke-width="1.4" d="M142.32,-1034.6C47.35,-939.63 142.72,-866.27 146.86,-734.56"/>
|
||||
<polygon fill="#805ad5" stroke="#805ad5" stroke-width="1.4" points="149.31,-734.96 146.97,-727.92 144.41,-734.88 149.31,-734.96"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -1622,8 +1626,8 @@
|
||||
<g id="edge50" class="edge">
|
||||
<title>manifestarticle:sw->tax:n</title>
|
||||
<g id="a_edge50"><a xlink:title="FK_manifestarticle_tax">
|
||||
<path fill="none" stroke="#2f855a" stroke-width="1.4" d="M146.32,-1007.8C102.95,-964.43 124.83,-926.86 147.32,-869.8 175.17,-799.13 228.98,-811.91 263,-744 294.15,-681.82 376.45,-212.72 382.04,-115.85"/>
|
||||
<polygon fill="#2f855a" stroke="#2f855a" stroke-width="1.4" points="384.48,-116.2 382.27,-109.12 379.59,-116.03 384.48,-116.2"/>
|
||||
<path fill="none" stroke="#2f855a" stroke-width="1.4" d="M142.32,-1007.8C98.95,-964.43 117.5,-925.43 143.32,-869.8 179.48,-791.9 248.61,-819.25 290,-744 357.53,-621.25 381.36,-265.05 382.31,-116.08"/>
|
||||
<polygon fill="#2f855a" stroke="#2f855a" stroke-width="1.4" points="384.76,-116.13 382.34,-109.12 379.86,-116.11 384.76,-116.13"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -1631,7 +1635,7 @@
|
||||
<g id="edge47" class="edge">
|
||||
<title>manifest:e->entity:n</title>
|
||||
<g id="a_edge47"><a xlink:title="FK_manifest_entity">
|
||||
<path fill="none" stroke="#3182ce" stroke-width="1.4" d="M222.49,-644.8C370.25,-644.8 406.12,-702.91 515,-802.8 631.93,-910.08 572.64,-1023.59 711.05,-1101.2 719.06,-1105.69 730.18,-1110.77 736.62,-1109.47"/>
|
||||
<path fill="none" stroke="#3182ce" stroke-width="1.4" d="M249.18,-658.2C383.67,-658.2 416.03,-711.73 515,-802.8 631.77,-910.25 572.64,-1023.59 711.05,-1101.2 719.06,-1105.69 730.18,-1110.77 736.62,-1109.47"/>
|
||||
<polygon fill="#3182ce" stroke="#3182ce" stroke-width="1.4" points="738.5,-1111.05 740.56,-1103.93 734.51,-1108.21 738.5,-1111.05"/>
|
||||
</a>
|
||||
</g>
|
||||
@@ -1640,8 +1644,8 @@
|
||||
<g id="edge46" class="edge">
|
||||
<title>manifest:e->company:n</title>
|
||||
<g id="a_edge46"><a xlink:title="FK_manifest_company">
|
||||
<path fill="none" stroke="#38a169" stroke-width="1.4" d="M222.49,-618C350.84,-618 364.57,-538.25 489,-506.8 569.24,-486.52 1209.73,-513.54 1254.66,-438.43"/>
|
||||
<polygon fill="#38a169" stroke="#38a169" stroke-width="1.4" points="1256.98,-439.24 1256.56,-431.84 1252.27,-437.88 1256.98,-439.24"/>
|
||||
<path fill="none" stroke="#38a169" stroke-width="1.4" d="M249.18,-631.4C369.3,-631.4 373.89,-541.09 489,-506.8 568.32,-483.17 1209.66,-513.31 1254.66,-438.41"/>
|
||||
<polygon fill="#38a169" stroke="#38a169" stroke-width="1.4" points="1256.97,-439.24 1256.56,-431.84 1252.26,-437.88 1256.97,-439.24"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -1700,10 +1704,10 @@
|
||||
</g>
|
||||
<!-- price->tax -->
|
||||
<g id="edge43" class="edge">
|
||||
<title>price:nw->tax:n</title>
|
||||
<title>price:sw->tax:n</title>
|
||||
<g id="a_edge43"><a xlink:title="FK_price_tax">
|
||||
<path fill="none" stroke="#285e61" stroke-width="1.4" d="M305.05,-1466.6C305.05,-1466.6 306.05,-1328.6 306.05,-1328.6 315.94,-1263.84 337.75,-1252.14 349,-1187.6 431.08,-716.9 403.03,-589.47 402.67,-116.11"/>
|
||||
<polygon fill="#285e61" stroke="#285e61" stroke-width="1.4" points="405.13,-116.12 402.67,-109.12 400.23,-116.12 405.13,-116.12"/>
|
||||
<path fill="none" stroke="#285e61" stroke-width="1.4" d="M305.05,-1439.8C224.8,-1359.55 326.4,-1299.55 345,-1187.6 423.31,-716.16 402.94,-589.55 402.67,-116.12"/>
|
||||
<polygon fill="#285e61" stroke="#285e61" stroke-width="1.4" points="405.12,-116.12 402.67,-109.12 400.22,-116.12 405.12,-116.12"/>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 188 KiB |
Reference in New Issue
Block a user