Manager version: [26.10.11.0] – Cloud
Steps to reproduce:
- Purchase Invoice dated 02/09 – Item A, qty 200, cost 792.00
- Debit Note dated 08/09, linked to that purchase invoice – Item A, qty 200 (return to supplier)
- Sales Invoice dated 08/09 – Item A, qty 200
What happens:
- Manager accepts all three without any warning (both through the UI and through Batch Create).
- Qty owned for Item A becomes -200 and inventory value becomes -792.00.
- Before “recalculate cost”, the sales invoice had cost 0.00. After recalculating, it took 792.00, while the debit note still takes 792.00 at the cost of the linked purchase invoice. The same 792.00 is deducted twice.
- The cost of the sales invoice depends on which of the two same-day transactions is processed first.
Expected:
- A warning (or optional block) when saving or importing a transaction that makes qty owned negative, showing the item and the date.
- An “Inventory items with negative qty” check, for example in the Inventory Items tab or in Batch Create results.
- Clear documentation on how a debit note linked to a purchase invoice is costed when qty on hand is not enough.
Negative stock is allowed by design, which is fine for some businesses. But a warning would catch data entry errors like this one before they reach COGS and the balance sheet.