转运工单#
TransferOrder.Show
可以从一个或多个转运要求或提货单创建转运工单,但可以随时临时创建转运工单以将物料从一个位置移动到另一个位置。 转运工单也可用于发送不含单个物料(包装设备)的数量。这是为了涵盖ERP将发送数量而不是单个包装设备的情况。在这种情况下,必须在交付转运工单之后且在将其标记为已关闭之前创建单个包装设备。
转运工单在其生命周期中遵循如下图所示的状态模型。
graph TD
Start ==>|Create| A1[Open]
A1 ==>|Begin| A2[In Progress]
A2 ==>|Deliver| A3[Delivered]
A3 ==>|Confirm| A4[Closed]
A1 ---> A5[Canceled]
A1 --> A3
A1 --> A4
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%;
classDef mermaid_state color:#000, fill:#d7e4bd, stroke:#000, stroke-width:1px, font-size:100%, font-weight:300;
class Start mermaid_start
class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_state 下表进一步介绍了生命周期:
| 状态 | 描述 |
|---|---|
| 打开 | 转运工单已经创建,可以执行了。 |
| 进行中 | 正在执行转运工单(物料正在运输中)。 |
| 已交付 | 运输工单中的物料已交付。 |
| 已关闭 | 任何没有唯一ID的物料都已在系统中创建。这是为了说明外部系统(ERP)将批量发送数量而不是发送单个物料ID的情况。 |
| 已取消 | 转运工单已取消 |
Table: 转运工单生命周期
将一切捆绑在一起#
graph LR
L1[Transfer Requirement] --- L2[Transfer Requirement Item]
L3[Pick List] --- L4[Pick List Item]
Main[Transfer Order] === L5[Transfer Order Item]
A1[Source Location] --- Main --- A2[Destination Location]
L4 --- A3[Material] -.- L5 --- A4[Product]
L4 -.- L5
L2 -.- L5
classDef mermaid_title color:#000, fill:#fafafa, stroke:#fafafa, stroke-width:0x, font-size:100%, font-weight:200;
classDef mermaid_start color:#000, fill:#fafafa, stroke:#fafafa, color:#fafafa, stroke-width:0x, font-size:100%, visibility: hidden;
classDef mermaid_businessdata color:#000, fill:#65CDE8, stroke:#65CDE8, stroke-width:0px, font-size:100%;
classDef mermaid_nonbusinessdata color:#000, fill:#B7DEE8, stroke:#B7DEE8, stroke-width:0px, font-size:100%;
classDef mermaid_entity color:#000, fill:#FB9F53, stroke:#FB9F53, stroke-width:0px, font-size:100%;
classDef mermaid_entitylinked color:#000, fill:#FCD5B5, stroke:#FCD5B5, stroke-width:0px, font-size:100%;
classDef mermaid_context color:#000, fill:#B9CDE5, stroke:#B9CDE5, stroke-width:0px, font-size:100%;
classDef mermaid_optional color:#000, fill:#B7DEE8, stroke:#65CDE8, stroke-width:1px, font-size:100%, stroke-dasharray: 5 5;
class Main mermaid_entity
class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10 mermaid_businessdata
class L1,L2,L3,L4,L5,L6 mermaid_entitylinked
class C1,C2,C3,C4,C5,C6 mermaid_context
class N1,N2,N3,N4,N5,N6 mermaid_nonbusinessdata
click Main "../../business-data/transfer-order"
click A1,A2 "../../business-data/area"
click A3 "../../business-data/material"
click A4 "../../business-data/product"
click L1 "../../business-data/transfer-requirement"
click L3 "../../business-data/pick-list"