# EDI Direct

  • PO and PO response 订单及订单回复

    • PO 订单
    • PO Response
  • PO Change and Response 订单变更及订单

    • CRD Pull In 交期提前
    • CRD Push Out 需求日推迟
    • QTY Descrease 数量减少
    • Cancellation 订单取消
    • Price Change 价格变动
    • Item with Partial Delivery 部分交货
      • CRD Push Out 需求日推迟

      • QTY Decrease 数量减少

      • Cancellation for balance QTY 取消订单剩余数量

# EDI Sequence Diagram use mermaid

Mermaid-Diagramming and charting tool

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sequence Diagram</title>
</head>

<body>
<pre class="mermaid">
sequenceDiagram
participant Customer
box rgb(169, 211, 242) Supplier
participant EDI
actor ERP
participant MES
end

Customer->>EDI: EDI 850
alt Normal
EDI->>ERP: Create Purchase Order
ERP->>ERP: Purchase Order sign
ERP-->>EDI: EDI 855 Request
EDI-->>Customer: EDI 855
else Reject
ERP--xEDI: not implement yet
end

loop Maybe Multi Times
Customer->>EDI: EDI 860
EDI->>ERP: Create Purchase Order Change
ERP->>ERP: Purchase Order Change sign
ERP-->>EDI: EDI 865 Request
EDI-->>Customer: EDI 865
rect yellow
opt Supplier Initiated Change
ERP--)ERP: Create Purchase Order Change
ERP--)EDI: EDI: EDI 865 Request
EDI--)Customer: EDI 865
Note over Customer,ERP: Supplier can only change the request date
end
end
end

ERP->>ERP: Create Delivery/Packing/Invoice
%% create participant MES
ERP->>MES: Submit MES
%% activate MES
MES-->>Customer: Physical Delivery
MES->>ERP: Copy MES data to ERP every odd hour
%% deactivate MES
ERP-->>EDI: EDI 856 Request
EDI-->>Customer: EDI 856
ERP-->>EDI: EDI 810 Request
EDI-->>Customer: EDI 810
</pre
>
<script type="module">
import mermaid from "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs";
mermaid.initialize({ startOnLoad: true });
</script>
</body>
</html>

在 debug 模式, Ctrl + Shift + P 执行 Capture full size screenshot

# EDI Sequence Diagram use PlantUML

PlantUML is a highly versatile tool that facilitates the rapid and straightforward creation of a wide array of diagrams.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@startuml EDI Sequence
!theme crt-green

participant Customer
box "Supplier" #DimGray
participant EDI
actor ERP
participant MES
end box

Customer -> EDI: EDI 850
alt Normal
EDI -> ERP: Create Purchase Order
ERP -> ERP: Purchase Order sign
ERP --> EDI: EDI 855 Request
EDI --> Customer: EDI 855
else Reject
ERP -->x EDI: not implement yet
end

loop Maybe Multi Times
Customer -> EDI: EDI 860
EDI -> ERP: Create Purchase Order Change
ERP -> ERP: Purchase Order Change sign
ERP --> EDI: EDI 865 Request
EDI --> Customer: EDI 865
opt Supplier Initiated Change
ERP ->> ERP: Create Purchase Order Change
ERP ->> EDI: EDI: EDI 865 Request
EDI ->> Customer: EDI 865
Note over Customer,ERP: Supplier can only change the request date
end
end

ERP -> ERP: Create Delivery/Packing/Invoice
ERP -> MES: Submit MES
MES --> Customer: Physical Delivery
MES -> ERP: Copy MES data to ERP every odd hour
ERP --> EDI: EDI 856 Request
EDI --> Customer: EDI 856
ERP --> EDI: EDI 810 Request
EDI --> Customer: EDI 810

@enduml

# VMI

# HUB

Edited on