Index: vhTest/Mock/BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml =================================================================== diff -u -r65883 -r65886 --- vhTest/Mock/BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml (.../HtmlInhoudProboxEtiketBepaler.cls.xml) (revision 65883) +++ vhTest/Mock/BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml (.../HtmlInhoudProboxEtiketBepaler.cls.xml) (revision 65886) @@ -9,7 +9,7 @@ right -ProductApi:DOM.PM.ProductAPI="",ConfiguratorService:APPS.VKP.Maatwerk.ConfiguratorService="",OrderApi:DOM.VKP.OrderAPI="" +ProductApi:DOM.PM.ProductAPI="",ConfiguratorService:APPS.VKP.Maatwerk.ConfiguratorService="",OrderApi:DOM.VKP.OrderAPI="",LijnReferentieBepaler:BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler.LijnReferentieBepaler="" %Status Index: BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml =================================================================== diff -u -r65883 -r65886 --- BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml (.../HtmlInhoudProboxEtiketBepaler.cls.xml) (revision 65883) +++ BL/PPS/TBX/DocsV1/HtmlInhoudProboxEtiketBepaler.cls.xml (.../HtmlInhoudProboxEtiketBepaler.cls.xml) (revision 65886) @@ -13,27 +13,28 @@ 1 - -BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler.LijnReferentieBepaler + +DOM.VKP.OrderAPI 1 - -DOM.VKP.OrderAPI + +BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler.LijnReferentieBepaler 1 -ProductApi:DOM.PM.ProductAPI="",ConfiguratorService:APPS.VKP.Maatwerk.ConfiguratorService="",OrderApi:DOM.VKP.OrderAPI="" +ProductApi:DOM.PM.ProductAPI="",ConfiguratorService:APPS.VKP.Maatwerk.ConfiguratorService="",OrderApi:DOM.VKP.OrderAPI="",LijnReferentieBepaler:BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler.LijnReferentieBepaler="" 1 1 %Status 1 @@ -140,7 +141,7 @@ #dim Product As DOM.PM.Product = ..ProductApi.GeefProduct(ProductNummer) #dim IngegevenKenmerken As APPS.PM.Maatwerk.dto.IngegevenKenmerken = ..ConfiguratorService.GeefOnverwerkteKenmerkenVanProduct(ProductNummer) - #dim LijnReferentie As %String = "" + #dim LijnReferentie As %String = "" Try { // Indien OrderLijnId nog leeg, oude manier gebruiken opdat referenties blijven opgehaald worden via toelevering If (OrderlijnId = "") { @@ -149,13 +150,12 @@ #dim Order As DOM.VKP.Order = ..OrderApi.GeefOrder(OrderId) #dim OrderLijn As DOM.VKP.ProductOrderlijn = Order.GeefOrderLijn(OrderlijnId) Set LijnReferentie = OrderLijn.GeefProjectReferentie() - } } Catch { #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() Do ##class(vhLib.Logger).%New("BL.PPS.TBX.DocsV1.HtmlInhoudProboxEtiketBepaler").Warning("Geef1Lijn", "De referentie voor product '"_ProductNummer_"' op order '"_OrderId_"' kon niet bepaald worden. "_Exception) - } - + } + #dim ToonLijnReferentieOpTweedeRegel As %Boolean = ($$$HasLength(LijnReferentie)) If ToonLijnReferentieOpTweedeRegel { Set Resultaat = Resultaat_""_Product.GeefDossierNr()_""