Index: APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder.cls.xml =================================================================== diff -u --- APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder.cls.xml (revision 0) +++ APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder.cls.xml (revision 30907) @@ -0,0 +1,82 @@ + + + +TECH.RegisteredObject + + +DataRijDtoLijst:%ListOfObjects(ELEMENTTYPE="APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto") +%ListOfObjects +ELEMENTTYPE="APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto" + + + + +DataRijDtoLijst:%ListOfObjects(ELEMENTTYPE="APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto") +1 +%ArrayOfObjects + + + + +GegroepeerdInArray:%ArrayOfObjects(ELEMENTTYPE="APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto") +1 +%ListOfObjects + + + + +DataRijDto:APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto +1 +TECH.String + + + + + + Index: APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator.cls.xml =================================================================== diff -u -r30891 -r30907 --- APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator.cls.xml (.../DocumentGenerator.cls.xml) (revision 30891) +++ APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator.cls.xml (.../DocumentGenerator.cls.xml) (revision 30907) @@ -28,6 +28,11 @@ 1 + +APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DocumentGenerator.RijenGroepeerder +1 + + DocumentAfdrukker:APPS.common.Document.DocumentAfdrukker 1 @@ -39,6 +44,7 @@ Set ..ProductAPI = ##class(DOM.DomeinContext).Instance().GeefProductAPI() Set ..BatchService = ##class(APPS.ApplicatieContext).Instance().GeefProductieAPI().GeefBatchService() Set ..VerkoopAPI = ##class(DOM.DomeinContext).Instance().GeefVerkoopAPI() + Set ..RijenGroepeerder = ##class(APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DocumentGenerator.RijenGroepeerder).%New() Quit $$$OK ]]> @@ -73,6 +79,7 @@ Set DataDtoIterator = ##class(TECH.ListIterator).%New(..DataDtos) While DataDtoIterator.HasNext() { #dim DataDto As APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataDto = DataDtoIterator.Next() + Set DataDto.DataRijDtoLijst = ..RijenGroepeerder.Groepeer(DataDto.DataRijDtoLijst) Do DocumentBundel.VoegToeDocument(DocumentBuilder.MaakDocument(DataDto)) } Index: vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder/Groepeer/Test.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder/Groepeer/Test.cls.xml (revision 0) +++ vhUnitTest/APPS/Halux/PPS/Activiteit/impl/TAOR/LijstVerwerkers/PalletInhoud/DocumentGenerator/RijenGroepeerder/Groepeer/Test.cls.xml (revision 30907) @@ -0,0 +1,157 @@ + + + +vhUnitTest.TestCase + + +APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto +list +1 + + + +APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto +list +1 + + + +aTestName:%String + + + + + + + + + + + + + + + + + + + + +1 + + + + +DataRijDto:APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto,VerwachteDataRijDto:APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto +1 + + + + +1 +APPS.Halux.PPS.Activiteit.impl.TAOR.LijstVerwerkers.PalletInhoud.DataRijDto + + + + + +