Oct 12, 2026 (Morning) Release: Warehouse Selector / Factory Labels / Receipt Detail Hotfix
Last updated 2026-10-13
Mobile warehouse selector, factory-label receiving, and an inventory lot fix, plus an emergency hotfix for the crashed receipt detail pages.
New features#
- Mobile WMS home (My Tasks) warehouse selector: single-warehouse selection is required (no “all warehouses” — “nobody works across warehouses”), remembered in localStorage; task list, inventory lookup and scan all filter by the selected warehouse. (migration 192)
- Factory-label receiving: when building pallets you can use the factory’s own label (label_source system/factory, uniqueness checked per tenant) via a “Use factory label” toggle on the mobile build page — no new label is printed.
Fixes#
- Emergency hotfix: all receipt detail pages went blank (client-side exception) — 3 useMemos were written after early returns (if (loading)/if (!detail)), violating React Hooks rules. Fixed by moving them before the early returns with null-safe access (detail?.lines ?? []).
- Fixed the wms_inventory_lot upsert overwriting inventory (10→5 instead of accumulating to 15) — receiving twice at the same location and lot would lose stock. Now it accumulates.
- Mobile palletize page: hand-typed locations are now auto-validated (previously entering B-01-01 and tapping Build complained “location is required”), and failed submissions auto-scroll to the top.
saas dpl_Be9ESYzw (06:53) READY · mobile READY · migration 192 ✅
hotfix saas dpl_711XfZaztAA5JV7knpxVvtv2TV9v READY