# Warehouse layout in production

> How to set up raw material, line-side (supply) and semi-finished/finished goods warehouses, when a semi-finished good is a separate product, and which warehouse production consumes from.

URL: https://erpdocs.corexlogic.com/en/surecler/uretimde-depo-duzeni

A warehouse is **a physical place** and someone is responsible for counting it. A machine or work center is not a
warehouse: a warehouse per work center means an extra transfer for every order, a separate count for every warehouse and
the same goods split across many places. Three warehouse roles are enough for production.

| Warehouse | What is stored | Who is responsible |
|---|---|---|
| **Raw material warehouse** | Purchased material | Warehouse |
| **Production supply warehouse** — one per hall or area | Material brought line-side, waiting to be processed | The production area's owner |
| **Semi-finished goods warehouse** (**Finished goods warehouse** if kept separately) | Produced semi-finished and finished goods waiting | Warehouse |

If material does **not accumulate** line-side (the operator takes what is needed and processes it at once), do not open
a supply warehouse; consumption is posted directly from the raw material warehouse.

## Is the semi-finished good a separate product?

| On the shop floor | In CoreX |
|---|---|
| The semi-finished good **waits**: it is shelved, counted, used in several finished goods or sold | A **separate product card** (semi-finished type), its own bill of materials and routing, its own **production order**. The finished good's order can open it as a sub-order. |
| It **moves on** to the next step as soon as it is processed (cut, bend, weld — in the flow) | **Not** a product card: an **operation in the finished good's routing**. Progress is tracked by operation confirmation; no stock movement in between. |

## Setup

1. In **Stok Yönetimi › Depolar** (Inventory › Warehouses) open the warehouses: raw material (usually already there), one
   supply warehouse per production area, semi-finished goods.
2. In **Üretim › İş Merkezleri** (Production › Work Centers) select each work center's **Besleme deposu** (Supply
   warehouse). Give work centers in the same area the **same** warehouse.
3. For semi-finished goods that wait, open the product card (type **Yarı Mamul**, Semi-finished), its bill of materials
   and routing.

## Daily flow

```
Raw material ─► Malzeme Hazırla ─► Supply warehouse ─► Consumption / backflush ─► Output ─► Semi-finished warehouse
                (Stage Material)                                                         └► Finished goods warehouse
```

1. Planning or MRP opens the semi-finished and finished goods orders.
2. **Malzeme Hazırla** (Stage Material) on the order detail: material is transferred from the raw material warehouse to
   the work center's supply warehouse.
3. **Consumption**, **backflush** and the backflush of an operation confirmation are posted from the **supply
   warehouse**.
4. The semi-finished good's **output** goes into the semi-finished goods warehouse.
5. The finished good's order stages the semi-finished good from the semi-finished warehouse to the supply warehouse;
   steps 2–4 repeat and the finished good's output goes into the finished goods warehouse.

## Which warehouse does backflush use?

If **Geri sarf deposu** (Backflush warehouse) is left empty in the **Geri Sarf** (Backflush) section of the production
output form:

1. the **supply warehouse** of the work center recording the output (or of the order's work center if none is selected),
2. if the work center has no supply warehouse, the **warehouse of the first output line**.

The form says which one will be used. If there is no supply warehouse it warns: if you put the product into a separate
warehouse (e.g. semi-finished goods) the components may not be there and the backflush falls into **Hatalı Geri
Sarflar** (Backflush Errors) — select the backflush warehouse or give the work center a supply warehouse.

## Related

- [Work Centers](https://erpdocs.corexlogic.com/en/uretim/ekranlar/is-merkezleri) · [Recording production output](https://erpdocs.corexlogic.com/en/uretim/islemler/uretim-ciktisi-kaydetme)
- [Backflush Errors](https://erpdocs.corexlogic.com/en/uretim/ekranlar/hatali-geri-sarflar) · [Make-to-stock production](https://erpdocs.corexlogic.com/en/surecler/stoga-uretim)
