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
INSERT INTO "employeeTypePermission" ("employeeTypeId", "module", "view", "create", "update", "delete")
SELECT
et.id,
'Quality',
ARRAY[et."companyId"],
ARRAY[et."companyId"],
ARRAY[et."companyId"],
ARRAY[et."companyId"]
FROM "employeeType" et
WHERE et.protected = true
ON CONFLICT ("employeeTypeId", "module") DO NOTHING;