# How to fix a mistaken sale, production run or stock entry

> Open a wrong sale and click Edit sale to change its items, quantities, prices, discount or date; Jogan puts the old stock back and takes the new amounts out, and the invoice number stays. A wrong purchase, adjustment or waste entry is undone with Reverse on the Stock page. A production run is corrected by an Admin deleting it and running it again.

_Category: Troubleshooting · Updated 2026-10-18 · Canonical: https://jogan.cloud/help/fix-a-mistake_

Jogan keeps history intact. A sale is corrected in place with its stock moved for you; a stock entry is undone with a linked reverse entry, so the ledger always explains itself.

## A wrong sale (quantity, price, item, date)

1. Open **Sales**, click the invoice number, then **Edit sale**.
2. Change what was wrong: add or remove items, fix a quantity or price, the discount, or the **Date of sale**.
3. Click **Save changes**.

Jogan puts the old quantities back in stock (and back into the batches they came from), then takes the new ones out, in one step. If there is not enough stock for the new amounts, nothing changes and you are told what is short. The invoice number stays the same, and the edit does not count as another sale toward your monthly limit.

Items that were already on the sale keep the cost they were sold at, so fixing a typo weeks later does not change that sale's profit. An item you add is costed at today's average.

To remove a sale entirely, an **Admin** clicks **Delete sale** instead: the stock comes back and the sale leaves the reports and the month's sales count.

## A wrong production run

1. An **Admin** opens **Production** and clicks **Delete run** on the row.
2. Jogan lists the impact: consumption and output movements removed, the output batch removed, and any sale that had drawn from that batch corrected (the line is dropped, or the whole sale if it was the only line).
3. Confirm, then run production again with the right quantity.

## A wrong purchase, adjustment or waste entry

1. Open **Stock** and find the entry.
2. Click **Reverse** on its row and confirm.

Jogan posts the opposite entry on the same date and links the two; the row shows **Reversed** and the new one **Reversal**. Then record the right entry if there should be one. Nothing is deleted, so the ledger still shows what happened.

- Reversing stock that came in takes it back out at the price it came in at and corrects the item's average cost. It is refused if some of that stock has already been used or sold; record an **Adjustment out** for what is left instead.
- Reversing stock that went out (waste, damage, an adjustment out) puts it back, into the batches it came from.
- Each entry can be reversed once. Entries made by a sale or a production run are corrected through that sale or run, not here.

See [How to correct a count or record waste](https://jogan.cloud/help/stock-adjustments-and-waste).

## A wrong unit cost on a purchase

**Reverse** the purchase, which takes it out at the wrong price and puts the average back, then record the purchase again at the correct unit cost.

## A wrong recipe

Edit the recipe; future runs use it. Past runs are not changed, so adjust the affected items' stock if the error was material.

## Who can do this

Admins and Members can edit sales and reverse stock entries. Deleting a sale or production run is Admin-only. See [Team roles explained](https://jogan.cloud/help/team-roles-explained).
