Index: APPS/common/impl/Validator.cls.xml
===================================================================
diff -u -r45351 -r45436
--- APPS/common/impl/Validator.cls.xml (.../Validator.cls.xml) (revision 45351)
+++ APPS/common/impl/Validator.cls.xml (.../Validator.cls.xml) (revision 45436)
@@ -22,39 +22,17 @@
%Boolean
-
+
1
1
-%String
+TECH.Exceptions.Exception
1
-
-
-
-Foutmelding:%String
-1
-
-
-
-
-Foutmelding:%String
-1
-
-
Index: APPS/CRM/impl/KlantIDValidator.cls.xml
===================================================================
diff -u -r29059 -r45436
--- APPS/CRM/impl/KlantIDValidator.cls.xml (.../KlantIDValidator.cls.xml) (revision 29059)
+++ APPS/CRM/impl/KlantIDValidator.cls.xml (.../KlantIDValidator.cls.xml) (revision 45436)
@@ -44,10 +44,12 @@
]]>
-
+
1
-%String
-TECH.Exceptions.Exception
+
Index: APPS/EC/impl/WebshopSessieBestelValidator.cls.xml
===================================================================
diff -u -r29059 -r45436
--- APPS/EC/impl/WebshopSessieBestelValidator.cls.xml (.../WebshopSessieBestelValidator.cls.xml) (revision 29059)
+++ APPS/EC/impl/WebshopSessieBestelValidator.cls.xml (.../WebshopSessieBestelValidator.cls.xml) (revision 45436)
@@ -55,10 +55,12 @@
]]>
-
+
1
-%String
-TECH.Exceptions.Exception
+
@@ -71,12 +73,6 @@
}
]]>
-
-
-1
-
-
Index: APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml
===================================================================
diff -u -r45327 -r45436
--- APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml (.../OfferteVoorBestellingValidator.cls.xml) (revision 45327)
+++ APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml (.../OfferteVoorBestellingValidator.cls.xml) (revision 45436)
@@ -24,7 +24,7 @@
-%ListOfDataTypes
+%ListOfObjects
1
@@ -52,7 +52,7 @@
Set ..KlantID = KlantID
Set ..Offerte = Offerte
Set ..PersonalityID = PersonalityID
- Set ..Meldingen = ##class(%ListOfDataTypes).%New()
+ Set ..Meldingen = ##class(%ListOfObjects).%New()
#Dim Personality AS DOM.common.Personality = ##class(DOM.DomeinContext).Instance().GeefCommonAPI().GeefPersonality(PersonalityID)
Do Personality.Accept($this)
@@ -70,9 +70,9 @@
]]>
-
+
1
-%String
+TECH.Exceptions.Exception
@@ -84,7 +84,9 @@
Do ..ControleerToegangEnPrijzen()
If (..IsStandaardTransport(VanHoeckePersonality) && (..Offerte.GeefLeverDatum()="") && $$$Not(..IsAsap()))
{
- Do ..Meldingen.Insert("De leverdatum is niet ingevuld voor deze bestelde offerte (ID: "_..Offerte.GeefID()_")")
+ #Dim Foutmelding As %String = "De leverdatum is niet ingevuld voor deze bestelde offerte (ID: "_..Offerte.GeefID()_")"
+ #Dim Exception As TECH.Exceptions.Exception = ##class(TECH.Exceptions.InvalidInputException).%New(Foutmelding)
+ Do ..Meldingen.Insert(Exception)
}
]]>
@@ -106,7 +108,11 @@
SFSPersonality:DOM.common.SFSPersonality
@@ -191,7 +197,12 @@
1
-
@@ -201,15 +212,31 @@
#dim HeeftMaatwerklijnen As %Boolean = $$$False
Set:$Length(..Offerte.GeefWinkelkarID()) HeeftMaatwerklijnen = (..WinkelkarService.GeefMaatwerkLijnen(..Offerte.GeefWinkelkarID()).Count()>0)
- Do:(HeeftMaatwerklijnen&&..Offerte.ZijnPrijzenVervallen()) ..Meldingen.Insert("De offerte '"_..Offerte.GeefID()_"' is niet meer geldig!")
+ If (HeeftMaatwerklijnen&&..Offerte.ZijnPrijzenVervallen())
+ {
+ #Dim Foutmelding As %String = "De offerte '"_..Offerte.GeefID()_"' is niet meer geldig!"
+ #Dim Exception As TECH.Exceptions.Exception = ##class(APPS.VKP.Offerte.impl.OfferteNietMeerGeldigException).%New(Foutmelding)
+ Do ..Meldingen.Insert(Exception)
+ }
]]>
1