Index: APPS/TRANSP/GLS/GLSv1/impl/BerichtVerzenderTemplate.cls.xml
===================================================================
diff -u -r40697 -r54196
--- APPS/TRANSP/GLS/GLSv1/impl/BerichtVerzenderTemplate.cls.xml (.../BerichtVerzenderTemplate.cls.xml) (revision 40697)
+++ APPS/TRANSP/GLS/GLSv1/impl/BerichtVerzenderTemplate.cls.xml (.../BerichtVerzenderTemplate.cls.xml) (revision 54196)
@@ -18,15 +18,21 @@
1
+
+APPS.TRANSP.GLS.GLSv1.impl.ResponseControleur
+1
+
+
-CommunicatieServiceLocator:APPS.TRANSP.GLS.GLSv1.CommunicatieServiceLocator
+CommunicatieServiceLocator:APPS.TRANSP.GLS.GLSv1.CommunicatieServiceLocator,ResponseControleur:APPS.TRANSP.GLS.GLSv1.impl.ResponseControleur=""
1
1
%Status
1
@@ -59,6 +65,7 @@
1
APPS.TRANSP.GLS.GLSv1.Bericht.dto.Response
Request:APPS.TRANSP.GLS.GLSv1.Bericht.dto.Request
1
1
-Error:APPS.TRANSP.GLS.GLSv1.Bericht.dto.Error,VerzendData:APPS.TRANSP.GLS.data.VerzendData
+Error:APPS.TRANSP.GLS.GLSv1.Bericht.dto.Error,VerzendData:APPS.TRANSP.GLS.GLSv1.data.VerzendData
1
"_$listget(Calling,2)
- If (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).Waarschuwing()) || (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).FoutmeldingTeMeldenAanGebruiker()){
+ If (Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).Waarschuwing()) {
+
Set BerichtVoorGebruiker = Error.ErrorCode_": "_Error.Omschrijving_$$$CRLF_"Gelieve zelf of via OV actie te ondernemen."
Do ##class(vhLib.Logger).%New("GLS").Warning(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+
+ }ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).FoutmeldingTeMeldenAanGebruiker()){
+
+ Set BerichtVoorGebruiker = Error.ErrorCode_": "_Error.Omschrijving_$$$CRLF_"Gelieve zelf of via OV actie te ondernemen."
+ Do ##class(vhLib.Logger).%New("GLS").Warning(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+
}ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).InterneWaarschuwing()){
+
Set BerichtVoorGebruiker = Error.Niveau_$C(13,10)_"Dit is enkel een waarschuwing. Code en data zijn correct."
Do ##class(vhLib.Logger).%New("GLS").WarningMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+
}ElseIf(Error.Niveau = ##class(TECH.Exceptions.enu.Niveau).PleaseRetryError()){
+
Set BerichtVoorGebruiker = "Niet gelukt. Gelieve opnieuw te proberen."
Do ##class(vhLib.Logger).%New("GLS").WarningMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+
}Else{
+
Set BerichtVoorGebruiker = Error.Niveau_$$$CRLF_"Dit probleem moet door ICT opgelost worden."
Do ##class(vhLib.Logger).%New("GLS").ErrorMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+
}
If (Error.Niveau '= ##class(TECH.Exceptions.enu.Niveau).InterneWaarschuwing()){
@@ -190,15 +210,15 @@
1
ID:%String=""
1
-APPS.TRANSP.GLS.data.VerzendData
+APPS.TRANSP.GLS.GLSv1.data.VerzendData
@@ -207,55 +227,22 @@
1
%String
Response:APPS.TRANSP.GLS.GLSv1.Bericht.dto.Response
%Boolean
-
Response:APPS.TRANSP.GLS.GLSv1.Bericht.dto.Response
APPS.TRANSP.GLS.GLSv1.Bericht.dto.Error
-