# Change a purchase order

> Edit a draft order; the cancellation, closing and copying options when a finalized order needs to change.

URL: https://erpdocs.corexlogic.com/en/satin-alma/islemler/siparisi-degistirme

- **Type:** Task
- **Module:** Procurement
- **Menu path:** Satın Alma › Sipariş Yönetimi › Satın Alma Siparişleri › sipariş detayı › Düzenle (Procurement › Order Management › Purchase Orders › order details › Edit)
- **Screen route:** `/erp/procurement/orders/{id}/edit`
- **Required permission:** `erp-procurement-orders.edit`
- **Prerequisites:**
  - The order is in **Taslak** (Draft) status (an order in Onay Bekliyor (Pending Approval) must first be rejected and returned to draft).

Only a **draft** order can be edited. On a finalized order, supplier, item, quantity, unit, price and VAT are locked;
the server rejects changes with the message "Yalnız Taslak durumundaki satın alma siparişleri düzenlenebilir." (Only
purchase orders in Draft status can be edited.)

## Steps

1. In the details of the draft order, click **Düzenle** (Edit).
   <!-- action: click · target: "Düzenle" · expect: "The SA-… Düzenle (Edit) form" -->
2. Change the header fields (Tedarikçi (Supplier), Sipariş Tarihi (Order Date), and on the tabs Teslim Deposu (Delivery Warehouse), Vade (Payment Term), Teslim Şekli (Incoterms)…) or the items. To add a line, use **Satır Ekle** (Add Line); to delete one, use the line's **sil** (delete) button.
   <!-- action: fill · target: "Teslim Deposu" · value: "HAMMADDE — Hammadde Deposu" -->
3. Click **Değişiklikleri Kaydet** (Save Changes).
   <!-- action: click · target: "Değişiklikleri Kaydet" · expect: "'Sipariş güncellendi.' (Order updated.)" -->
4. Return to the details with **Detaya dön** (Back to details) and [finalize](https://erpdocs.corexlogic.com/en/satin-alma/islemler/siparisi-kesinlestirme) the order.
   <!-- action: click · target: "Detaya dön" -->

**Result:** The draft is updated; the status remains **Taslak** (Draft).

## If a finalized order needs to change

| Situation | What to do |
|---|---|
| Nothing received yet (Sipariş Verildi (Ordered)) | **Siparişi İptal Et** (Cancel Order; with a reason), then open a new draft with **Kopyala** (Copy), correct it and finalize it. |
| Partially received; the remainder will not arrive or will change | **Siparişi Kapat** (Close Order; with a reason); open a new order for the remainder. |
| Excess quantity arrived / incorrect goods receipt | [Reverse](https://erpdocs.corexlogic.com/en/satin-alma/islemler/tedarikciye-iade) the goods receipt and receive again with the correct quantity. |
| Onay Bekliyor (Pending Approval) | Ask the approver to **Reddet** (Reject); edit it once it returns to draft. Or use **Siparişi İptal Et** (Cancel Order). |

Details: [Close or cancel an order](https://erpdocs.corexlogic.com/en/satin-alma/islemler/siparisi-kapatma-iptal).

## What you need to know

- When you leave the form without saving, the system asks: you can stay on the page, save and leave, or discard the
  changes.
- On a concurrent change, the message "Bu satın alma siparişi bu sırada başka bir kullanıcı tarafından değiştirildi.
  Sayfayı yenileyip tekrar deneyin." (This purchase order was changed by another user in the meantime. Refresh the
  page and try again.) is returned.

## Related

- [Purchase orders screen](https://erpdocs.corexlogic.com/en/satin-alma/ekranlar/satinalma-siparisleri)
