Inventory¶
aggregate-root inventory
Availability and stock state used to support selling, reservation, allocation, transfer, and fulfillment.
Business Purpose: Provide inventory visibility and control across commerce, order, fulfillment, and store operations.
Identity¶
| Type | Field | Description |
|---|---|---|
aggregate-scoped |
inventory-id |
Identifier scoped to the inventory domain, stable across operational state changes. |
Attributes¶
| Attribute | Description |
|---|---|
inventory-id Inventory ID |
Stable inventory record identifier. |
item-id Item ID |
Item reference. |
location-id Location ID |
Inventory location reference. |
quantity Quantity |
Quantity represented by the record. |
status Status |
Current inventory state. |
Lifecycle¶
created → available → reserved → allocated → adjusted → counted → transferred
Invariants¶
non-negative-available— Available quantity must not be negative.item-reference-required— Every inventory record must reference a valid item.
Relationships¶
| Type | Target |
|---|---|
contains |
inventory-item inventory-item |
located-at |
store store |
Events¶
| Event | Classification | Terminal |
|---|---|---|
AtpCalculated |
calculated | — |
InventoryAllocated |
created | — |
InventoryReallocated |
transitioned | — |
InventoryAdjusted |
updated | — |
InventoryCounted |
transitioned | — |
Used by Capabilities¶
- inventory-visibility Inventory Visibility
- inventory-allocation Inventory Allocation
- store-inventory Store Inventory
Used by Processes¶
Used by Applications¶
- Inventory Service
inventory-service
Semantic Constraints¶
| Constraint | Type | Rule |
|---|---|---|
reservation-references-inventory |
association |
A Reservation must reserve a specific Inventory Item. Reservations wit… |
inventory-owned-by-sim |
ownership |
Inventory state for store locations is exclusively owned by the SIM. |
inventory-in-inventory-domain |
domain-containment |
The Inventory Business Object is owned by the Inventory domain. |
Note
Aligned with existing inventory object. The legacy stock-movement object is not part of OBJ-001 target structure.