Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
CREATE TABLE "supplierInteraction" (
"id" TEXT NOT NULL DEFAULT xid(),
"purchaseOrderId" TEXT,
"purchaseOrderCompletedDate" TIMESTAMP WITH TIME ZONE,
"supplierQuoteId" TEXT,
"supplierQuoteCompletedDate" TIMESTAMP WITH TIME ZONE,
"quoteDocumentPath" TEXT,
"salesOrderDocumentPath" TEXT,
"companyId" TEXT NOT NULL,
PRIMARY KEY ("id"),
FOREIGN KEY ("purchaseOrderId") REFERENCES "purchaseOrder" ("id") ON DELETE SET NULL,
FOREIGN KEY ("supplierQuoteId") REFERENCES "supplierQuote" ("id") ON DELETE SET NULL,
FOREIGN KEY ("companyId") REFERENCES "company" ("id") ON DELETE CASCADE
);