Index: WSimpl/Halux/AAP/DnaCodeService.cls.xml =================================================================== diff -u -r59797 -r59802 --- WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 59797) +++ WSimpl/Halux/AAP/DnaCodeService.cls.xml (.../DnaCodeService.cls.xml) (revision 59802) @@ -38,8 +38,13 @@ 1 + +WSimpl.Halux.AAP.DnaCodeService.ProboxEtiketAfdrukkenHelper +1 + + -DnaCodeRepository:DOM.Halux.AAP.DnaCodeRepository="",PalletCodeValidator:WSimpl.Halux.AAP.DnaCodeService.PalletCodeValidator="",InventarisService:APPS.MAG.Inventaris.impl.InventarisService,DocsV1:BL.PPS.TBX.DocsV1="",QueryAPI:TECH.Query.QueryAPI +DnaCodeRepository:DOM.Halux.AAP.DnaCodeRepository="",PalletCodeValidator:WSimpl.Halux.AAP.DnaCodeService.PalletCodeValidator="",InventarisService:APPS.MAG.Inventaris.impl.InventarisService,DocsV1:BL.PPS.TBX.DocsV1="",QueryAPI:TECH.Query.QueryAPI,ProboxEtiketAfdrukkenHelper:WSimpl.Halux.AAP.DnaCodeService.ProboxEtiketAfdrukkenHelper 1 1 %Status @@ -51,6 +56,7 @@ Set ..InventarisService = $$$Inject(InventarisService, ##class(APPS.MAG.Inventaris.impl.InventarisService).%New()) Set ..DocsV1 = $$$Inject(DocsV1, ##class(BL.PPS.TBX.DocsV1).%New()) Set ..QueryAPI = $$$Inject(QueryAPI, ##class(TECH.Context).Instance().GeefQueryAPI()) + Set ..ProboxEtiketAfdrukkenHelper = $$$Inject(ProboxEtiketAfdrukkenHelper, ##class(WSimpl.Halux.AAP.DnaCodeService.ProboxEtiketAfdrukkenHelper).%New()) Quit $$$OK ]]> @@ -464,11 +470,11 @@ Try { Set Response = ##class(WS.Halux.AAP.ProboxEtiketAfdrukkenResponse).%New() - #dim DnaCodeIterator As TECH.Iterator = ..MaakDnaCodeIteratorVanDnaCodeStringLijst(ProboxEtiketAfdrukkenRequest) + #dim DnaCodeIterator As TECH.Iterator = ..ProboxEtiketAfdrukkenHelper.MaakDnaCodeIteratorVanDnaCodeStringLijst(ProboxEtiketAfdrukkenRequest) #dim DnaCode As TECH.Iterator = DnaCodeIterator.Next() Do DnaCodeIterator.Reset() - #dim TeGebruikenPrinter = ..MapProductieLijnOpPrinter(..GeefWerkpost(DnaCode)) + #dim TeGebruikenPrinter = ..ProboxEtiketAfdrukkenHelper.MapProductieLijnOpPrinter(..ProboxEtiketAfdrukkenHelper.GeefWerkpost(DnaCode)) If TeGebruikenPrinter = "" { Do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.GeneralErrorException).%New("Geen printer gevonden voor DnaCode '"_DnaCode.DnaCode_"'")) @@ -485,84 +491,6 @@ ]]> - -ProboxEtiketAfdrukkenRequest:WS.Halux.AAP.ProboxEtiketAfdrukkenRequest -1 -TECH.Iterator - - - - -Werkpost:%String -1 -%String - - - - -Werkpost:APPS.Halux.common.enu.Werkpost -1 -APPS.Halux.common.enu.ProductieLijn - - - - -DnaCode:DOM.Halux.AAP.DnaCode -1 -%String - - - DnaCode:%String 1 Index: WSimpl/Halux/AAP/DnaCodeService/ProboxEtiketAfdrukkenHelper.cls.xml =================================================================== diff -u -r59798 -r59802 --- WSimpl/Halux/AAP/DnaCodeService/ProboxEtiketAfdrukkenHelper.cls.xml (.../ProboxEtiketAfdrukkenHelper.cls.xml) (revision 59798) +++ WSimpl/Halux/AAP/DnaCodeService/ProboxEtiketAfdrukkenHelper.cls.xml (.../ProboxEtiketAfdrukkenHelper.cls.xml) (revision 59802) @@ -2,6 +2,104 @@ TECH.RegisteredObject + + +DOM.Halux.AAP.DnaCodeRepository +1 + + + +TECH.Query.QueryAPI +1 + + + +DnaCodeRepository:DOM.Halux.AAP.DnaCodeRepository="",QueryAPI:TECH.Query.QueryAPI="" +1 +1 +%Status +1 + + + + +ProboxEtiketAfdrukkenRequest:WS.Halux.AAP.ProboxEtiketAfdrukkenRequest +TECH.Iterator + + + + +Werkpost:%String +%String + + + + +Werkpost:APPS.Halux.common.enu.Werkpost +1 +APPS.Halux.common.enu.ProductieLijn + + + + +DnaCode:DOM.Halux.AAP.DnaCode +%String + +