Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml =================================================================== diff -u -r73308 -r73335 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml (.../ProductOptiesGenerator.cls.xml) (revision 73308) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator/ProductOptiesGenerator.cls.xml (.../ProductOptiesGenerator.cls.xml) (revision 73335) @@ -179,12 +179,10 @@ #dim FSCLogoUrl As %String = "" #dim HoutCertificaat As DOM.PM.impl.HoutCertificaat = ..HoutCertificaatService.GeefProductHoutCertificaat(Product.GeefPRNr()) - If $IsObject(HoutCertificaat) { - If $$$Not(HoutCertificaat.GeefHoutCertificaatType() = ..HoutCertificaatService.GeefHoutCertificaat("GEEN").GeefHoutCertificaatType()) { - #dim HoutCertificaatLogoNaam As %String = HoutCertificaat.GeefHoutCertificaatType() - #dim blImage As BL.Prod.ImageLink = ##class(BL.Prod.ImageLink).Instantiate() - Set FSCLogoUrl = blImage.GetImageURL("LOGO",HoutCertificaatLogoNaam,##class(APPS.common.enu.Toepassing).Label()) - } + #dim HoutCertificaatCode As %String = ..HoutCertificaatService.BepaalCertificaatCode(Product.GeefPRNr()) + #dim HoutCertificaatImage As %String = "" + If HoutCertificaatCode '= "" { + Set FSCLogoUrl = ..HoutCertificaatService.GetImageLink(HoutCertificaatCode) } Quit FSCLogoUrl