labbench materials low-stock | All commands
Set a material's low-stock level (managers only)
Set the material's one low-stock level, shared by every lot and place of it: --mode inherit follows the lab default, --mode off never flags it, and --mode override with --threshold N flags it when its stock pooled across lots is at N or fewer in some unit. Repeating the same setting is safe. MATERIAL is matched like `labbench materials show`. Needs a signed-in manager session (labbench login); an API token is refused.
labbench materials low-stock set MATERIAL [flags]
labbench materials low-stock set MATERIAL
| Flag | Type | Default | Description |
|---|---|---|---|
--mode | string | inherit, off or override | |
--threshold | int | 0 | with --mode override: flag the material at this many or fewer |
Every command also accepts the global flags.