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%' `;