Item stock and quantities
How the quantity of an item works: the opening stock, tracked and unlimited items, what raises and lowers the quantity, the stock movements of an item, and how to correct it.
Two kinds of items
An item either has a tracked quantity or unlimited stock. A tracked item has a number that the system keeps for you: 58 croissants, 12 slices of cake. An unlimited item has no number and never runs out, which fits a service, a cup of coffee, or anything prepared when it is ordered.
You choose with the Unlimited stock switch in the Stock card of the item form.

- 1Unlimited stockOn means the quantity is not counted. Off means the item is tracked.
- 2QuantityGray while the switch is on, because an unlimited item has no quantity.
The opening quantity
When you add a tracked item, the number you type in Quantity is what you have on the shelf at that moment. Alkaml records it as the opening stock of the item, the first line of its history. From then on you never type the quantity again: the system changes it for you.
What changes the quantity
Six things move the stock of an item, and each one is written in its history.
- A sale
- Lowers the quantity by what was sold, on the website and on every device.
- A return
- Raises it by what the customer brought back.
- A confirmed purchase
- Raises it by what you received from the supplier.
- A purchase return
- Lowers it by what you sent back to the supplier.
- An adjustment
- Raises or lowers it by a number you type with a written reason, such as damaged goods.
- A stock count
- Sets it to what you counted on the shelf and records the difference.
Why the quantity field is locked
On the page of a tracked item the Quantity field is gray. This is on purpose: a number typed over the quantity could erase a sale made a moment earlier on another device. A correction is made on the Stock page instead, as an adjustment or a count, so it is written in the history with its reason.

- 1QuantityThe quantity right now. It cannot be typed over.
- 2The noteSays what changes the quantity and where to correct it.
The stock movements of an item
Open the item and press the Stock movements tab to read its whole history, newest first. Each line is one change with its reason. It is the stock card of the item: what came in, what went out, and the balance after each change.

- 1Stock movementsThe tab shows for a tracked item, to anyone with the View movements permission of Stock.
- 2KindWhy the quantity changed: opening stock, sale, return, purchase, adjustment, or count.
- 3ChangeHow much was added, in green, or taken away, in red.
- 4AfterThe quantity right after that change. The top line is the quantity now.
- 5SourceThe number of the invoice or purchase behind the change. Press it to open that document.
- 6Open in the Stock pageShows the same movements on the Stock page, where you can filter by kind and date and make an adjustment.
Start or stop tracking an item
To start tracking an unlimited item, open it, switch Unlimited stock off, type the quantity you have, and save. That quantity becomes its opening stock.
To stop tracking an item, switch Unlimited stock on and save. Its history stays, and sales no longer change a quantity.
When the quantity reaches zero
Alkaml never stops a sale because the screen says zero, since the goods in the customer's hand are real even when the number is wrong. The quantity simply goes below zero, which is your sign to count that item and find what was not recorded.
Questions about item stock
Why did the quantity not change after a sale?
The item has unlimited stock, so nothing is counted. Switch Unlimited stock off on its page to start tracking it.
Does a draft purchase change the quantity?
No. Only a confirmed purchase moves stock. A draft changes nothing until you confirm it.
Can the quantity go below zero?
Yes. Selling is never blocked, so a negative quantity means sales were made of goods the system did not know about. A stock count puts it right.
Who can see the stock movements of an item?
The owner, and employees with the View movements permission in the Stock section.
Are sales made offline counted in the stock?
Yes. A device lowers its own quantities at once, and the sale lowers the stock of your account when the device sends it.