Skip to main content
Version: v1.0.0(int)

W106: Adjust inventory

Records a positive correction to finished-goods on-hand. Triggered from the Finished Goods Inventory page, "Adjust". Mirrors the materials equivalent (W099).

Steps

  1. Validate the SKU and location. Confirm both exist.

  2. Write the ADJUST ledger entry. Call FinishedGoodsInventory.recordAdjustment({ skuId, locationId, quantity, eventDate, notes }). quantity is positive (per the L1 quantity > 0 invariant). ref is null on ADJUST rows.

Returns

The ledger entry.

Business rules

  • Adjustments are unrefed by design.
  • ADJUST is inflow-only. Reductions go through W107 (Dispose); the L1 enum splits the two.

Errors

  • NotFoundError. The SKU or location was not found.