InventorySuppliers

Suppliers

Suppliers are first-class records in Rubberfit. They back the purchase order workflow and the reorder rules “preferred supplier” choice.

The supplier record

inventory.suppliers:

ColumnNotes
idUUID
nameDisplay name
primary_contact_emailFor PO communications
primary_contact_phoneOptional
payment_termsFree-text (e.g., “Net 30”)
default_lead_time_daysUsed to suggest reorder thresholds
notesFree-text
statusactive / inactive

Many-to-many with materials

The inventory.material_suppliers join table links each supplier to the materials they carry. A supplier can carry many materials; a material can come from many suppliers.

The join row also stores per-supplier-per-material:

  • default_price_per_m2 — the most-recently-recorded price
  • min_order_qty_m2 — minimum draft quantity
  • notes — supplier-specific notes for this material

Price history

Every received PO line writes to inventory.price_history:

ColumnNotes
material_id, supplier_idThe pair
price_per_m2What you paid
quantity_m2How much
received_atUTC
purchase_order_idFK back to the source

The dashboard surfaces a per-material price chart with all suppliers overlaid. When two suppliers carry the same material, the chart immediately shows divergence.

Why this matters

Most general MFG SaaS treats suppliers as a contact-card lookup. Rubberfit treats them as the source of truth for material cost trends. The price-history table makes “is supplier A still the best deal on durometer-70 EPDM?” a one-query answer.

Supplier records are soft-deleted (status = inactive) rather than dropped. Existing PO history and price-history rows keep their FK pointing at the inactive record so the audit trail stays intact.

See also