# Lot States

A lot operation records **what happened**. A lot state records **the resulting condition** of the material on that lot event. Your Inspect operation produced one `OK` lot and one `Scrap` lot from the same input.

| State | Meaning |
|---|---|
| `OK` | Usable |
| Hold | Don't use until it's reviewed or released |
| `Scrap` | Rejected and removed from usable inventory |

**State reasons** say why, for example "Awaiting QA review" or "Supplier certification missing" for a hold, and "Failed visual inspection" or "Damaged in handling" for scrap. Link reasons to assets so each station only sees its own: Receiving sees "Missing certificate of analysis", the QA Station sees "Failed visual inspection".

:::action[Configure state reasons]

1. Navigate to **Configuration → Ops → Lot Configuration** and review the states on the **Lot States** tab.
2. Add a few state reasons, such as `Missing COA` and `Damaged container` for the hold state, and `Failed visual inspection` for `Scrap`.
3. Link `Missing COA` to `Storage\Receiving` and `Failed visual inspection` to `Finishing\QA Station`.
4. Run a `Receive` and an `Inspect` in Lot Manager and check which reasons each one offers.

:::

::embed-section{src="../../../kanoa-trace/lots.md#lot-states" collapsed="true" summary="Reference Materials: Lot States"}

::embed-section{src="../../../kanoa-trace/lots.md#lot-state-reasons" collapsed="true" summary="Reference Materials: Lot State Reasons"}
