HeldStock
Stock held out of usable quantity (ADR 0052): the Damaged lines of an inbound receipt, which are booked as HELD units instead of being dropped. A held unit has no usable quantity and can never be reserved; a disposition (RELEASE, RETURN_TO_VENDOR, SCRAP, REWORK) settles it.
List the units held out of usable stock
The units still HELD (ADR 0052), oldest first (ties by id), filtered by `reason`, `sku` and age (`olderThanHours`: held for MORE than that many hours). A removed unit (released, returned, scrapped) is not listed; read it by id for its audit trail. Keyset-paginated (REST guideline section 3): `{items, nextCursor}`, `limit` (1-500, default 100) and the opaque `cursor`. Any other query parameter is 400 `unknown-query-parameter`. Side-effect-free.
Read one held unit
A held unit with its receipt line, owner, carton marks and, once decided, its disposition. A unit that was released, returned or scrapped stays readable here as the audit trail. Side-effect-free.
Decide what happens to a held unit
The disposition decision (ADR 0052). RELEASE returns the quantity to usable stock through the same staged-receipt seam as a fresh receipt (it is usable once stowed) and emits `StockReleased`; RETURN_TO_VENDOR and SCRAP remove the unit; REWORK keeps it HELD under a new `reason` (default OTHER). Every decision emits `StockDispositioned`. The decision, the unit's save and the events are one transaction. A unit that already has a final disposition is 409 `held-unit-closed`.