Index: vhUnitTest/APPS/EC/impl/KlantSessieDataBepaler/GeefKlantSessieData/Test.cls.xml =================================================================== diff -u --- vhUnitTest/APPS/EC/impl/KlantSessieDataBepaler/GeefKlantSessieData/Test.cls.xml (revision 0) +++ vhUnitTest/APPS/EC/impl/KlantSessieDataBepaler/GeefKlantSessieData/Test.cls.xml (revision 32929) @@ -0,0 +1,37 @@ + + + +vhUnitTest.TestCase + + + + + + + + + + +EncryptedKlantSessieData:%String,DomeinVerwerker:APPS.EC.enu.WebShopVerwerker,VerwachteKlantID:%String,VerwachteKorting:%Numeric +1 + + + + + + Index: APPS/EC/impl/KlantSessieDataBepaler.cls.xml =================================================================== diff -u -r29059 -r32929 --- APPS/EC/impl/KlantSessieDataBepaler.cls.xml (.../KlantSessieDataBepaler.cls.xml) (revision 29059) +++ APPS/EC/impl/KlantSessieDataBepaler.cls.xml (.../KlantSessieDataBepaler.cls.xml) (revision 32929) @@ -23,10 +23,24 @@ Set KSD.KlantNaam = $G(DataOptArray("KLNaam")) Set KSD.Korting = $G(DataOptArray("Korting")) + If DomeinVerwerker = ##class(APPS.EC.enu.WebShopVerwerker).SFS() { + Do ..PasAanKortingVoorAlpnach(KSD) + } + Quit KSD ]]> + +KSD:APPS.EC.dto.KlantSessieData,DomeinVerwerker:APPS.EC.enu.WebShopVerwerker +1 + + + KlantSessieData:APPS.EC.dto.KlantSessieData %String