Index: APPS/Halux/PPS/impl/AansturingActie/common/VoormontageSpaceStep.cls.xml =================================================================== diff -u -r62051 -r62054 --- APPS/Halux/PPS/impl/AansturingActie/common/VoormontageSpaceStep.cls.xml (.../VoormontageSpaceStep.cls.xml) (revision 62051) +++ APPS/Halux/PPS/impl/AansturingActie/common/VoormontageSpaceStep.cls.xml (.../VoormontageSpaceStep.cls.xml) (revision 62054) @@ -30,10 +30,10 @@ Set ..PrinterAPI = ##class(APPS.ApplicatieContext).%New().GeefPrintAPI() Set DocumentBundel = ##class(APPS.common.Document.impl.DocumentBundel).%New() - #dim LijstMetSpaceSteps As %ListOfObjects = ..GeefMaatwerkProductenLijstMetSpaceSteps(BatchID) - Set LijstMetSpaceSteps = ..SorteerLijstOpSequentienummer(LijstMetSpaceSteps, BatchID) + #dim LijstMetSpaceSteps As %ListOfObjects = ..GeefMaatwerkProductenLijstMetSpaceSteps(BatchID) If (LijstMetSpaceSteps.Count() > 0 ) { + Set LijstMetSpaceSteps = ..SorteerLijstOpSequentienummer(LijstMetSpaceSteps, BatchID) #dim AantalSpaceSteps As %Integer = LijstMetSpaceSteps.Count() #dim ProductIterator = ##class(TECH.ListIterator).%New(LijstMetSpaceSteps) @@ -183,17 +183,20 @@ %ListOfObjects ELEMENTTYPE="APPS.Halux.PPS.impl.AansturingActie.common.VoormontageSpaceStep.dto.ProductKenmerken"