Worked example · simulated scenario
Rejecting an Oversized Removal
An amount removed from one carton cannot be larger than the amount recorded in it. If the entry says otherwise, either the proposed use or the stock record needs attention before the change is accepted.
A carton record contains 250 mL milk and a cook enters a 300 mL removal.
The tool rejects the oversized removal rather than storing negative stock. Review the carton and correct the appropriate entry; do not treat the error as evidence that food has already been consumed.
Check a removal larger than the carton
- Open the 250 mL milk batch.
- Enter 300 with Used in cooking and attempt to record removal.
- Review the input validation and remaining batch quantity.
The original amount is protected
The form rejects the amount because it exceeds the batch maximum. The batch stays at 250 mL.
If the actual carton has more, correct the underlying inventory record before relying on it.
