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
-- Add externalId column to salesInvoice for accounting provider sync
ALTER TABLE "salesInvoice"
ADD COLUMN IF NOT EXISTS "externalId" JSONB;
-- Create index for efficient lookups by provider
CREATE INDEX IF NOT EXISTS "salesInvoice_externalId_idx"
ON "salesInvoice" USING GIN ("externalId");