# Material Issue & Return — Material Out Request, issue by lot, assign lots to shift / machine, return surplus and reconcile

> Fine Chemical (FC) · MES module · v0.4 · 09/10/2026 · Standard flow — for implementation, testing and development
>
> Generated from the diagram by `sync.js` — do not edit by hand. The diagram is authoritative: report any mismatch with the diagram page.
>
> Diagram page: /en/mes/material-issue-return

## How to read

- Every box on the diagram has a code `Bxx`, numbered in flow order (from the start event, following the arrows).
- "Goes to" lists every arrow leaving the box; text in square brackets is that arrow's condition label.
- "Optional branch" = a dashed arrow on the diagram: may be done or skipped.
- "Data" boxes in the Input lane are incoming data; in the Output lane they are results / end points of the flow.

## Process Flow (swimlane)

### Roles (lanes)

- Input
- Planner
- Operator
- Output

### Steps

| Code | Role | Type | Content | Platform · Screen | Goes to |
| --- | --- | --- | --- | --- | --- |
| B01 | Input | Data | MOR DRAFT from Booking (Work Order / WI · Packing) |  | B10 |
| B02 | Input | Data | Raw-material stock by lot at the Issue Warehouse (received against the PO of the SO PR) |  | B12 |
| B03 | Input | Data | Outbound Slip SUBMITTED theo MOR (WMS) |  | B18 |
| B04 | Input | Data | Stock Out Slip APPROVED linked to WO / WI (WMS) |  | B19 |
| B05 | Input | Data | WI Injection theo day · shift · machine |  | B21 |
| B06 | Input | Data | POP result per WI (Good · NG) |  | B30 |
| B07 | Input | Data | Master data: Warehouse · Location | Master data | B34 |
| B08 | Input | Data | Inbound Slip APPROVED (Return from Line · WMS) |  | B40 |
| B09 | Input | Data | APPROVED Stock Out Slip Cancel (WMS · §1.7) |  | B45 |
| B10 | Planner | Start | Start |  | B11 |
| B11 | Planner | Task | Open Material Out Request Worklist | Web · MRP & Material Ready | B12 |
| B12 | Planner | Task | Check materials for the WI | Web · MRP & Material Ready | B13 |
| B13 | Planner | Decision | Enough stock at Issue Warehouse? |  | B14 [No]; B15 [Yes] |
| B14 | Planner | Task | Flag material shortage | System (auto) · MRP & Material Ready | B16; B15 [send anyway] |
| B15 | Planner | Task | Send Material Out Request | Web · MRP & Material Ready | B17; B18 [warehouse picks] |
| B16 | Output | Data | Material shortage warning cho WI (Planner) |  | (end) |
| B17 | Output | Data | MOR REQUESTED → WMS Outbound (Stock Out to the Mixing area per WO / WI) |  | (end) |
| B18 | Planner | Task | Move MOR to PICKING | System (auto) · MRP & Material Ready | B19 [warehouse approves issue] |
| B19 | Planner | Task | Move MOR to ISSUED | System (auto) · MRP & Material Ready | B20; B21 [issued lots] |
| B20 | Output | Data | MOR ISSUED — raw-material lots in the Mixing area, linked to WO / WI |  | (end) |
| B21 | Operator | Task | Create Material Lot Assignment | Web · Material Lot Assignment | B22 |
| B22 | Operator | Task | Pick issued lots by WO | Web · Material Lot Assignment | B23 |
| B23 | Operator | Task | Enter Assigned Qty per lot | Web · Material Lot Assignment | B24 |
| B24 | Operator | Decision | Assignment valid? |  | B25 [No]; B26 [Valid] |
| B25 | Operator | Task | Report Assignment error | System (auto) · Material Lot Assignment | B27; B23 [correct] |
| B26 | Operator | Task | Save Assignment draft | Web · Material Lot Assignment | B28 |
| B27 | Output | Data | Assignment blocked + errors for the Operator |  | (end) |
| B28 | Operator | Task | Confirm Assignment | Web · Material Lot Assignment | B29; B30 [sau POP] |
| B29 | Output | Data | Material lots assigned to day · shift · machine · WI (CONFIRMED) → Daily Injection prefills the lots |  | (end) |
| B30 | Operator | Task | Calculate consumption from POP | System (auto) · Return & Variance | B31 |
| B31 | Operator | Task | Create Return | Web · Return & Variance | B32 |
| B32 | Operator | Task | Add issued lot | Web · Return & Variance | B33 |
| B33 | Operator | Task | Calculate Returnable per lot | System (auto) · Return & Variance | B34 |
| B34 | Operator | Task | Enter Return Qty · Actual Destination | Web · Return & Variance | B35 |
| B35 | Operator | Decision | Validate passed? |  | B36 [No]; B37 [Pass] |
| B36 | Operator | Task | Report Validate error | System (auto) · Return & Variance | B38; B34 [correct] |
| B37 | Operator | Task | Submit Return | Web · Return & Variance | B39; B40 [warehouse receives return] |
| B38 | Output | Data | Return blocked + Validate errors |  | (end) |
| B39 | Output | Data | Return WAITING WAREHOUSE → WMS Inbound (Return from Line) |  | (end) |
| B40 | Operator | Task | Move Return to RECEIVED | System (auto) · Return & Variance | B41; B42 |
| B41 | Output | Data | Return RECEIVED |  | (end) |
| B42 | Operator | Task | Calculate Issue Balance per lot | System (auto) · Return & Variance | B43; B44 |
| B43 | Output | Data | Issue Balance Issued − Consumed − Returned by lot · WI |  | (end) |
| B44 | Operator | End | End |  |  |
| B45 | Planner | Task | Return MOR to REQUESTED | System (auto) · MRP & Material Ready | B46 |
| B46 | Output | Data | MOR REQUESTED — waiting for the warehouse to reissue |  | (end) |

### Step details (hover content on the diagram)

#### B11 · Open Material Out Request Worklist

- Planner · Web · MRP & Material Ready
- Comes from: B10
- Goes to: B12 · Check materials for the WI

> The Planner opens the list of material out requests (MOR) of running WOs.  
> Action: MRP & Material Ready › "Material Out Requests" · "Running Work Orders"; filter "STATUS" (All · Draft · Requested · Picking · Issued), "SEARCH" MOR / WO / MATERIAL; buttons "Refresh" · "Excel".  
> System: MORs are created elsewhere — injection MORs in Work Order / WI › "Booking Material Out Request", packing-material MORs on the Packing screens; KPIs count DRAFT · REQUESTED · PICKING · ISSUED.  
> Source: prototype v0.23 · Q-20260929-01 · Q-20261009-08 (item 1)  

#### B12 · Check materials for the WI

- Planner · Web · MRP & Material Ready
- Comes from: B02, B11
- Goes to: B13 · Enough stock at Issue Warehouse?

> The Planner checks the WI has enough material before it is needed.  
> System: compares each MOR line's "Total Qty" with lot stock at the "Issue Warehouse", before the "Needed" time; raw materials for injection are bought on the SO PR created when the Big Plan is released in I/J Plan and are only in stock once the warehouse receives them against the PO.  
> System: the Master Plan material check is not done here — it is in I/J Plan (Compound Calculate).  
> Source: CHANGELOG prototype v0.3.2 (22/09) · Q-20260923-19 (E) · Q-20261009-08  

#### B13 · Enough stock at Issue Warehouse?

- Planner
- Comes from: B12
- Goes to [No]: B14 · Flag material shortage
- Goes to [Yes]: B15 · Send Material Out Request

> Is there enough stock at the issue warehouse for the MOR?  
> Yes: available lot stock ≥ the line's "Total Qty" → send the MOR.  
> No: short → flag the material shortage.  
> System: available stock excludes lots on Quality hold / blocked.  
> Test:  
> - Need 100 kg, stock 120 kg but 30 kg on Quality hold → short  
> Source: BRD §6.3 (Inventory lock)  

#### B14 · Flag material shortage

- Planner · System (auto) · MRP & Material Ready
- Comes from: B13
- Goes to: B16 · Material shortage warning cho WI (Planner)
- Goes to [send anyway]: B15 · Send Material Out Request

> The system flags the WI as short of material so the Planner knows.  
> Result: a material shortage warning for the Planner; the MOR can still be sent.  
> Open: does the warehouse issue what is available (Partial) or wait for the full quantity — proposal, not yet confirmed.  
> Source: BRD §6.3  

#### B15 · Send Material Out Request

- Planner · Web · MRP & Material Ready
- Comes from: B13, B14
- Goes to: B17 · MOR REQUESTED → WMS Outbound (Stock Out to the Mixing area per WO / WI)
- Goes to [warehouse picks]: B18 · Move MOR to PICKING

> The Planner sends the material out request to the warehouse.  
> When: MOR DRAFT.  
> Result: MOR → REQUESTED, to WMS Outbound so the warehouse issues it (Stock Out) to the Mixing area per WO / WI.  
> Open: prototype v0.23 has no send / approve button on this screen; the BRD says the planner or the warehouse may approve depending on the request type, and that the Supervisor approves MORs — who approves is open.  
> Source: BRD §6.3 · BRD §7 · Q-20261009-08 (item 1)  

#### B18 · Move MOR to PICKING

- Planner · System (auto) · MRP & Material Ready
- Comes from: B03, B15
- Goes to [warehouse approves issue]: B19 · Move MOR to ISSUED

> The system moves the MOR to picking when the warehouse starts.  
> When: the warehouse has created an Outbound Slip for the MOR (SUBMITTED in WMS).  
> Result: MOR → PICKING. The warehouse scans lots and checks FIFO / FEFO and issue quantity ("Warehouse scans material lot, validates FIFO/FEFO and issue quantity").  
> Source: BRD §6.3  

#### B19 · Move MOR to ISSUED

- Planner · System (auto) · MRP & Material Ready
- Comes from: B04, B18
- Goes to: B20 · MOR ISSUED — raw-material lots in the Mixing area, linked to WO / WI
- Goes to [issued lots]: B21 · Create Material Lot Assignment

> The system closes the MOR as issued when the warehouse approves the issue slip.  
> When: the Stock Out Slip linked to the WO / WI is APPROVED in WMS.  
> Result: MOR → ISSUED; raw-material stock decreases in WMS; the issued lots sit in the Mixing area, linked to the WO and WI ("Issued material is linked to WO and operation/WI").  
> System: Mixing is not a Routing process and creates no new lot — lots in the Mixing area keep their receiving lot numbers.  
> Test:  
> - Stock Out Slip APPROVED → MOR ISSUED, lot stock drops by the issued quantity  
> Open: which WMS warehouse / location the Mixing area is, and whether raw materials left over in the Mixing area return to the warehouse through Return & Variance — no source yet.  
> Source: BRD §6.3 · Q-20261009-08 (items 1, 2)  

#### B21 · Create Material Lot Assignment

- Operator · Web · Material Lot Assignment
- Comes from: B05, B19
- Goes to: B22 · Pick issued lots by WO

> The Operator records which raw-material lots issued to the Mixing area will be used for a specific date, shift, machine and WI.  
> When: the WI's WO has an ISSUED MOR.  
> Action: Material Lot Assignment › button "Create Assignment" › enter "PRODUCTION DATE" · "SHIFT" ("Day (AB)" / "Night (CD)") · "MACHINE" (INJ-xx) · "WORK INSTRUCTION"; "WORK ORDER" and "MATERIAL" fill in automatically.  
> System: this step is optional — if a WI has no Assignment, the Operator declares the lots in Daily Injection by Shift.  
> Source: prototype v0.86 · Q-20260923-07 · Q-20261009-08  

#### B22 · Pick issued lots by WO

- Operator · Web · Material Lot Assignment
- Comes from: B21
- Goes to: B23 · Enter Assigned Qty per lot

> The Operator picks the raw-material lots issued to the WO to assign.  
> Action: button "Select Issued Lots by WO", or pick a lot + "Add" (scan).  
> System: only lots issued to the WO (MOR ISSUED) are accepted, with their receiving lot numbers; any other lot gives "Lot <no.> is not issued to <WI>."  
> Result: lot table with Lot No. · Material Code · Material · Issued Qty · Assigned Qty · UoM · Warehouse / Location.  
> Test:  
> - Scan a lot not issued to the WO → error, the lot is not added  
> Source: prototype v0.86 · Q-20261009-08 (item 2)  

#### B23 · Enter Assigned Qty per lot

- Operator · Web · Material Lot Assignment
- Comes from: B22, B25
- Goes to: B24 · Assignment valid?

> The Operator enters the assigned quantity per lot.  
> Action: "Assigned Qty" per lot.  
> System: one lot can be assigned to several shifts / machines; one material line can use several lots.  
> Source: BRD §6.3 (Multi-Lot Consumption)  

#### B24 · Assignment valid?

- Operator
- Comes from: B23
- Goes to [No]: B25 · Report Assignment error
- Goes to [Valid]: B26 · Save Assignment draft

> The system checks the assignment before saving.  
> Valid when: date · shift · machine · WI are filled; at least one lot; each lot has "Assigned Qty" > 0 and ≤ "Issued Qty".  
> No: an error shows and the Operator corrects it.  
> Test:  
> - Issued 50, Assigned 50 → valid  
> - Issued 50, Assigned 51 → blocked  
> - No lot selected → blocked  
> Source: prototype v0.23  

#### B25 · Report Assignment error

- Operator · System (auto) · Material Lot Assignment
- Comes from: B24
- Goes to: B27 · Assignment blocked + errors for the Operator
- Goes to [correct]: B23 · Enter Assigned Qty per lot

> The system reports the assignment error and returns it to the Operator.  
> System: message "Assigned Qty exceeds issued quantity." or "Assign at least one issued material lot."  
> Source: prototype v0.23  

#### B26 · Save Assignment draft

- Operator · Web · Material Lot Assignment
- Comes from: B24
- Goes to: B28 · Confirm Assignment

> The Operator saves the assignment as a draft (optional).  
> Action: "Save Draft" button.  
> Result: Assignment → DRAFT. This step can be skipped by confirming directly.  
> Source: prototype v0.23  

#### B28 · Confirm Assignment

- Operator · Web · Material Lot Assignment
- Comes from: B26
- Goes to: B29 · Material lots assigned to day · shift · machine · WI (CONFIRMED) → Daily Injection prefills the lots
- Goes to [sau POP]: B30 · Calculate consumption from POP

> The Operator confirms the lot assignment.  
> Action: button "Confirm".  
> Result: Assignment → CONFIRMED; message "<Assignment No.> confirmed."; the list shows Assignment No. · Date · Shift · Machine · WI No. · Lots · Assigned Qty · Status.  
> Result: Daily Injection by Shift prefills these lots when the Operator opens the WI's POP.  
> Test:  
> - Confirm an Assignment for the "Day (AB)" shift WI on machine INJ-01 → opening that WI's POP shows the lots  
> Source: prototype v0.86 · Q-20261009-08 (item 3)  

#### B30 · Calculate consumption from POP

- Operator · System (auto) · Return & Variance
- Comes from: B06, B28
- Goes to: B31 · Create Return

> The system calculates material consumed from POP output.  
> When: after the WI's POP is recorded.  
> System: consumption is auto-calculated from POP and BOM; the Operator or system confirms actual lot consumption ("Consumption is auto-calculated from POP and BOM; operator or system confirms actual lot consumption.").  
> Result: the "Consumed" column per lot · WI on the Return & Variance screen.  
> Source: BRD §6.3  

#### B31 · Create Return

- Operator · Web · Return & Variance
- Comes from: B30
- Goes to: B32 · Add issued lot

> The Operator creates a slip to return leftover material to the warehouse.  
> Action: Return & Variance › "Create Return" button › enter "RETURN DATE" · "WI NO." · "WO NO." · "PROCESS" · "ISSUE REQUEST" · "OPERATOR" · "REMARK".  
> Source: prototype v0.23  

#### B32 · Add issued lot

- Operator · Web · Return & Variance
- Comes from: B31
- Goes to: B33 · Calculate Returnable per lot

> The Operator adds the lots issued for the WI to the return slip.  
> Action: "Add Lot" button (scan or pick a lot issued for the WI).  
> Result: one row per lot with Issued · Consumed · Returned · Returnable · New Return · Suggested Destination · Actual Destination.  
> Source: prototype v0.23  

#### B33 · Calculate Returnable per lot

- Operator · System (auto) · Return & Variance
- Comes from: B32
- Goes to: B34 · Enter Return Qty · Actual Destination

> The system calculates how much of each lot can still be returned.  
> System: "Returnable" = Issued − Consumed − Returned.  
> Test:  
> - Issued 50, Consumed 42, Returned 3 → Returnable 5  
> Source: BRD §9 · prototype v0.23  

#### B34 · Enter Return Qty · Actual Destination

- Operator · Web · Return & Variance
- Comes from: B07, B33, B36
- Goes to: B35 · Validate passed?

> The Operator enters the return quantity and where it goes.  
> Action: "New Return" cell; check "Suggested Destination" (suggested warehouse / location) then pick "Actual Destination" (warehouse + location).  
> Source: prototype v0.23  

#### B35 · Validate passed?

- Operator
- Comes from: B34
- Goes to [No]: B36 · Report Validate error
- Goes to [Pass]: B37 · Submit Return

> The system checks the return slip on "Validate".  
> Pass when: return quantity > 0 and ≤ "Returnable"; destination warehouse and location are set; the location belongs to the chosen warehouse.  
> No: an error shows and the Operator corrects it.  
> Test:  
> - Returnable 5, return 5 → pass  
> - Returnable 5, return 6 → blocked  
> - Location not in the warehouse → blocked  
> Source: prototype v0.23  

#### B36 · Report Validate error

- Operator · System (auto) · Return & Variance
- Comes from: B35
- Goes to: B38 · Return blocked + Validate errors
- Goes to [correct]: B34 · Enter Return Qty · Actual Destination

> The system reports the return slip error and returns it to the Operator.  
> System: message "Return Qty exceeds Returnable Qty." · "Destination warehouse and location are required." · "Location does not belong to the selected warehouse."  
> Source: prototype v0.23  

#### B37 · Submit Return

- Operator · Web · Return & Variance
- Comes from: B35
- Goes to: B39 · Return WAITING WAREHOUSE → WMS Inbound (Return from Line)
- Goes to [warehouse receives return]: B40 · Move Return to RECEIVED

> The Operator sends the return slip to the warehouse.  
> Action: "Submit Return" button.  
> Result: Return → WAITING WAREHOUSE (the prototype shows "Waiting Warehouse"); the slip goes to WMS Inbound (Return from Line) for the warehouse to receive.  
> Source: prototype v0.23  

#### B40 · Move Return to RECEIVED

- Operator · System (auto) · Return & Variance
- Comes from: B08, B37
- Goes to: B41 · Return RECEIVED
- Goes to: B42 · Calculate Issue Balance per lot

> The system marks the return received when the warehouse approves the receipt slip.  
> When: the Inbound Slip (Return from Line) is APPROVED in WMS.  
> Result: Return → RECEIVED; material stock rises again in WMS.  
> Test:  
> - Inbound Slip APPROVED 5 kg → Return RECEIVED, lot stock up 5 kg  
> Source: prototype v0.23  

#### B42 · Calculate Issue Balance per lot

- Operator · System (auto) · Return & Variance
- Comes from: B40
- Goes to: B43 · Issue Balance Issued − Consumed − Returned by lot · WI
- Goes to: B44 · End

> The system calculates the material balance (Issue Balance) per lot after the warehouse receives the return.  
> When: Return RECEIVED — "Returned" is what the warehouse actually received.  
> System: Issue Balance = Issued Qty − Consumed Qty − Returned Qty.  
> Result: used when closing the WI / WO (Material Variance: warn or block).  
> Open: the prototype names the screen "Return & Variance"; Variance per the BRD (Actual − Standard Consumption) has no step yet.  
> Test:  
> - Issued 50, Consumed 42, Returned 5 → Issue Balance 3  
> Source: BRD §6.3 · BRD §6.6 · convention Q9  

#### B45 · Return MOR to REQUESTED

- Planner · System (auto) · MRP & Material Ready
- Comes from: B09
- Goes to: B46 · MOR REQUESTED — waiting for the warehouse to reissue

> The system returns the MOR to waiting for re-issue when the issue slip is cancelled.  
> When: the Stock Out Slip linked to the WO / WI is cancelled in WMS (issue reversed).  
> Result: MOR ISSUED → REQUESTED, waiting for the warehouse to issue again; a reversal transaction is recorded ("reversal/adjustment must create audit transaction"), posted transactions are not edited.  
> Open: how to handle lots already assigned to a shift or consumed by POP.  
> Test:  
> - Cancel the Stock Out Slip → MOR back to REQUESTED, lot stock rises again  
> Source: BRD §6.3 · convention Q3 · §1.7  

## Status lifecycle

#### Material Out Request (MRP & Material Ready)

`DRAFT` → `REQUESTED` → `PICKING` → `ISSUED`

Transitions:

- `DRAFT` -- Send MOR (Planner) --> `REQUESTED`
- `REQUESTED` -- Warehouse picks --> `PICKING`
- `PICKING` -- Stock Out Slip APPROVED --> `ISSUED`
- `ISSUED` -- Stock Out Slip cancelled --> `REQUESTED` (back)

#### Material Lot Assignment

`DRAFT` → `CONFIRMED`

Transitions:

- `DRAFT` -- Confirm --> `CONFIRMED`

#### Return (Return & Variance)

`WAITING WAREHOUSE` → `RECEIVED`

Transitions:

- `WAITING WAREHOUSE` -- Inbound Slip APPROVED --> `RECEIVED`

## Input

| # | Input | Type | Used in step |
| --- | --- | --- | --- |
| I-1 | MOR `DRAFT` created from Booking — "Booking Material Out Request" (Work Order / WI) for injection, packing-material MORs on the Packing screens | Document — MES | Start → Open Material Out Request Worklist |
| I-2 | Raw-material stock by lot at the Issue Warehouse — injection raw materials are bought on the SO PR created when the Big Plan is released in I/J Plan and received against the PO | Inventory — WMS module | Check materials for the WI |
| I-3 | Outbound Slip `SUBMITTED` against the MOR (warehouse starts picking) | Document — WMS module (Outbound) | Move MOR to PICKING |
| I-4 | Stock Out Slip `APPROVED` linked to WO / WI | Document — WMS module (Outbound) | Move MOR to ISSUED |
| I-5 | Injection WI by day · shift · machine | Document — MES (Injection Schedule) | Create Material Lot Assignment |
| I-6 | POP result per WI (Good · NG) | Production result — MES | Calculate consumption from POP |
| I-7 | Warehouse · Location | Master data | Enter Return Qty · Actual Destination |
| I-8 | Inbound Slip `APPROVED` (Return from Line) | Document — WMS module (Inbound) | Move Return to RECEIVED |
| I-9 | Stock Out Slip `APPROVED` cancelled (§1.7, issue reversed) | Document — WMS module (Outbound) | Return MOR to REQUESTED |

## Step ↔ screen

| Step | Role | Screen · UI button |
| --- | --- | --- |
| Open Material Out Request Worklist · Check materials for the WI · Send Material Out Request | Planner | MRP & Material Ready (filters `STATUS`, `SEARCH MOR / WO / MATERIAL`, `Refresh`, `Excel`) |
| Flag material shortage · Move MOR to PICKING · Move MOR to ISSUED · Return MOR to REQUESTED | System (auto) | MRP & Material Ready |
| Create Material Lot Assignment · Pick issued lots by WO · Enter Assigned Qty per lot · Save draft · Confirm Assignment | Operator | Material Lot Assignment (`Create Assignment`, `Select Issued Lots by WO`, `Add`, `Save Draft`, `Confirm`) |
| Report Assignment error | System (auto) | Material Lot Assignment |
| Create Return · Add issued lot · Enter Return Qty · Actual Destination · Submit Return | Operator | Return & Variance (`Create Return`, `Add Lot`, `Validate`, `Submit Return`) |
| Calculate consumption from POP · Calculate Returnable by lot · Report Validate error · Move Return to RECEIVED · Calculate Issue Balance by lot | System (auto) | Return & Variance |

## Output

| # | Output | Produced when |
| --- | --- | --- |
| O-1 | Material shortage warning for the WI (Planner) — the MOR can still be sent | Available lot stock at the Issue Warehouse < the MOR's Total Qty |
| O-2 | MOR = `REQUESTED` sang WMS Outbound (Stock Out ra khu Mixing theo WO / WI) | The Planner sends the Material Out Request |
| O-3 | MOR = `ISSUED` — raw-material lots issued to the Mixing area, linked to WO / WI (receiving lot numbers kept) | The Stock Out Slip linked to the WO / WI is `APPROVED` in WMS |
| O-4 | Assignment blocked + errors for the Operator | Missing date / shift / machine / WI, no lot yet, or Assigned Qty ≤ 0 / > Issued Qty |
| O-5 | Material lots assigned to day · shift · machine · WI (Assignment = `CONFIRMED`) — Daily Injection by Shift prefills the lots when the WI's POP is opened | The Operator presses Confirm |
| O-6 | Return blocked + Validate errors | Return Qty ≤ 0 or > Returnable; destination missing; location not in the warehouse |
| O-7 | Return = `WAITING WAREHOUSE` sang WMS Inbound (Return from Line) | The Operator presses Submit Return |
| O-9 | Return = `RECEIVED` (raw material stock goes back up in WMS) | The Return from Line Inbound Slip is `APPROVED` |
| O-8 | Issue Balance = Issued − Consumed − Returned by lot · WI (used when closing the WI / WO) | Sau khi Return `RECEIVED` |
| O-10 | MOR = `REQUESTED` — waiting for the warehouse to reissue | Stock Out Slip linked to the WO / WI cancelled in WMS |

## Glossary

| Glossary | Meaning in this flow |
| --- | --- |
| `MOR` | Material Out Request — request to issue material for a WO / WI, sent to the warehouse (WMS Outbound) |
| `WO` | Work Order — production order created on Release in Master Plan; each WO brings its process plans |
| `WI` | Work Instruction — the work order for one date · shift · machine of a WO |
| `Issue Warehouse` | The warehouse that issues the material, as stated on the MOR |
| `Material Lot Assignment` | Record assigning raw-material lots issued to the Mixing area to a specific date · shift · machine · WI; optional — without it the Operator declares the lots in Daily Injection by Shift |
| `Mixing area` | Mixing area: shop-floor area where raw materials issued against the MOR are mixed; not a Routing process and creates no new lot |
| `POP` | Point of Production — output reported at the process, per shift and per size |
| `Consumed` | Material consumed, calculated from POP and BOM |
| `Returnable` | Quantity of the lot that can still be returned = Issued − Consumed − Returned |
| `Issue Balance` | Issued Qty − Consumed Qty − Returned Qty, calculated after the warehouse receives the return |
