fix(mm query): more changes to the material query to please more plants

This commit is contained in:
2025-09-11 06:42:02 -05:00
parent 03e8378213
commit 1cde8ab2e6

View File

@@ -134,5 +134,8 @@ group by IdArtikelVarianten,ArtikelVariantenBez
) as l on ) as l on
l.IdArtikelVarianten = MaterialHumanReadableId 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%'
`; `;