Index: APPS/TRANSP/Transsmart/impl/CommunicatieService.cls.xml
===================================================================
diff -u
--- APPS/TRANSP/Transsmart/impl/CommunicatieService.cls.xml (revision 0)
+++ APPS/TRANSP/Transsmart/impl/CommunicatieService.cls.xml (revision 59667)
@@ -0,0 +1,77 @@
+
+
+
+APPS.TRANSP.impl.CommunicatieService
+
+
+DOM.common.impl.ProjectSettingsAPI
+1
+
+
+
+ProjectSettingsAPI:DOM.common.impl.ProjectSettingsAPI
+1
+1
+%Status
+1
+
+
+
+
+RitID:%String,LeveringID:%String
+
+
+
+
+RitID:%String,LeveringID:%String
+%String
+
+
+
+
+RitID:%String
+
+
+
+RitID:%String
+
+
+
+
+
+
Index: APPS/TRANSP/Transsmart/impl/CommunicatieService/RegistreerLevering.cls.xml
===================================================================
diff -u
--- APPS/TRANSP/Transsmart/impl/CommunicatieService/RegistreerLevering.cls.xml (revision 0)
+++ APPS/TRANSP/Transsmart/impl/CommunicatieService/RegistreerLevering.cls.xml (revision 59667)
@@ -0,0 +1,102 @@
+
+
+
+APPS.TRANSP.Transsmart.impl.CommunicatieService.Template
+
+
+
+
+
+
+Request:WS.Transsmart.tns.doBooking
+1
+APPS.TRANSP.Transsmart.data.VerzendData
+
+
+
+
+1
+ 0 {
+ #dim Bericht As %String = "Levering '"_..Levering.GeefID()_"' is al geregistreerd voor rit '"_..Rit.GeefID()_"'"
+ Do ##class(TECH.ExceptionHandler).Throw(##class(APPS.TRANSP.Transsmart.Exceptions.CommunicatieException).%New(Bericht))
+ }
+ If ..Levering.GeefNettoGewicht() <= 0 {
+ Set Bericht = "Levering '"_..Levering.GeefID()_"' moet een gewicht hebben om te kunnen verzenden."
+ Do ##class(TECH.ExceptionHandler).Throw(##class(APPS.TRANSP.Transsmart.Exceptions.CommunicatieException).%New(Bericht))
+ }
+
+ /* ;weet niet of dit van toepassing is.
+ If (..IsFreightVerzendWijze())&&(..Rit.GeefTransporteur() = ##class(DOM.TRANSP.enu.Transporteur).GLSBelgiumParcel()) {
+ Set Bericht = "Deze Freight levering '"_..Levering.GeefID()_"' mag niet verzonden worden via GLS Parcel transport."
+ Do ##class(TECH.ExceptionHandler).Throw(##class(APPS.TRANSP.GLS.Exceptions.CommunicatieException).%New(Bericht))
+ }
+
+ If (..IsParcelVerzendWijze())&&(..Rit.GeefTransporteur() = ##class(DOM.TRANSP.enu.Transporteur).GLSBelgiumFreight()) {
+ Set Bericht = "Deze Parcel levering '"_..Levering.GeefID()_"' mag niet verzonden worden via GLS Freight transport."
+ Do ##class(TECH.ExceptionHandler).Throw(##class(APPS.TRANSP.GLS.Exceptions.CommunicatieException).%New(Bericht))
+ }
+ */
+]]>
+
+
+
+Levering:DOM.TRANSP.Levering
+1
+
+
+
+
+
+
Index: APPS/TRANSP/Transsmart/impl/BerichtVerzenderTemplate.cls.xml
===================================================================
diff -u
--- APPS/TRANSP/Transsmart/impl/BerichtVerzenderTemplate.cls.xml (revision 0)
+++ APPS/TRANSP/Transsmart/impl/BerichtVerzenderTemplate.cls.xml (revision 59667)
@@ -0,0 +1,203 @@
+
+
+
+TECH.RegisteredObject
+
+
+TECH.Config.ConfigMgr
+1
+
+
+
+WS.Transsmart.TboxServicePort
+1
+
+
+
+DOM.common.impl.ProjectSettingsAPI
+1
+
+
+
+APPS.TRANSP.Transsmart.RequestDataBouwer
+1
+
+
+
+APPS.TRANSP.Transsmart.impl.ResponseControleur
+1
+
+
+
+ConfigMgr:TECH.Config.ConfigMgr="",ProjectSettingsAPI:DOM.common.impl.ProjectSettingsAPI="",TranssmartWSClient:WS.Transsmart.TboxServicePort="",RequestBouwer:APPS.TRANSP.Transsmart.RequestDataBouwer="",ResponseControleur:APPS.TRANSP.Transsmart.impl.ResponseControleur=""
+1
+1
+%Status
+1
+
+
+
+
+1
+VerzendDataID:%String
+
+
+
+
+
+
+
+
+
+
+
+SSLConfiguration:%String
+
+
+
+
+1
+Request:WS.Transsmart.tns.RequestBase
+1
+APPS.TRANSP.Transsmart.data.VerzendData
+
+
+
+1
+Error:WS.Transsmart.tns.getStatusResponse,VerzendData:APPS.TRANSP.Transsmart.data.VerzendData
+1
+ "_$listget(Calling,2)
+
+ 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("Transsmart").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("Transsmart").ErrorMail(CallingMethod,(BerichtVoorGebruiker_..GeefBerichtVoorICT(Error)))
+ }
+
+ If (Error.Niveau '= ##class(TECH.Exceptions.enu.Niveau).InterneWaarschuwing()){
+ Do ##class(TECH.ExceptionHandler).Throw(##class(APPS.TRANSP.Transsmart.Exceptions.CommunicatieException).%New(BerichtVoorGebruiker))
+ }
+]]>
+
+
+
+1
+Request:WS.Transsmart.tns.RequestBase
+1
+WS.Transsmart.tns.getStatusResponse
+
+
+
+
+1
+ID:%String=""
+1
+APPS.TRANSP.Transsmart.data.VerzendData
+
+
+
+
+Error:APPS.TRANSP.Transsmart.Error
+1
+%String
+
+
+
+
+Request:WS.Transsmart.tns.doBooking
+1
+%String
+
+
+
+
+Request:WS.Transsmart.tns.doBooking
+1
+%String
+
+
+
+
+Response:WS.Transsmart.tns.getStatusResponse
+1
+%String
+
+
+
+
+Response:WS.Transsmart.tns.getStatusResponse
+1
+%String
+
+
+
+
+
+
Index: APPS/TRANSP/Transsmart/impl/CommunicatieService/Template.cls.xml
===================================================================
diff -u
--- APPS/TRANSP/Transsmart/impl/CommunicatieService/Template.cls.xml (revision 0)
+++ APPS/TRANSP/Transsmart/impl/CommunicatieService/Template.cls.xml (revision 59667)
@@ -0,0 +1,51 @@
+
+
+
+APPS.TRANSP.Transsmart.impl.BerichtVerzenderTemplate
+
+
+DOM.TRANSP.Rit
+1
+
+
+
+DOM.TRANSP.Levering
+1
+
+
+
+APPS.TRANSP.dto.LeveringInfo
+1
+
+
+
+APPS.TRANSP.GLS.dto.VerzendDataLijst
+1
+
+
+
+ConfigMgr:TECH.Config.ConfigMgr="",ProjectSettingsAPI:DOM.common.impl.ProjectSettingsAPI="",TranssmartWSClient:WS.Transsmart.TboxServicePort="",RequestBouwer:APPS.TRANSP.Transsmart.RequestDataBouwer="",ResponseControleur:APPS.TRANSP.Transsmart.impl.ResponseControleur="",Rit:DOM.TRANSP.Rit,Levering:DOM.TRANSP.Levering
+1
+1
+%Status
+1
+
+
+
+
+VerzendDataID:%String
+
+
+
+
+
+
Index: APPS/TRANSP/Transsmart/impl/CommunicatieService/AnnuleerLevering.cls.xml
===================================================================
diff -u
--- APPS/TRANSP/Transsmart/impl/CommunicatieService/AnnuleerLevering.cls.xml (revision 0)
+++ APPS/TRANSP/Transsmart/impl/CommunicatieService/AnnuleerLevering.cls.xml (revision 59667)
@@ -0,0 +1,60 @@
+
+
+
+APPS.TRANSP.Transsmart.impl.CommunicatieService.Template
+
+
+
+
+
+
+Request:WS.Transsmart.tns.doDelete
+1
+APPS.TRANSP.Transsmart.data.VerzendData
+
+
+
+
+
+