Skip to content

Allocation

aggregate-root inventory


Assignment of inventory to demand for fulfillment execution.

Business Purpose: Connect inventory supply to orders, fulfillment orders, and shipments.

Identity

Type Field Description
aggregate-scoped allocation-id Identifier scoped to the inventory domain for this assignment record.

Attributes

Attribute Description
allocation-id Allocation ID Stable allocation identifier.
inventory-id Inventory ID Related inventory reference.
order-id Order ID Related order reference when applicable.
quantity Quantity Allocated quantity.
status Status Current allocation state.

Lifecycle

createdallocatedreallocatedreleasedconsumed

Invariants

  • inventory-reference-required — An allocation must reference an inventory record.
  • demand-reference-required — An allocation must reference a demand source (order, fulfillment order, or shipment).

Relationships

Type Target
allocates inventory inventory
supports fulfillment-order fulfillment-order
references order order

Events

Event Classification Terminal
InventoryAllocationReleased transitioned

Used by Capabilities

  • inventory-allocation Inventory Allocation

Used by Applications

  • Inventory Service inventory-service

Note

Existing services allocate inventory but reference inventory as primary object; allocation exists in the legacy business object model and event model.


← Back to Inventory Domain