Viability: Begin testing
The (missing) /viability/inventory page allows the user to scan the inventory barcode and retrieve
InventoryViability data of the selected inventory.
- Inventory Barcode scanner (maybe in the Header?)
- Basic inventory info (see below, plus
- Table of
The overall look-and-feel resembles the Inventory group details:
Scanning the barcode
Scanning the inventory barcode fetches all
InventoryViability records in the system using the existing API call.
If there is one
percentViable === null, redirect to
Schedule test: adds a new pending
VIABILITY_TESTto the system
Test now: opens a dialog to select the
InventoryViabilityRule(used in Create order) and creates a new
InventoryViabilityrecord and opens the details of this new record at
Allows the user to open the details of each test.