Index: AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieFilter.cls.xml =================================================================== diff -u --- AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieFilter.cls.xml (revision 0) +++ AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieFilter.cls.xml (revision 47733) @@ -0,0 +1,40 @@ + + + +TECH.RegisteredObject,TECH.Iterator + + +AX.Uitgaand.PM.impl.IsOngewenstProductInMigratieFilter +1 + + + +AX.Uitgaand.PM.impl.SoprIteratorFilter +1 + + + +1 +1 +%Status +1 + + + + +Item:TECH.ResultSet +%Boolean + + + + + + Index: AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieGenerator.cls.xml =================================================================== diff -u -r47501 -r47733 --- AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieGenerator.cls.xml (.../ProductCategorieGenerator.cls.xml) (revision 47501) +++ AX/Uitgaand/PM/Assortimenten/impl/ProductCategorieGenerator.cls.xml (.../ProductCategorieGenerator.cls.xml) (revision 47733) @@ -38,6 +38,11 @@ 1 + +TECH.Iterator +1 + + AX.Uitgaand.PM.Assortimenten.impl.AssortimentCategorieBepaler @@ -60,6 +65,8 @@ Do ..AxEntiteitLogger.ResetLoggingAxEntiteit(..AxEntiteit, ..Vestiging) Set ..FileWriter = $$$Implementation(FileWriter, ##class(TECH.Context).Instance().GeefFileAPI().GeefFileWriter()) Set ..SoprConvertor=##class(AX.Uitgaand.PM.impl.Convertor.Sopr.ProductConvertor).%New() + Set Filter = ##class(AX.Uitgaand.PM.Assortimenten.impl.ProductCategorieFilter).%New() + Set ..DynIterator = ##class(TECH.DynamicIterator).%New(..ProductIterator(),,Filter) Set ..CategorieBepaler=##class(AX.Uitgaand.PM.Assortimenten.impl.AssortimentCategorieBepaler).%New() Quit $$$OK ]]> @@ -76,7 +83,7 @@ Do ..MaakHeaders() - Set itProduct=..ProductIterator() + Set itProduct=..DynIterator While itProduct.HasNext() { Set rs=itProduct.Next() Set PRNr=rs.Data("ID") @@ -96,7 +103,7 @@ TECH.Iterator