Skip to content

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.

fix: outside operations should still be included in dependency graph

Brad Barbin091e613c2bd5
diff --git a/packages/database/supabase/functions/lib/scheduling/scheduling-engine.ts b/packages/database/supabase/functions/lib/scheduling/scheduling-engine.ts
index d7fd04a27a..7af4c8f3e8 100644
--- a/packages/database/supabase/functions/lib/scheduling/scheduling-engine.ts
+++ b/packages/database/supabase/functions/lib/scheduling/scheduling-engine.ts
@@ -281,7 +281,6 @@ class SchedulingEngine {
.selectAll()
.where("jobId", "=", this.jobId)
.where("status", "not in", ["Done", "Canceled"])
- .where("operationType", "not in", ["Outside"])
.orderBy("order")
.execute(),
]);