Index: WSimpl/Vhisie4/Winkelkar/WinkelkarExport/Sender.cls.xml
===================================================================
diff -u -r48912 -r48916
--- WSimpl/Vhisie4/Winkelkar/WinkelkarExport/Sender.cls.xml (.../Sender.cls.xml) (revision 48912)
+++ WSimpl/Vhisie4/Winkelkar/WinkelkarExport/Sender.cls.xml (.../Sender.cls.xml) (revision 48916)
@@ -24,8 +24,13 @@
1
+
+WSimpl.Vhisie4.KlantIdConverter
+1
+
+
-FtpApi:TECH.Ftp.FtpAPI="",DateTimeApi:TECH.DateTime.DateTimeAPI="",FormatApi:TECH.Format.FormatAPI="",IntractoInformeerder:WSimpl.Vhisie4.Winkelkar.WinkelkarExport.IntractoInformeerder=""
+FtpApi:TECH.Ftp.FtpAPI="",DateTimeApi:TECH.DateTime.DateTimeAPI="",FormatApi:TECH.Format.FormatAPI="",IntractoInformeerder:WSimpl.Vhisie4.Winkelkar.WinkelkarExport.IntractoInformeerder="",KlantIdConverter:WSimpl.Vhisie4.KlantIdConverter=""
1
1
%Status
@@ -35,6 +40,7 @@
Set ..DateTimeApi = $$$Inject(DateTimeApi, ##class(TECH.Context).Instance().GeefDateTimeAPI())
Set ..FormatApi = $$$Inject(FormatApi, ##class(TECH.Context).Instance().GeefFormatAPI())
Set ..IntractoInformeerder = $$$Inject(IntractoInformeerder, ##class(WSimpl.Vhisie4.Winkelkar.WinkelkarExport.IoCContainer).Instance().Resolve("IntractoInformeerder"))
+ Set ..KlantIdConverter = $$$Inject(KlantIdConverter, ##class(WSimpl.Vhisie4.KlantIdConverter).%New())
Quit $$$OK
]]>
@@ -48,6 +54,8 @@
#dim Response As WS.Vhisie4.WinkelkarExport.SendResponse = ..GeefBezigSendResponse(Winkelkar)
Try {
+ Set Winkelkar.KlantId = ..KlantIdConverter.ConvertToVanHoecke(Winkelkar.KlantId, Winkelkar.PersonalityId)
+
Set FtpConfiguratie = ##class(TECH.Ftp.FtpConfiguratie).%New(##class(TECH.Config.ConfigMgr).Instance().GeefString("Vhisie4.WinkelkarExport.FtpConfiguratie.ConnectionString"))
Set FtpConfiguratie.ServerBestandsLocatie = ##class(TECH.Config.ConfigMgr).Instance().GeefString("Vhisie4.WinkelkarExport.FtpConfiguratie.ServerBestandsLocatie")
Index: vhUnitTest/WSimpl/Vhisie4/Winkelkar/Sender/Test.cls.xml
===================================================================
diff -u -r40826 -r48916
--- vhUnitTest/WSimpl/Vhisie4/Winkelkar/Sender/Test.cls.xml (.../Test.cls.xml) (revision 40826)
+++ vhUnitTest/WSimpl/Vhisie4/Winkelkar/Sender/Test.cls.xml (.../Test.cls.xml) (revision 48916)
@@ -3,7 +3,7 @@
vhUnitTest.TestCase
-
+
+
+
+
+