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 existing records with null embeddings to background jobs queue
SELECT pgmq.send(
'embedding_jobs',
jsonb_build_object(
'id', id,
'table', 'item'
)
)
FROM item
WHERE embedding IS NULL;
SELECT pgmq.send(
'embedding_jobs',
jsonb_build_object(
'id', id,
'table', 'supplier'
)
)
FROM supplier
WHERE embedding IS NULL;
SELECT pgmq.send(
'embedding_jobs',
jsonb_build_object(
'id', id,
'table', 'customer'
)
)
FROM customer
WHERE embedding IS NULL;