Index: AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml =================================================================== diff -u -r42546 -r43003 --- AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml (.../BehoeftePlanningIterator.cls.xml) (revision 42546) +++ AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml (.../BehoeftePlanningIterator.cls.xml) (revision 43003) @@ -56,7 +56,7 @@ If ..Vestiging = ##class(AXimpl.InterneFirmaInitialen).VanHoeckeNv() { Set SqlStatement = "SELECT ID FROM Prod.Product WHERE isnull(Gentype,'')='' AND KortTekst NOT LIKE 'GEN%' AND StockNietStock = '1'" - _" AND LinkType NOT LIKE 'S' AND LeverancierNummer NOT LIKE '6332' AND (NonAktief IS null OR NonAktief = '2')" + _" AND (LinkType NOT LIKE 'S' OR LinkType IS null) AND LeverancierNummer NOT LIKE '6332' AND (NonAktief IS null OR NonAktief = '2')" // Indien nodig is hieronder een filter voorzien om het resultaat te beperken tot overzichtelijk, voor debugging: /*_" AND ID IN (34716,100434,200582,254237,353739,371127,379316,446650,534374,568105,568123,670483,683737,683793,701496,701513,754875)"*/ } Else {