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.

Add fallbacks for onshape BOM sync

Gaurav Bhatt9393c7c95005
diff --git a/apps/erp/app/routes/api+/integrations.onshape.d.$did.v.$vid.e.$eid.bom.ts b/apps/erp/app/routes/api+/integrations.onshape.d.$did.v.$vid.e.$eid.bom.ts
index f25406ac2f..35087ed1dc 100644
--- a/apps/erp/app/routes/api+/integrations.onshape.d.$did.v.$vid.e.$eid.bom.ts
+++ b/apps/erp/app/routes/api+/integrations.onshape.d.$did.v.$vid.e.$eid.bom.ts
@@ -157,7 +157,7 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
row["Revision"]
),
// biome-ignore lint/complexity/useLiteralKeys: suppressed due to migration
- name: row["Name"],
+ name: row["Name"] || row["Description"] || row["Part number"] || "",
id: item?.itemId ?? undefined,
replenishmentSystem,
defaultMethodType,