Skip to main content

Module inventory

Module inventory 

Source
Expand description

Inventory models stock position, available units, reorder thresholds, and oversell checks for retail staff workflows. Inventory models for retail stock counts, available units, and reorder threshold decisions.

Structs§

AvailableUnits
Units available to sell after reserved units are subtracted from on-hand stock.
OnHandUnits
Units physically on hand at a location before reservations or holds are subtracted.
Position
Validated inventory position that guarantees reserved units do not exceed on-hand units.
ReservedUnits
Units already reserved for checkout, service bundles, or staff-held transactions.
Stock
Source stock record promoted from POS/inventory data before invariant checks are applied.
UnitCount
Positive unit threshold used for reorder-at quantities and tracked inventory policy.

Enums§

Availability
Availability status used by recommendation policy to suppress unavailable products.
Policy
Inventory policy used by POS, recommendation, and reorder workflows to decide whether stock checks apply.
UnitCountError
Unit-count validation errors that keep reorder thresholds and tracked inventory policy usable by staff.