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: link for job material in used in component

Brad Barbinaf3201d4dbc3
diff --git a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx b/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
index f06e6c8a18..10e6ee1bb9 100644
--- a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
+++ b/apps/erp/app/modules/items/ui/Item/UsedIn.tsx
@@ -469,7 +469,7 @@ function getUseInLink(
if (!child.documentId) return "#";
return `${path.to.jobMaterials(
child.documentId
- )}?filter=itemReadableId:eq:${itemReadableIdWithRevision}`;
+ )}?filter=readableIdWithRevision:eq:${itemReadableIdWithRevision}`;
case "methodMaterials":
if (!child.documentId || !child.itemType) return "#";
return getPathToMakeMethod(