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
Planning actions as grid column + expandable rows
Replaces the PlanningActionsTable card (hand-rolled table above the planning grid) with
Carbon-native surfaces on the existing Table: an Actions column, an expandable row
listing the item's persisted planningAction rows, an Assigned to me quick filter, and
an Apply Suggested Changes bulk item. One table per route, state in the URL.
Design rationale: this conversation's brief (Sept 29). Spec context:
.ai/specs/2026-08-22-mrp-v2-planned-order-generation.md §P1.7 / §10.
Tasks
-
- Shared UI:
modules/production/ui/Planning/PlanningActionLines.tsx(type badge + icon vocabulary, Actions cell, expanded-row lines, filter options,isApplyablePlanningAction) + pureplanning-action-scope.ts(URL keys, loader scope resolver, unit-tested). DeletePlanningActionsTable.tsx.
- Shared UI:
-
- Services: optional
itemIdsrestriction ongetPurchasingPlanning/getProductionPlanning.
- Services: optional
-
- Loaders (both planning routes): strip the
planningActionscolumn filter and the assignee filter (first anactions=mineswitch, now the Assignee column's people filter,filter=planningAssignee:in:<userId>,…) from the grid filters, resolve them to item ids from the loaded actions, passitemIds. Drop the card.
- Loaders (both planning routes): strip the
-
- Grids (both):
planningActionsprop, Actions column (static type filter, export value),canExpandRow/renderExpandedRow,headerActionsswitch, worklist fetcher (apply / dismiss / reopen / assign-to-me → existing update route), "Apply Suggested Changes" inrenderActions.
- Grids (both):
-
- Update routes (both):
reopencase (mirrordismiss, calls the newreopenDismissedPlanningActions; the existingreopenPlanningActionsis the apply claim rollback).
- Update routes (both):
-
- Verify:
pnpm exec turbo run typecheck --filter=erp,pnpm run lint.
- Verify:
Verification
- typecheck + biome green
- Browser (if a dev server is up): Actions column shows badges; chevron only on items with actions; expanded lines show Apply / Review / Order; switch filters the grid; bulk "Apply Suggested Changes" posts one batched request.