Import opening stock
- Available on
- Trial
- Pro
- Enterprise
- Who can do this
- Import opening stockRoles: Administrator
Permission: inventory:write
- Import opening stockRoles: Administrator
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.
Where you start it
Section titled “Where you start it”On the Stock screen, open Actions and click Import opening stock…. How a CSV import works explains the dialog, the file and its formats.
What a row does
Section titled “What a row does”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.
Columns
Section titled “Columns”| Column | Format | What it holds | Example |
|---|---|---|---|
skuRequiredImport key | Text | The SKU or barcode of the item on the shelf; with the location and the lot, it names the stock a re-import corrects | FLR-RYE-997 |
quantityRequired | Decimal | How 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 entries | 250 |
locationImport key | Text | The code of the location it is in; the default location when empty | A-01 |
unitCost | Decimal | What one unit cost; the stock is uncosted when empty. Read when the row brings the stock in; a re-import corrects only the quantity | 0.62 |
lotNumberImport key | Text | The lot it belongs to; required for a lot-tracked item, and ignored for any other | L-2026-118 |
expirationDate | Date, YYYY-MM-DD or your organisation's short date | The day the lot expires. Read when the row brings the stock in; a re-import corrects only the quantity | 2027-03-31 |
What it refuses
Section titled “What it refuses”- A
skuthat 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.