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
DROP POLICY "Employees with sales_create can insert opportunities" ON "opportunity";
CREATE POLICY "Employees with sales_create can insert opportunities" ON "opportunity" FOR INSERT WITH CHECK (
has_company_permission('sales_create', "companyId") AND
has_role('employee', "companyId")
);
DROP POLICY "Employees with sales_create can update opportunities" ON "opportunity";
CREATE POLICY "Employees with sales_create can update opportunities" ON "opportunity" FOR UPDATE USING (
has_company_permission('sales_update', "companyId") AND
has_role('employee', "companyId")
);