# WHS_RETURN_F: Stock return failed

- Module: WHS. Warehouse reservations, stock movements, low-stock alerts
- Severity: Error
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/WHS_RETURN_F

## What happened

Reversing stock movements for a cancelled or refunded order failed. The warehouse balance may overstate available stock.

## Likely causes

- An unexpected error occurred while returning stock for a cancelled or refunded order.
- The cancellation request referenced an invalid order line, so nothing was returned to stock.
- Releasing the order's stock reservation or recording the inbound movement failed.

## How to resolve

1. Open the order referenced in the log entry and identify which items should be back in stock.
2. Check the warehouse Movements tab for any return movements already recorded for the order.
3. Return the missing units manually using the Inbound stock action in Warehouse.
4. If the error repeats, contact support at support@bizkithub.com with the order number and log message.

## Related codes

- WHS_NOSRC_WARN: Stock movement missing source warehouse
- WHS_RTN_NOOP: Stock return: nothing to reverse
- WHS_COMMIT_F: Stock commit failed
- WHS_EXP_FAIL: Expired reservation release failed
- WHS_ITEM_FAIL: Stock outbound for item failed
- WHS_RES_FAIL: Stock reservation failed
