# Record material consumption

> Post component consumption to a production order — warehouse, storage location, stock status, batch and serial number; stock is reduced immediately. Components flagged for backflush are deducted with the output.

URL: https://erpdocs.corexlogic.com/en/uretim/islemler/malzeme-sarfi-kaydetme

- **Type:** Task
- **Module:** Manufacturing
- **Menu path:** Üretim › Üretim Emirleri › emir detayı › Sarf Kaydet (Production › Production Orders › order detail › Record Consumption)
- **Screen route:** `/erp/manufacturing/orders/{id}/consumptions/new`
- **Required permission:** `erp-manufacturing-postings.create`
- **Prerequisites:**
  - The order is in **Yayınlandı** (Released) or **Üretimde** (In Production) status.
  - The component is in available stock in the warehouse/storage location/stock status to be selected and is not in a physical inventory count.
  - The consumption date is in an open posting period.

Material consumption deducts the component used in production from stock and posts it to the order. The same
requirement can be split across several lines (different warehouse, storage location or batch).

## Steps

1. On the order detail, click **Sarf Kaydet** (Record Consumption).
   <!-- action: click · target: "Sarf Kaydet" · expect: "The Malzeme Sarfı (Material Consumption) form opens; the order's requirements are shown at the top (Plan, Sarf (Consumed), Kalan (Remaining))" -->
2. Check the **Sarf Tarihi** (Consumption Date; default today). The **İş Merkezi** (Work Center) is proposed from the order's work center; select the place where the work was actually performed. Enter a **Not** (Note) if you wish.
   <!-- action: fill · target: "Sarf Tarihi" -->
3. On the line of the requirement to be consumed, click **Sarf Ekle** (Add Consumption). To add all remaining quantities at once, click **Tümünü Ekle** (Add All).
   <!-- action: click · target: "Sarf Ekle" · expect: "A line is added to the Sarf Satırları (Consumption Lines) section; Miktar (Quantity) is filled with the remaining quantity" -->
4. Select the line's **Depo** (Warehouse) and **Lokasyon** (Storage Location) according to where the stock is kept; to set the same warehouse on all lines, use **Depo (tümüne)** (Warehouse, all lines). **Stok Durumu** (Stock Status) defaults to SIFIR. The **Anlık kullanılabilir** (Currently available) stock is shown under the line.
   <!-- action: select · target: "Lokasyon" · value: "SAC-ALANI — Sac ve Profil Alanı" -->

   ![Material Consumption — requirements and line](https://erpdocs.corexlogic.com/en/en/img/screens/uretim/sarf-olustur.png)
   1. Consumption date — open posting period
   2. Add All — all remaining quantities as lines
   3. Add Consumption — this requirement only
   4. Warehouse and location — where the stock is
   5. Available stock now — informative
   6. Save Consumption — stock decreases at once

5. For a batch-managed component, select the batch or split the quantity across the batches with the nearest expiry dates using **FEFO ile Dağıt** (Allocate by FEFO); for a serial-managed component, select the serial numbers. Change the **Miktar** (Quantity) if necessary.
   <!-- action: fill · target: "Miktar" -->
6. Click **Sarfı Kaydet** (Save Consumption).
   <!-- action: click · target: "Sarfı Kaydet" · expect: "You return to the order detail; the top shows 'Malzeme sarfı MS-… kaydedildi.' (Material consumption MS-… saved.) and Belgeyi aç (Open document); the order is Üretimde (In Production)" -->

**Result:** The consumption is saved with the number **MS-yyyy-nnnnnn**, the component is **deducted immediately** from the selected warehouse/storage location/status, and the requirement's **Tüketilen** (Consumed) quantity increases. If this is the first physical posting, the order becomes **Üretimde** (In Production). The document does not change; an error is reversed with a [consumption correction](https://erpdocs.corexlogic.com/en/uretim/islemler/sarf-cikti-duzeltme).

## What you need to know

- **The storage location matters**: **Lokasyonsuz** (No storage location) is not the warehouse total but a separate
  stock breakdown. If the stock is in a storage location and you do not select it, the posting is rejected with
  "yeterli stok yok" (not enough stock). The **Anlık kullanılabilir** (Currently available) information exists for
  this reason; the server validates again at the time of posting.
- Stock statuses such as **Sıfır** (New) and **İkinci El** (Second-hand) are separate stock segments; consumption is
  deducted from the selected segment.
- **Backflush**: a component flagged **Geri sarf** (Backflush) in the BOM (a "Geri sarf" badge on the requirement,
  "geri sarf — çıktıyla düşer" (backflush — deducted with output) on the form) is not consumed separately; it is
  deducted automatically when the output is posted. Quantity deducted = planned × (total produced ÷ order's planned
  quantity) − consumed so far; manual consumption is not counted twice. Consuming manually on the form is allowed (it
  warns, it does not block). Details: [Failed backflushes](https://erpdocs.corexlogic.com/en/uretim/ekranlar/hatali-geri-sarflar).
- After saving, you return to the order detail; the banner in the header shows the number (**Belgeyi aç** (Open
  document) opens the consumption document). Consumption documents are on the order's **Malzeme Sarfları** (Material
  Consumptions) tab.
- **Tamamla** (Complete) requires at least one material consumption on the order; staying below the plan does not
  prevent completion.
- The accounting entry (material issue to production) is created together with the consumption; its details are
  outside the scope of this document.

![Material consumption document](https://erpdocs.corexlogic.com/en/en/img/screens/uretim/sarf-detay.png)
1. Immutable document — correction is a separate record
2. Create Consumption Correction
3. Warehouse and location

### Example

**MS-2026-000003** for **UE-2026-000001** (MAM-0010 × 3): HAM-0030 sheet 56.7 KG and HAM-0034 pipe 12 M, from
HAMMADDE / SAC-ALANI, work center LAZER. If the pipe were an item in an ongoing physical inventory count, the posting
would be rejected (see below).

### Common messages

| Message | English meaning | Cause |
|---|---|---|
| 'HAM-0049' kartının 'SIFIR' durumunda yeterli stok yok. Mevcut: 0, istenen: 8,000000. | Card 'HAM-0049' does not have enough stock in the 'SIFIR' status. Available: 0, requested: 8.000000. | There is no or not enough stock in the selected warehouse/storage location/status. Check the storage location. |
| 'SARF-0005' kartı 'HAMMADDE' deposunda sayımda (SAY-2026-000001) — sayım kaydedilene ya da iptal edilene kadar stok hareketi yazılamaz. | Card 'SARF-0005' is in a physical inventory count in warehouse 'HAMMADDE' (SAY-2026-000001) — no stock movement can be posted until the count is posted or cancelled. | The item is being counted in that warehouse; try again when the count is finished. |
| Yalnız Yayınlandı ya da Üretimde durumundaki üretim emrine sarf kaydedilebilir. | Consumption can be posted only to a production order in Released or In Production status. | The order is draft, completed, closed or cancelled. |
| Sarf en az bir satır içermelidir. | The consumption must contain at least one line. | No line was added. |
| Sarf satırında depo seçilmelidir. · Sarf satırında stok durumu seçilmelidir. | A warehouse must be selected on the consumption line. · A stock status must be selected on the consumption line. | A required field is empty. |
| Sarf miktarı sıfırdan büyük olmalıdır. | The consumption quantity must be greater than zero. | Quantity is 0. |
| '\{durum\}' durumu pasif — sarf yapılamaz. | Status '\{durum\}' is inactive — consumption is not possible. | The stock status is inactive. |
| \{n\}. gereksinim kilitli bir alternatif grubunda ve planı yok — yalnız seçili karta sarf yapılabilir (kilit: …). | Requirement \{n\} is in a locked alternative group and has no plan — consumption is possible only for the selected card (lock: …). | The selection in the alternative group is locked. |
| Bu üretim emri bu sırada başka bir kullanıcı tarafından değiştirildi. Sayfayı yenileyip tekrar deneyin. | This production order was changed by another user in the meantime. Refresh the page and try again. | Concurrent posting; use **Bağlamı yenile** (Refresh context). |

## Related

- [Record production output](https://erpdocs.corexlogic.com/en/uretim/islemler/uretim-ciktisi-kaydetme)
- [Correct consumption and output](https://erpdocs.corexlogic.com/en/uretim/islemler/sarf-cikti-duzeltme)
- [Missing parts list](https://erpdocs.corexlogic.com/en/uretim/ekranlar/eksik-parca-listesi)
