# Order from a contract (call-off order)

> Link a sales order line to a sales contract in effect — the price comes from the contract and the target cannot be exceeded.

URL: https://erpdocs.corexlogic.com/en/satis/islemler/sozlesmeden-siparis

- **Type:** Task
- **Module:** Sales
- **Menu path:** Satış › Sipariş Yönetimi › Satış Siparişi Oluştur (Sales › Order Management › Create Sales Order) › line details › Sözleşme (Contract)
- **Screen route:** `/erp/sales/orders/new`
- **Required permission:** `erp-sales-orders.create`, `erp-sales-orders.edit`
- **Prerequisites:**
  - The customer has a sales contract in **Yürürlükte** (In Effect) status.
  - The sales order date is within the contract's validity period; the currency and sales channel are the same as the contract's.

A call-off order is not a separate document type: a line of an ordinary sales order is linked to a contract item. The
link is on the line — the same sales order can contain lines with and without a contract.

## Steps

1. In **Satış Siparişi Oluştur** (Create Sales Order), select the contract's customer.
   <!-- action: choose · target: "Müşteri" · value: "M-0019 — Lara Kıyı Otelcilik ve Turizm A.Ş." -->
2. On a line, type and select the contract item and enter the **Miktar** (Quantity). The unit must be the same as the unit in the contract.
   <!-- action: fill · target: "Miktar" · value: "MAM-0008 · 300" -->
3. Click the details button on the right of the line (**10. satır ayrıntısını göster** — Show line 10 details).
   <!-- action: click · target: "10. satır ayrıntısını göster" -->
4. Select the contract in the **Sözleşme** (Contract) list. Each option shows the contract number, unit price and open quantity.
   <!-- action: select · target: "Sözleşme" · value: "SSZ-2026-000001 · 235,00 · kalan 2.000 ADET" · expect: "The unit price reverts to the contract price and the line discount is reset to zero; next to it, "Fiyat sözleşmeden gelir; hedef aşılamaz" (The price comes from the contract; the target cannot be exceeded) is shown" -->

   ![Call-off order — contract selected on the line](https://erpdocs.corexlogic.com/en/en/img/screens/satis/cagri-siparisi.png)
   1. Line details — expanded
   2. Contract — number, price and remaining
   3. Price from contract, no discount

5. Click **Siparişi Oluştur** (Create Order), then approve the sales order.
   <!-- action: click · target: "Siparişi Oluştur" · expect: "The sales order is saved as a draft; after approval it is counted in the contract's Çağrılan (Called Off) quantity" -->

**Result:** The approved sales order is added to the contract's **Çağrı Siparişleri** (Call-Off Orders) list; the item's **Çağrılan** (Called Off) quantity increases and **Kalan** (Open) decreases. Approval step: [Approve a sales order](https://erpdocs.corexlogic.com/en/satis/islemler/siparisi-onaylama).

## What you need to know

- The **Sözleşme** (Contract) field appears only if, for the line's item and unit, the customer has a contract that is
  in effect, valid on the order date and in the sales order's channel. The **Sözleşmesiz** (No contract) option removes
  the link, and the price proposal comes from the price list again.
- If you change the price or give a line discount on a contract line, saving is rejected. If the line's item or unit
  changes, the contract link is dropped.
- The called-off quantity is counted only from **approved** sales orders; a draft sales order does not consume the
  contract. The target check is performed at save time, including this sales order.
- A free-of-charge item cannot be called off from a contract.

## Server rejection messages

| Message | English | Cause |
|---|---|---|
| "MAM-0008: SSZ-2026-000001 hedefi 2000 ADET — çağrılan 2200." | MAM-0008: SSZ-2026-000001 target 2000 PCS — called off 2200. | Approved call-offs together with this sales order exceed the quantity target. |
| "SSZ-… hedef tutarı … TRY — çağrılan …." | SSZ-… target amount … TRY — called off …. | The target amount of a value contract is exceeded. |
| "SSZ-… yürürlükte değil — çağrı yapılamaz." | SSZ-… is not in effect — it cannot be called off. | The contract is a draft, closed or cancelled. |
| "SSZ-… sipariş gününde geçerli değil." | SSZ-… is not valid on the order date. | The sales order date is outside the validity period. |
| "SSZ-… TRY para biriminde — sipariş EUR." | SSZ-… is in TRY — the sales order is in EUR. | The currency is different. |
| "SSZ-… başka bir satış kanalının sözleşmesi." | SSZ-… is a contract of another sales channel. | The sales order's channel is different. |
| "MAM-0008: fiyat sözleşmeden gelir (235 TRY, satır iskontosu yok)." | MAM-0008: the price comes from the contract (235 TRY, no line discount). | The price or discount on the line was changed manually. |

When saving is rejected, the bottom of the form reads "Kayıt yapılamadı — sunucunun yanıtı eylem şeridinin üstünde."
(Could not save — the server's response is above the action bar.); the message is shown directly above the action
bar.

## Related

- [Sales contracts screen](https://erpdocs.corexlogic.com/en/satis/ekranlar/satis-sozlesmeleri)
- [Create a sales order](https://erpdocs.corexlogic.com/en/satis/islemler/siparis-olusturma)
- [Contract-based sales process](https://erpdocs.corexlogic.com/en/surecler/sozlesmeli-satis)
