Skip to content

Import opening stock

Available on
  • Trial
  • Pro
  • Enterprise
Who can do this
  • Import opening stockRoles: AdministratorPermission: inventory:write

The opening stock import brings in the stock you have on hand when you start with werkplan, from a CSV file: how much of each item at each location, in which lot. Every row goes through the stock ledger as an opening entry, so it is listed on the Transactions screen like any other movement.

On the Stock screen, open Actions and click Import opening stock…. How a CSV import works explains the dialog, the file and its formats.

A row is one item’s stock at one location in one lot. sku names the item by its SKU or barcode, and location a stock location by its code; an empty location is your organisation’s default location, or else the oldest active one.

  • No stock of the item there yet: the row receives it, with the reason “Opening stock import”, its lot, its expiry date and its unit cost. An empty unit cost means not costed, not free.
  • Stock that only opening entries have moved: a row with another quantity corrects it, as an adjustment with the reason “Opening stock correction”, so a later file can correct it again. The unit cost and expiry date aren’t changed.
  • Stock that has moved otherwise, by a receipt, an issue, a reservation or a void: a row with another quantity is refused. Count it in a stocktake instead.

A lot-tracked item needs its lotNumber; any other item’s lot number is ignored. Add the items and the stock locations first.

ColumnFormatWhat it holdsExample
skuRequiredImport keyTextThe SKU or barcode of the item on the shelf; with the location and the lot, it names the stock a re-import correctsFLR-RYE-997
quantityRequiredDecimalHow much is there, in the item's unit; greater than zero. A re-import corrects the stock to it while the stock has had no movement besides its opening entries250
locationImport keyTextThe code of the location it is in; the default location when emptyA-01
unitCostDecimalWhat one unit cost; the stock is uncosted when empty. Read when the row brings the stock in; a re-import corrects only the quantity0.62
lotNumberImport keyTextThe lot it belongs to; required for a lot-tracked item, and ignored for any otherL-2026-118
expirationDateDate, YYYY-MM-DD or your organisation's short dateThe day the lot expires. Read when the row brings the stock in; a re-import corrects only the quantity2027-03-31
  • A sku that matches no item’s SKU or barcode, or that two items share, and an item that isn’t active.
  • A quantity of zero or less, and a unit cost below zero.
  • A location that matches nothing, is inactive, or is a contractor’s premises, and a row with no location when your organisation has no active one.
  • A lot-tracked item without a lotNumber.
  • The same item at the same location in the same lot twice in the file.
  • Stock that has moved: count it in a stocktake.

Still stuck? Write to support@example.com.