# Configure the Lot Flow

Configure only what the manual flow needs. Asset and item rules, lot states and routes come later, in the electives.

:::action[Create the lot operations]

1. Navigate to **Configuration → Ops → Lot Configuration**.
2. Give the existing operations colors: `Receive` `#28A745`, `Transfer` `#0069AD`, `Scrap` `#C62828`.
3. Create these operations, all enabled:

   | Operation | Color | Inputs | Outputs |
   |---|---|---|---|
   | `Machine` | `#00838F` | Yes | Yes |
   | `Blend` | `#5C6BC0` | Yes | Yes |
   | `Coat` | `#7B5E57` | Yes | Yes |
   | `Inspect` | `#F9A825` | Yes | Yes |
   | `Pack` | `#6A1B9A` | Yes | Yes |
   | `Ship` | `#455A64` | Yes | **No** |

:::

`Ship` is an endpoint: it takes material out of inventory without creating a new lot. The shipped lot keeps its history, so it can still be traced.

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

**Serialization definitions** generate lot names. Each one has a name, a prefix, and a number of digits, so `RAL` with 7 digits gives `RAL0000001`, `RAL0000002` and so on. One definition per stage makes a lot's name tell you what it is.

:::action[Create the serialization definitions]

Navigate to **Configuration → Ops → Serialization** and create these, each with 7 digits:

| Name | Prefix |
|---|---|
| `Raw Aluminum` | `RAL` |
| `Raw Blending Ingredients` | `RBI` |
| `WIP Machined Parts` | `WMP` |
| `WIP Coatings/Blends` | `WBL` |
| `WIP Coated Parts` | `WCP` |
| `Finished Goods Packages` | `FGP` |

Use these names exactly; the custom receiving screen in the electives looks them up by name.

:::

:::action[Create the storage areas]

1. Navigate to **Configuration → Ops → Assets**.
2. Under `CoreForge\Philadelphia`, add an area named `Storage`.
3. Under `Storage`, add the areas `Receiving`, `Bins` and `Shipping`.

:::

:::download[Finished lot operations]
<a href="/files/trace-resources/lot-operations.json" download><code>lot-operations.json</code></a>: the finished lot operations, including the asset and item rules you'll add in the electives, to compare with your build.
:::
