---
alias: user-guide-production-order-index
description: "Production Orders manage material flow, tracking quantities and states within a manufacturing process"
---
# Production Order
:lock: ProductionOrder.**Show**
## Overview
A **Production Order** represents a demand which is materialized through one or several **Materials**. The system will keep track of all Production Order Materials, their quantities and their state (*InProgress, Completed and Delivered*)
!!! info
Order Management is a Critical Manufacturing optional module
A **Production Order** can be made restricted. A restricted **Production Order** cannot have **Materials** removed from or assigned to (with the exception of Split and Expand Material, which in effect keep the new Materials in the same **Production Order**).
A **Production Order** object keeps track of the following quantities - which are automatically adjusted to take into consideration unit changes - based on the Materials currently associated with it.
* In Progress Quantity
* Completed Quantity
* Delivered Quantity
A **Material** is considered *Completed* when it reaches a **Step** that has the option *Marks Product Completion* set to true. However, if the **Material** has a **Production Order** associated to it, the **Material** must have the same **Product** and *Units* as those defined in the **Production Order**.
A **Material** is considered *Delivered* when it is shipped to a remote or local **Facility** that has the *Terminate on Ship to This Facility* option set to true.
```mermaid
graph LR
subgraph Material In Progress
A1[Step X]
end
subgraph Material Completed
A2["Step Y
Marks Product Completion"]
end
subgraph Material Delivered
A3["Facility F
Remote
or
Local with automatic termination"]
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
```
A **Production Order** can be closed if the completed quantity is greater or equal to the **Production Order** quantity and it is less or equal to (1 + over-delivery tolerance) and it does not contain any **Material** which is *InProgress*. A **Production Order** which is *Closed* cannot have its **Product** or quantity changed, and no **Materials** can be assigned or removed from it. All **Materials** associated with a *Closed* **Production Order** cannot have the **Product**, the quantity, the units (given by **Step**) or the Is Production Complete property (given by the **Step**) changed.
If required by Scheduling or other restrictions, namely for **Production Orders** that take a long time until completion, a **Production Order** can be split into a number of Production Order Steps, dividing the **Production Order** quantity into as many steps as required to fulfill the current **Flow** where the **Material** is placed, with a fraction of the **Material** quantity being placed in each of the **Production Order** Steps. As an example, a **Production Order** with remaining quantity equal to 100 units, bound to a specific **Flow** with seven **Steps**, where the first **Step** has a the Production Order Step Size property set to 20, can be divided into `100 / 20 = 5` Production Order Steps, each of them with seven different **Steps**.
## State Model
All **Production Orders** in the system follow the state model below.
```mermaid
graph TD
Start1 -.->|Unterminate| A1[Created]
A1 -->|Release| A2[Released]
A2 -->|Unrelease| A1
A2 --->|Automatic| N1[In Progress]
N1 --->|Automatic| 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_initial_state fill:#d7e4bd,stroke:#92d050,stroke-width:3px,color:#000;
classDef mermaid_final_state fill:#a7e2f2,stroke:#65CDE8,stroke-width:3px,color:#000;
class Main1,Main2 mermaid_entity
class Start1,Start2,Start3 mermaid_start
class A1,A2,N1,N2 mermaid_initial_state
class A5,A6 mermaid_final_state
```
## Tying Everything Together
```mermaid
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"
```
## Sequence Of Steps
The necessary steps for correctly using a **Production Order** are the following:
1. Mark the necessary **Steps** with the *Marks Product Completion* property set to true.
2. Create the **Production Order**.
3. Assign **Materials** to the **Production Order**, or Create **Materials** for the **Production Order** or Change **Material Production Orders**.
{{ generate_index() }}