-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Objective: Build a decentralized inventory system that allows organizations to manage stock across multiple warehouses/workspaces with automated reordering logic.
Juggling Strategy: This will "juggle" the existing ProcurementOrder logic by linking it to physical stock levels and warehouse thresholds.
Key Files (9+):
models/Warehouse.js (New - Multi-location management)
models/StockItem.js (New - SKU tracking, batch numbers, and expiry)
models/BackOrder.js (New - Handling stock-outs)
services/inventoryService.js (New - High-complexity stock movement & reconciliation logic)
services/replenishmentService.js (New - Auto-generating PRs when stock hits safety levels)
routes/inventory.js (New - Massive API for stock management)
public/inventory-hub.html (New - Complex grid-based dashboard)
public/js/inventory-controller.js (New - Logic-heavy stock manager)
utils/stockMath.js (New - Helping with Weighted Average Costing / FIFO valuation)