Index: vhTest/Mock/APPS/Halux/common/ProductieService.cls.xml =================================================================== diff -u -r59389 -r59484 --- vhTest/Mock/APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 59389) +++ vhTest/Mock/APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 59484) @@ -8,7 +8,7 @@ APPS.Halux.common.ProductieService,Tools.Mock.MockClassBase -initvalue:%CacheString +ProjectSettingsApi:DOM.common.ProjectSettingsAPI %Status Index: vhUnitTest/APPS/Halux/common/TestProductieService.cls.xml =================================================================== diff -u -r59387 -r59484 --- vhUnitTest/APPS/Halux/common/TestProductieService.cls.xml (.../TestProductieService.cls.xml) (revision 59387) +++ vhUnitTest/APPS/Halux/common/TestProductieService.cls.xml (.../TestProductieService.cls.xml) (revision 59484) @@ -36,10 +36,10 @@ ]]> - + Index: APPS/Halux/common/ProductieService.cls.xml =================================================================== diff -u -r59389 -r59484 --- APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 59389) +++ APPS/Halux/common/ProductieService.cls.xml (.../ProductieService.cls.xml) (revision 59484) @@ -5,13 +5,20 @@ 1 TECH.Mockable + +DOM.common.ProjectSettingsAPI +1 + + -initvalue:%CacheString +ProjectSettingsApi:DOM.common.ProjectSettingsAPI 1 1 %Status 1 - @@ -131,7 +138,9 @@ Set:(##class(TECH.StringUtils).ToUpper(Order.GeefCommissieReferentie()) [ "TALSEE") DisplayNaam = "TALSEE | " _ DisplayNaam Set:(##class(TECH.StringUtils).ToUpper(Order.GeefOrderReferentie()) [ "TALSEE") DisplayNaam = "TALSEE | " _ DisplayNaam - If $$$Not(##class(DOM.common.impl.ProjectSettingsAPI).%New().IsActiefAlpnachRechtstreeks()) { + Do ##class(Tools.Wlip).%New(127).String("projsetting "_..ProjectSettingsApi.IsActiefAlpnachRechtstreeks()) + + If $$$Not(..ProjectSettingsApi.IsActiefAlpnachRechtstreeks()) { Set:(##class(TECH.StringUtils).ToUpper(Order.GeefCommissieReferentie()) [ "ALPNACH") DisplayNaam = "ALPNACH | " _ DisplayNaam Set:(##class(TECH.StringUtils).ToUpper(Order.GeefOrderReferentie()) [ "ALPNACH") DisplayNaam = "ALPNACH | " _ DisplayNaam }