# WHS_ITEM_FAIL: Stock outbound for item 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_ITEM_FAIL

## What happened

A single line item on an order could not produce an outbound stock movement. Other items in the order may have committed successfully.

## Likely causes

- A paid order line could not be deducted from stock, usually because the warehouse does not allow negative stock and quantity was insufficient.
- The product or variant on the order line could not be matched to a stock record in the warehouse.

## How to resolve

1. The customer has already paid; fulfil or resolve the order line as usual.
2. Restock the item or adjust its stock level in Warehouse, then record the outbound for the order line manually.
3. To let paid orders always deduct stock, allow negative stock on the warehouse.

## Related codes

- WHS_COMMIT_F: Stock commit failed
- WHS_LOWSTOCK: Low stock threshold breached
- WHS_EXP_FAIL: Expired reservation release failed
- WHS_RES_FAIL: Stock reservation failed
- WHS_RETURN_F: Stock return failed
- WHS_SYNC_RM_FAIL: Storefront stock refresh failed
