Index: AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml =================================================================== diff -u -r45842 -r46084 --- AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml (.../BehoeftePlanningIteratorFilter.cls.xml) (revision 45842) +++ AX/Uitgaand/PM/BehoeftePlanning/impl/BehoeftePlanningIteratorFilter.cls.xml (.../BehoeftePlanningIteratorFilter.cls.xml) (revision 46084) @@ -18,8 +18,8 @@ 1 - -%Integer + +AX.Uitgaand.PM.VrijgegProduct.impl.VoorraadInstellingCalculator 1 @@ -29,15 +29,16 @@ -Vestiging:AXimpl.InterneFirmaInitialen,Utils:AXimpl.Utils +Vestiging:AXimpl.InterneFirmaInitialen 1 1 %Status 1 @@ -75,6 +76,12 @@ Set IsValid = $$$False }} + If (IsValid = $$$True){ + If (..BerekenLeveringsModaliteiten(ProductBehoefte) = "") { + Set IsValid = $$$False + } + } + Quit IsValid ]]> @@ -90,6 +97,28 @@ Quit $$$OK ]]> + + +ProductBehoefte:AX.Uitgaand.PM.Product.impl.Product +1 +%String + 0) { + Set MinInventOnhand = VeiligheidsVoorraad + } ElseIf (ScanType > 0) { + Set MinInventOnhand = ScanType + } Else { + Set MinInventOnhand = "" + } + + Quit MinInventOnhand +]]> +