# Open sub-orders (collective order)

> Open linked sub-orders with a single click for the make-to-order semi-finished requirements of a released parent order; semi-finished items expected from stock and the stock error.

URL: https://erpdocs.corexlogic.com/en/uretim/islemler/alt-emir-onerisi

- **Type:** Task
- **Module:** Manufacturing
- **Menu path:** Üretim › Üretim Emirleri › emir detayı › Alt Emirler (Production › Production Orders › order detail › Sub-Orders)
- **Screen route:** `/erp/manufacturing/orders/{id}`
- **Required permission:** `erp-manufacturing-orders.create`, `erp-manufacturing-orders.edit`
- **Prerequisites:**
  - The parent order is in **Yayınlandı** (Released) or **Üretimde** (In Production) status.
  - The semi-finished item card in the requirement is **produced** and its planning strategy is **Siparişe Üretim** (Make-to-Order).

A collective order means opening, together with the order for a finished product, the orders for the semi-finished
items that go into it (cabin, panel, subassembly). In CoreX this is **single-level** and is proposed from the frozen
requirement list of the parent order; it is not MRP. A sub-order's own sub-orders are proposed the same way, from its
own detail.

## Steps

1. Open the detail of the parent order. If there is an eligible requirement, the **Alt Emirler** (Sub-Orders) card appears below the summary boxes.
   <!-- action: open · target: "Alt Emirler" · expect: "One line per requirement: Ürün (Item), Gereken (Required), Stoktan (From Stock), Alt emirde (In Sub-Order), Açılacak (To Open), Alt emir (Sub-Order)" -->
2. Check the proposed quantity in the **Açılacak** (To Open) column; change it if necessary. Empty or zero lines are not opened.
   <!-- action: fill · target: "Açılacak" -->
3. Click **Alt Emirleri Aç** (Open Sub-Orders).
   <!-- action: click · target: "Alt Emirleri Aç" · expect: "The Alt emir (Sub-Order) column of each line shows the number, status and produced/planned quantity of the order that was opened" -->

**Result:** A **released** sub-order is opened for each line (because opening a sub-order also releases it, both create and edit permissions are required): its requirement list is frozen, its routing is copied, and it is ready for production. The output of the sub-order goes into stock **allocated** to that requirement of the parent order and cannot be given to any other document; the consumption of the parent order uses this stock.

## Which requirements are proposed

| Card of the requirement | What happens |
|---|---|
| Produced **and** planning strategy **Siparişe Üretim** (Make-to-Order) | Proposed on the **Alt Emirler** (Sub-Orders) card. |
| Produced, but strategy **Stoğa Üretim** (Make-to-Stock) or **Planlama Yok** (No Planning) | Not proposed — the order expects this semi-finished item **from stock**. |
| Purchased (not produced) card | Not proposed — covered from stock, by purchasing. |

Proposed quantity = open requirement − stock allocated to this requirement − remaining quantity of linked open
sub-orders. If the line reads **Stoktan karşılanıyor** (Covered from stock) or **Karşılandı** (Covered), there is
nothing to open. If there is no proposal, the card is not drawn at all.

The sub-order is opened from the **latest released** revision of the BOM; the quantity is converted to the output unit
of the BOM and rounded up to the precision. If the item has no BOM, the sub-order is opened without one. The operation
is **all or nothing**: if one line is rejected, no sub-order is opened.

> **Semi-finished item expected from stock**
No sub-order is proposed for a semi-finished item with a make-to-stock or no-planning strategy; it is deducted from
stock in the parent order's consumption. If there is no stock, the consumption is rejected:
"'YM-0001' kartının 'SIFIR' durumunda yeterli stok yok. Mevcut: 0, istenen: 1,000000." (Card 'YM-0001' does not have
enough stock in the 'SIFIR' status. Available: 0, requested: 1.000000.) In that case, either produce the
semi-finished item to stock with a separate production order or set the card's planning strategy to
**Siparişe Üretim** (Make-to-Order) — this is the correct setting for a semi-finished item produced together with
every order.

> **Demo installation**
The semi-finished items of the demo company (YM-0001 … YM-0009) use the **Stoğa Üretim** (Make-to-Stock) strategy and
have opening stock; the **Alt Emirler** (Sub-Orders) card does not appear on these orders, and the semi-finished items
are consumed from stock. The example of a make-to-order semi-finished item is **DMO-KSL-05** Demo conveyor drive unit:
on the order of the **DMO-KSL-01** conveyor (UE-2026-000011), the card proposes **Gereken** (Required) 1,
**Stoktan** (From Stock) 0, **Açılacak** (To Open) 1; the sub-order opened with **Alt Emirleri Aç** (Open Sub-Orders)
(UE-2026-000012, parent order UE-2026-000009) is created in **Yayınlandı** (Released) status. End to end:
[Order to production](https://erpdocs.corexlogic.com/en/surecler/siparisten-uretime).

![Released order — resolved BOM and sub-order proposal](https://erpdocs.corexlogic.com/en/en/img/screens/uretim/surec-emir-yayinlandi.png)
1. Configuration from the sales order
2. Open Sub-orders — make-to-order subassembly
3. Sub-order quantity to open
4. Consumption, output and confirmation
5. Materials selected by the conditions

## Common messages

| Message | English meaning | Cause |
|---|---|---|
| Açılacak alt emir için en az bir miktar girin. | Enter at least one quantity for a sub-order to open. | All lines are empty. |
| Seçilen gereksinim alt emre uygun değil — üretilen ve siparişe göre üretim stratejili bir kart olmalı. | The selected requirement is not eligible for a sub-order — it must be a produced card with a make-to-order strategy. | The card's strategy is not eligible. |
| \{n\}. gereksinimin alt emir miktarı sıfırdan büyük olmalıdır. | The sub-order quantity of requirement \{n\} must be greater than zero. | Zero or negative quantity. |
| Alt kartın ağacının bugün geçerli revizyonu yok — geçerlilik daha sonra başlıyor. | The component card's BOM has no revision valid today — validity starts later. | The release is future-dated. |
| Gereksinim miktarını kapsayan parti büyüklüğü alternatifi yok — alt kartın ağaç alternatiflerini düzenleyin. | No lot-size alternative covers the requirement quantity — edit the BOM alternatives of the component card. | The lot-size range does not fit. |
| Gereksinimin birimi ürün ağacının çıktı birimine çevrilemiyor — alt emir açılamaz. | The requirement's unit cannot be converted to the output unit of the BOM — the sub-order cannot be opened. | Missing unit conversion. |
| \{UE-…\} alt emri yayınlanamadı: … | Sub-order \{UE-…\} could not be released: … | A release rule of the sub-order (e.g. an inactive work center). |

- A linked sub-order cannot be split ("Bağlı alt emir bölünmez — çıktısı üst emrin gereksinimine tahsisli." — A linked
  sub-order cannot be split — its output is allocated to the parent order's requirement.) and cannot be linked to a
  sales order. When the parent order is completed or cancelled, the stock reserved for it and not consumed is released.

## Related

- [Production orders screen](https://erpdocs.corexlogic.com/en/uretim/ekranlar/uretim-emirleri)
- [Record material consumption](https://erpdocs.corexlogic.com/en/uretim/islemler/malzeme-sarfi-kaydetme)
- [Order-to-production process](https://erpdocs.corexlogic.com/en/surecler/siparisten-uretime)
