Every saved sale reduces stock in its warehouse and records what the sold goods cost you. Till sales and back-office sales work the same way.
What gets written off
Mitoni writes stock off the sale's Warehouse at the sale's Date:
- Items without a recipe: the item itself. Selling 3 Croissant writes off 3 Croissant.
- Items with a recipe: when Make Production on Sale is on for the item (the default), the ingredients are written off instead. Selling 2 Cappuccino writes off twice the recipe, for example 36 g espresso beans and 0.4 l milk. An ingredient that has its own recipe is broken down further only when Make Production on Sale is on for that ingredient too. See Add a recipe to an item.
- Modifiers: modifiers that are items, for example "Oat milk", are written off too.
- Services: services, including table service charges, never change stock.
To see what a recipe line wrote off, open the sale, click the item details icon on the line and open the Write Off tab.
Note: Mitoni keeps the recipe as it was when the line was saved. If you change the recipe later, older sales keep their original write-off. When you later change a line's item or quantity, or the sale's date or warehouse, those lines are written off again using the current recipe.
What cost is recorded
Each written-off line gets the item's cost on the sale date. Which cost that is depends on Item Cost Calculation Method under Settings → Advanced Settings: Manual Cost, Average Purchase Cost or Last Purchase Cost. For recipe items, the cost is the sum of the ingredients' costs. See How item cost is calculated.
If Mitoni finds no cost for an item on the sale date, the cost is recorded as 0. Reports then show the full sale amount as profit for that line, so make sure every item has a cost or a purchase dated before the sale. See How sales, profit and margin are calculated.
When stock and cost are recalculated
- You edit a sale: changing the date, warehouse, lines or quantities rebuilds the sale's stock movements and costs.
- You delete a sale: its stock movements and costs are removed, so the stock goes back up.
- You restore a sale: its stock movements and costs come back.
- You record a sales return: the returned items go back into the return's warehouse. See Record a sales return.
- A purchase is entered late or corrected: sales already saved keep their old cost. Run Inventory → Recalculate Cost for the period to re-cost them. See Recalculate item costs.
Stock checks
When you save a sale in the back office, Mitoni checks whether the warehouse has enough stock of items that track stock. What happens depends on each item's stock control setting:
| Stock control | When stock is not enough |
|---|---|
| Track and Control Stock | The sale is blocked, unless your role has the Allow Selling Negative Stock permission. |
| Track Stock, Allow Negative | You are warned and can continue. Stock goes below 0. |
| Do Not Track Stock | No check. |
Services are never checked. When Negative Stock Control is turned off under Settings → Advanced Settings, no check is made for any item. See Create a sale in the back office and Control selling and moving stock below zero.
Troubleshooting
Stock didn't go down after a sale. Check that you're looking at the sale's warehouse and that the item isn't a service. For recipe items with Make Production on Sale on, check the ingredients' stock instead of the item's.
Profit for an item looks too high. The item probably had no cost on the sale date. Enter a cost or record a purchase dated before the sale.
An old sale wrote off the wrong ingredients. The sale used the recipe as it was when the line was saved. To redo the write-off with the current recipe, remove the line, add it again and save the sale.
