Skip to main content

Opening Stock import

Screen
Module
General
Menu path
Yönetim › Araçlar › Veri Aktarımı › Stok Açılışı (Administration › Tools › Data Import › Opening Stock)
Screen route
/erp/data-import/stock-opening
Required permission
erp-inventory-opening-balances.view (görme, kontrol) · .import + .create (aktarma)

The inherited stock: with warehouse, storage location, status, batch/serial number and unit cost. Items, warehouses and storage locations are loaded first. This object is migration data: it is only imported with the template, and existing records are not exported (on the Dışa Aktar (Export) tab: "Bu nesne geçiş verisidir — yalnız şablonla içeri alınır, mevcut kayıt dışa aktarılmaz." — This object is migration data — it is only imported with the template, existing records are not exported.).

Cannot be run again — a document, not an update

The other objects work by code as "update if it exists, create if not"; the opening stock does not. Rows with the same Referans become a single opening document, and a reference that has already been posted is not posted a second time. In the demo installation, when the demo package's already-loaded opening workbook was validated again, all 136 rows were rejected with this message: "Bu referansla açılış zaten yazılmış (AB-2026-000001) — stok ikinci kez girmez." (An opening has already been posted with this reference (AB-2026-000001) — the stock is not entered a second time.) Loading the same file again does not correct anything; changes after the opening are made with Inventory Management documents.

Stock Opening — same reference is not posted twice
  1. 1All rows rejected
  2. 2"Opening already posted with this reference"

Workbook sheets​

SheetMatching (record key)What it writes
Açılış Bakiyeleri (Opening Balances)ReferansOpening rows. The same Referans becomes a single opening document; a reference already posted is not posted a second time.

Columns​

The tables are generated from the same source as the system's Alan Kılavuzu (Field Guide) tab. If a column with Required: Yes is left empty, the row becomes Hatalı (Invalid). All cells are read as text; Evet/Hayır (Yes/No) columns accept no other value, and in a column with a list of allowed values the spelling must match the list.

Açılış Bakiyeleri (Opening Balances)​

Opening rows. The same Referans becomes a single opening document; a reference already posted is not posted a second time. Matching: Referans.

ColumnRequiredDescriptionExample / allowed values
ReferansYesGroups the document — e.g. one reference per warehouse.DEVIR-ANA-D
AcilisTarihiYesOpening date (dd.mm.yyyy) — the go-live date is recommended. It cannot be in a closed period; a date earlier than today requires the back-dating permission.01.11.2026
DepoKoduYesThe warehouse code.ANA-D
LokasyonKoduNoThe warehouse's storage location; must be filled for a warehouse that requires storage locations.STOK
UrunKoduYesA stock-keeping item.HM-00001
UrunAdiNoInformation — not read.
MiktarYesGreater than zero.10
BirimYesThe item's unit or a convertible unit.ADET
StokDurumuYesStock status code (SIFIR, IKINCIEL …) — does not fall back to the default.SIFIR
LotNoNoRequired for a batch-managed item.
UretimTarihiNoThe batch's production date.
SonKullanmaTarihiNoThe batch's expiry date.
TedarikciLotNoNoThe supplier's batch number.
SeriNolariNoFor a serial-managed item, as many serial numbers as the quantity, separated with ';'.
BirimMaliyetYesApproved unit cost in the row's unit. Enter 0 for free-of-charge stock — it cannot be left empty: a goods receipt with cost is rejected for stock with an unknown cost (an opening valuation is required first).125,50
ParaBirimiYesThree-letter code (TRY, USD, EUR); a non-TRY cost is converted at the exchange rate of the opening date.TRY
MaliyetKaynagiYesThe basis of the cost (count record, purchase invoice, valuation list) — written into the document's description.Son alış faturası

In the demo package​

11-stok-acilisi.xlsx: opening on 01.10.2026 — four warehouses, batch-managed chemicals (with expiry dates), serial-numbered inverters and pumps; total value 1,960,810 TL. Kontrol Et (Validate) on an empty installation: 136 rows · Hatalı (Invalid) 0.

Common errors​

The messages are the same as the text in the system's Kontrol sonucu (Validation result) table (… is the variable part).

MessageCause and solution
Bu referansla açılış zaten yazılmış (…) — stok ikinci kez girmez. (An opening has already been posted with this reference (…) — the stock is not entered a second time.)The reference was imported before. If rows are missing, prepare a separate opening with a new reference.
…: '…' deposu bulunamadı. (…: warehouse '…' was not found.)Create the warehouse first with Warehouses and Storage Locations.
…: '…' deposunda '…' lokasyonu yok. (…: warehouse '…' has no storage location '…'.)Create the storage location under the warehouse; in a warehouse that requires storage locations, this column must be filled.
…: '…' stok durumu bulunamadı. (…: stock status '…' was not found.)Write the stock status code (e.g. SIFIR) exactly as defined in the system; an empty status does not fall back to the default.