From 1cde8ab2e64281d81953aaed76825a9200ec81da Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Thu, 11 Sep 2025 06:42:02 -0500 Subject: [PATCH] fix(mm query): more changes to the material query to please more plants --- server/services/sqlServer/querys/ocp/mainMaterial.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/services/sqlServer/querys/ocp/mainMaterial.ts b/server/services/sqlServer/querys/ocp/mainMaterial.ts index bfb3a11..7fcc646 100644 --- a/server/services/sqlServer/querys/ocp/mainMaterial.ts +++ b/server/services/sqlServer/querys/ocp/mainMaterial.ts @@ -134,5 +134,8 @@ group by IdArtikelVarianten,ArtikelVariantenBez ) as l on l.IdArtikelVarianten = MaterialHumanReadableId -where lot.ProductionLotHumanReadableId = @lot and MaterialDescription not like '%nopal%' +where lot.ProductionLotHumanReadableId = @lot and + MaterialDescription NOT LIKE '%nopal%' + and MaterialDescription NOT LIKE '%bb%' + and MaterialDescription NOT LIKE '%mcg%' `;