跳转至

生产工单#

🔒 ProductionOrder.Show

概述#

生产工单代表通过一种或多种物料实现的需求。系统将跟踪所有生产工单物料、物料数量及物料状态(正在进行、已完成和已交付

Info

“工单管理”是可选的凯睿德制造软件模块。

可以限制生产工单。受限制的生产工单不能将物料从生产工单中删除或分配给生产工单(拆分和扩展物料除外,这实际上会将新物料保留在同一生产工单中)。

生产工单对象根据当前与其关联的物料跟踪以下数量 - 这些数量会自动调整以考虑单位更改。

  • 进行中的数量
  • 已完成的数量
  • 已交付的数量

如果物料到达将标记产品完成属性设置为true的步骤,则视为已完成。在这种情况下,如果物料具有关联的生产工单,系统将强制物料具有相同的产品,并且单位生产工单中定义的单位相同。

如果物料被运送到远程工厂设施或自动终止使用物料的本地工厂设施,则视为已交付

graph LR
subgraph Material In Progress
    A1[Step X]
end
subgraph Material Completed
    A2["Step Y<br><br><em>Marks Product Completion</em>"]
end
subgraph Material Delivered
    A3["Facility F<br><br><em>Remote<br>or<br>Local with automatic termination</em>"]
end
    A1 -->|Move Next| A2
    A2 -->|Ship|A3

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;
classDef mermaid_state color:#000, fill:#d7e4bd, stroke:#000, stroke-width:1px, font-size:100%, font-weight:300;
class Main1,Main2 mermaid_entity
class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_state

如果已完成的数量大于或等于生产工单数量且小于或等于(1 + 超额交付容差)且不包含任何正在进行物料,则可以关闭生产工单已关闭生产工单不能更改其产品或数量,也不能从中分配或删除任何物料。与已关闭生产工单关联的所有物料都不能更改产品、数量、单位(由步骤*给出)或IsProductionComplete属性(由步骤**给出)。

状态模型#

系统中的所有生产工单均遵循以下状态模型。

graph TD
    Start1 -.->|Unterminate| A1[Created]
    A1 -->|Release| A2[Released]
    A2 -->|Unrelease| A1
    A2 --->|<em>Automatic</em>| N1[In Progress]
    N1 --->|<em>Automatic</em>| N2[Completed]
    Start2 -..->|Unterminate| N1
    Start3 -..->|Unterminate| N2
    N2 ---> N1
    A2 --->|Cancel| A6[Canceled]
    N1 --->|Cancel| A6[Canceled]
    N2 --->|Cancel| A6[Canceled]
    N2 --->|Close| A5[Closed]
    A5 --->|Reopen| N2

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;
classDef mermaid_state color:#000, fill:#d7e4bd, stroke:#000, stroke-width:1px, font-size:100%, font-weight:300;
class Main1,Main2 mermaid_entity
class Start1,Start2,Start3 mermaid_start
class A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12 mermaid_state
class N1,N2 mermaid_businessdata

将一切捆绑在一起#

graph LR
    A1[Product] --- Main[Production Order]
    A2[Roles] -.- Main
    A3[Facility] -.- Main
    A4[Material] --- Main
    Main === L1[Production Order Material]
    L1 --- A4

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/production-order"
click A1 "../../business-data/product"
click A2 "../../administration/security/roles"
click A3 "../../business-data/facility"
click A4 "../../business-data/material"
click L1 "../../business-data/material"

步骤顺序#

正确使用生产工单的必要步骤如下:

  1. 标记产品完成属性设置为true的情况下标记必要的步骤
  2. 创建生产工单
  3. 物料分配给生产工单,或为生产工单创建物料或更改物料生产工单