labbench materials low-stock | All commands

labbench materials low-stock set

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.

Usage

labbench materials low-stock set MATERIAL [flags]

Example

labbench materials low-stock set MATERIAL

Flags

FlagTypeDefaultDescription
--modestringinherit, off or override
--thresholdint0with --mode override: flag the material at this many or fewer

Every command also accepts the global flags.