Index: BL/PPS/TBX/DocsV1.cls.xml =================================================================== diff -u -r63090 -r63093 --- BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 63090) +++ BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 63093) @@ -170,8 +170,18 @@ 1 + +DOM.PARTIJ.PartijAPI +1 + + + +BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler +1 + + -LabelPrinter:BL.Sys.LabelPrinter="",BatchService:APPS.Halux.common.BatchService="",ProductieSequentieRepository:APPS.Halux.common.ProductieSequentieRepository="",ToeleveringService:DOM.AKP.ToeleveringService,LogoBepaler:BL.PPS.common.impl.OnderdelendoosLogoBepaler,ProductieService:APPS.Halux.common.ProductieService="" +LabelPrinter:BL.Sys.LabelPrinter="",BatchService:APPS.Halux.common.BatchService="",ProductieSequentieRepository:APPS.Halux.common.ProductieSequentieRepository="",ToeleveringService:DOM.AKP.ToeleveringService,LogoBepaler:BL.PPS.common.impl.OnderdelendoosLogoBepaler,ProductieService:APPS.Halux.common.ProductieService="",PartijAPI:DOM.PARTIJ.PartijAPI="",HtmlInhoudProboxEtiketBepaler:BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler="" 1 1 %Status @@ -186,6 +196,8 @@ Set ..TBXMatToEnuMatConverter = ##class(BL.PPS.TBX.impl.TBXMatToEnuMatConverter).%New() Set ..MatFormatter = ##class(APPS.Halux.PPS.impl.Formatter.Mat).%New() Set ..LogoBepaler = $$$Inject(LogoBepaler, ##class(BL.PPS.common.impl.OnderdelendoosLogoBepaler).%New()) + Set ..PartijAPI = $$$Inject(PartijAPI, ##class(DOM.DomeinContext).Instance().GeefPartijAPI()) + Set ..HtmlInhoudProboxEtiketBepaler = $$$Inject(HtmlInhoudProboxEtiketBepaler, ##class(BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler).%New()) Quit $$$OK ]]> @@ -1591,14 +1603,17 @@ #dim PalletId As %String = DnaCode.PalletCode #dim ToeleveringId As %String = DnaCode.Toelevering #dim KlantNummer As %String = DnaCode.KlantNummer - #dim Partij As DOM.PARTIJ.Partij = ##class(DOM.DomeinContext).Instance().GeefPartijAPI().GeefPartij(DnaCode.KlantNummer) + #dim Partij As DOM.PARTIJ.Partij = ..PartijAPI.GeefPartij(DnaCode.KlantNummer) Set ProboxInhoudLabel = ##class(BL.Etiket.ProboxInhoud).%New() Set ProboxInhoudLabel.Device = ..LabelDevice Set ProboxInhoudLabel.Aantal = 1 + Do ##class(Tools.Wlip).%New(26).String("T100") Set ProboxInhoudLabel.KlantNaam = Partij.GeefNaam() - Set ProboxInhoudLabel.InhoudAlsHTML = ##class(BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler).%New().BepaalHtmlInhoudProboxEtiket(DnaCodeIterator) + Do ##class(Tools.Wlip).%New(26).String("T200" _ DnaCodeIterator) + Set ProboxInhoudLabel.InhoudAlsHTML = ..HtmlInhoudProboxEtiketBepaler.BepaalHtmlInhoudProboxEtiket(DnaCodeIterator) + Do ##class(Tools.Wlip).%New(26).String("T300") Set ProboxInhoudLabel.PalletBarcode = PalletId Set ProboxInhoudLabel.PalletBarcodeTxt = ..FormatteerPalletID(PalletId) Index: vhTest/Mock/BL/PPS/TBX/DocsV1.cls.xml =================================================================== diff -u -r60460 -r63093 --- vhTest/Mock/BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 60460) +++ vhTest/Mock/BL/PPS/TBX/DocsV1.cls.xml (.../DocsV1.cls.xml) (revision 63093) @@ -9,7 +9,7 @@ right -LabelPrinter:BL.Sys.LabelPrinter="",BatchService:APPS.Halux.common.BatchService="",ProductieSequentieRepository:APPS.Halux.common.ProductieSequentieRepository="",ToeleveringService:DOM.AKP.ToeleveringService,LogoBepaler:BL.PPS.common.impl.OnderdelendoosLogoBepaler,ProductieService:APPS.Halux.common.ProductieService="" +LabelPrinter:BL.Sys.LabelPrinter="",BatchService:APPS.Halux.common.BatchService="",ProductieSequentieRepository:APPS.Halux.common.ProductieSequentieRepository="",ToeleveringService:DOM.AKP.ToeleveringService,LogoBepaler:BL.PPS.common.impl.OnderdelendoosLogoBepaler,ProductieService:APPS.Halux.common.ProductieService="",PartijAPI:DOM.PARTIJ.PartijAPI="",HtmlInhoudProboxEtiketBepaler:BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler="" %Status