Index: vhDeploy/D20181214xAanpassingBatchesVoorOmwisselingLijn2En4.cls.xml =================================================================== diff -u -r54411 -r54414 --- vhDeploy/D20181214xAanpassingBatchesVoorOmwisselingLijn2En4.cls.xml (.../D20181214xAanpassingBatchesVoorOmwisselingLijn2En4.cls.xml) (revision 54411) +++ vhDeploy/D20181214xAanpassingBatchesVoorOmwisselingLijn2En4.cls.xml (.../D20181214xAanpassingBatchesVoorOmwisselingLijn2En4.cls.xml) (revision 54414) @@ -15,8 +15,6 @@ #dim BatchIterator As TECH.Iterator = BatchService.GeefBatchIterator() #dim Batch As APPS.Halux.common.Batch #dim IsBatchAangepast As %Boolean - #dim AantalAangepasteTandemboxBatches As %Integer = 0 - #dim AantalAangepasteLegraboxBatches As %Integer = 0 While (BatchIterator.HasNext()) { Set Batch = BatchIterator.Next() @@ -26,24 +24,20 @@ If (Batch.GeefLijn() = ##class(APPS.Halux.common.enu.ProductieLijn).Twee()) { Do Batch.ZetLijn(##class(APPS.Halux.common.enu.ProductieLijn).Vier()) Set IsBatchAangepast = $$$True - Set AantalAangepasteTandemboxBatches = AantalAangepasteTandemboxBatches + 1 } } If ((Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).Legrabox())) { If (Batch.GeefLijn() = ##class(APPS.Halux.common.enu.ProductieLijn).Vier()) { Do Batch.ZetLijn(##class(APPS.Halux.common.enu.ProductieLijn).Twee()) Set IsBatchAangepast = $$$True - Set AantalAangepasteLegraboxBatches = AantalAangepasteLegraboxBatches + 1 } } If (IsBatchAangepast) { Do Batch.Save() } } - Write !,"AantalAangepasteTandemboxBatches: '"_AantalAangepasteTandemboxBatches_"'" - Write !,"AantalAangepasteLegraboxBatches: '"_AantalAangepasteLegraboxBatches_"'" ]]>