Skip to main content

Inventory & Warehousing

Inventory Item

An Inventory Item represents a product or SKU tracked in the system. Each item has a name, SKU, and quantity-on-hand tracked across one or more warehouses.

Key fields

FieldTypeDescription
idUUIDPrimary key
organization_idUUIDOwning tenant
nametextProduct name
skutextStock-keeping unit (unique per org)
barcodetextBarcode value
quantity_on_handintegerCurrent stock level
reorder_pointintegerThreshold to trigger reorder alert
unit_costnumericCost per unit
categorytextProduct category
image_urltextProduct image
metadatajsonbAdditional attributes

Warehouse

A Warehouse is a physical or logical storage location. Each organization can have multiple warehouses.

Key fields

FieldTypeDescription
idUUIDPrimary key
organization_idUUIDOwning tenant
nametextWarehouse name
addresstextPhysical address
is_defaultbooleanWhether this is the default warehouse

Bin / Location

A Bin (or location) is a specific storage position within a warehouse (e.g., aisle-shelf-bin). Bins enable precise item placement and efficient pick routes.

Key fields

FieldTypeDescription
idUUIDPrimary key
warehouse_idUUIDParent warehouse
nametextBin label (e.g., A-03-12)
zonetextWarehouse zone
capacityintegerMaximum items

Stock Movement

A Stock Movement records any change in inventory quantity. Every inbound receipt, outbound shipment, adjustment, or transfer creates a movement record for auditability.

Movement types

TypeDescription
inboundGoods received (purchase order, return)
outboundGoods shipped (order fulfillment)
adjustmentManual correction (cycle count variance, damage)
transferMovement between warehouses or bins

Key fields

FieldTypeDescription
idUUIDPrimary key
inventory_item_idUUIDAffected item
warehouse_idUUIDWarehouse
movement_typetextType of movement
quantityintegerQuantity moved (positive for inbound, negative for outbound)
reference_idUUIDRelated order/PO/adjustment ID
notestextReason or description
created_byUUIDUser who recorded the movement
created_attimestamptzWhen the movement occurred

Purchase Order

A Purchase Order (PO) tracks goods ordered from suppliers. When goods arrive, PO receipt creates inbound stock movements.

Supplier

A Supplier (or Vendor) is a company you purchase inventory from. Tracked in the suppliers or vendors table.

TablePurpose
inventory_itemsProduct/SKU records
warehousesWarehouse definitions
warehouse_binsBin/location records
stock_movementsQuantity change log
purchase_ordersPurchase orders
po_itemsPO line items
suppliers / vendorsSupplier records