Index: AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningDixfConverter.cls.xml =================================================================== diff -u -r48271 -r48296 --- AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningDixfConverter.cls.xml (.../BehoeftePlanningDixfConverter.cls.xml) (revision 48271) +++ AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningDixfConverter.cls.xml (.../BehoeftePlanningDixfConverter.cls.xml) (revision 48296) @@ -110,7 +110,7 @@ #dim VeiligheidsVoorraad As %String = ..VeiligheidsVoorraadCalculator.GeefVeiligheidsVoorraad(ProductBehoefte) #dim PrimaryVendorId As %String = ..Utils.ConvertPrimaryVendorId(..Vestiging,ProductBehoefte) - If ((VeiligheidsVoorraad = "") && (..Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv()) && (PrimaryVendorId = "05497")) { + If ((..Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv()) && (PrimaryVendorId = "05497")) { Set VeiligheidsVoorraad = "0" } Index: AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml =================================================================== diff -u -r48274 -r48296 --- AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml (.../BehoeftePlanningIterator.cls.xml) (revision 48274) +++ AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIterator.cls.xml (.../BehoeftePlanningIterator.cls.xml) (revision 48296) @@ -75,7 +75,7 @@ } Else { If ..Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv() { Set SqlStatement = "SELECT ID FROM Prod.Product WHERE isnull(Gentype,'')='' AND KortTekst NOT LIKE 'GEN%' AND KortTekst NOT LIKE 'IO%' AND StockNietStock = '1'" - _" AND (left(LinkType,2)='HH') AND ((isnull(NonAktief,0)=0) OR (NonAktief = '2'))" + _" AND ((isnull(NonAktief,0)=0) 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 { Index: AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml =================================================================== diff -u -r48275 -r48296 --- AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml (.../BehoeftePlanningIteratorFilter.cls.xml) (revision 48275) +++ AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml (.../BehoeftePlanningIteratorFilter.cls.xml) (revision 48296) @@ -68,7 +68,7 @@ } If IsValid { - If ((..VeiligheidsVoorraadCalculator.GeefVeiligheidsVoorraad(ProductBehoefte) = "") && ($$$Not(..Vestiging = ##class(AXimpl.InterneFirmaInitialen).HaluxNv() && $$$Not(PrimaryVendorId = "05497")))) { + If $$$Not($$$HasLength(..VeiligheidsVoorraadCalculator.GeefVeiligheidsVoorraad(ProductBehoefte))) { Set IsValid = $$$False } }