Index: AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter.cls.xml
===================================================================
diff -u -r48264 -r48305
--- AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter.cls.xml (.../CustomerInConverter.cls.xml) (revision 48264)
+++ AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter.cls.xml (.../CustomerInConverter.cls.xml) (revision 48305)
@@ -69,12 +69,20 @@
1
@@ -89,21 +97,19 @@
Set dtoKlant.KlantNummer = + Cust.CustAccount
Set dtoKlant.Aanspreking = ..GeefAanspreking(Cust)
Set dtoKlant.KlantNaam = ..GeefKlantNaam(Cust)
-
- ;Set ?? = Cust.PriceException
- ;Set dtoKlant.Toenaam = ??
- Set dtoKlant.Taal = ..AxToAdminUtils.ConvertLanguageId(Cust.LanguageId)
+ Set dtoKlant.Toenaam = ..GeefKlantToenaam(Cust)
+ Set dtoKlant.Taal = ..GeefTaal(Cust)
Set dtoKlant.Telefoon1 = ..GeefTelefoon1(Cust)
- Set dtoKlant.Fax = ..GeefFax(Cust)
+ Set dtoKlant.Fax = ..GeefFax(Cust) ; wordt blijkbaar niet in service gebruikt !!!!!
Set dtoKlant.BTWNummer = ..GeefBTWNummer(Cust)
Set dtoKlant.Email = ..GeefEmailAddress(Cust)
Set dtoKlant.Muntcode ="EUR"
+ ;Set ?? = Cust.PriceException
; Set dtoKlant.Prijsklase = ???
; Set dtoKlant.Opmerking1 = ???
; Set dtoKlant.FrequentieAanbrengerCommissie = ???
Set dtoKlant.Adres = ..GeefPrimairAdres(Cust)
-
#dim PartijID As DOM.common.PartijID = ..KlantLevenCyclusService.MaakKlant(dtoKlant,TypeTemplateKlant)
]]>
@@ -119,6 +125,14 @@
]]>
+
+Cust:AXif.Dynamics.CustomerIn.MessageParts.AxdEntityCust
+1
+%String
+
+
+
Cust:AXif.Dynamics.CustomerIn.MessageParts.AxdEntityCust
1
@@ -251,6 +265,13 @@
Quit ##class(AXimpl.Formatter).%New().FormatVATNumToCache(VATNum,CountryRegionId)
]]>
+
+
+Cust:AXif.Dynamics.CustomerIn.MessageParts.AxdEntityCust
+1
+
+
Index: vhUnitTest/AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter/Test.cls.xml
===================================================================
diff -u -r48264 -r48305
--- vhUnitTest/AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter/Test.cls.xml (.../Test.cls.xml) (revision 48264)
+++ vhUnitTest/AXimpl/Dynamics/CustomerIn/Converter/CustomerInConverter/Test.cls.xml (.../Test.cls.xml) (revision 48305)
@@ -4,12 +4,12 @@
vhUnitTest.TestCase
-DOM.PARTIJ.PartijAPI
+vhTest.Mock.DOM.PARTIJ.PartijAPI
1
-DOM.VKP.VerkoopAPI
+vhTest.Mock.DOM.VKP.VerkoopAPI
1
@@ -32,11 +32,19 @@
+
+
+
+1
+DOM.common.Adres
+
@@ -149,6 +165,7 @@
Set Cust.CustAccount = CustAccount
Set Cust.LanguageId = "nl-be"
Set Cust.Name = Name _ " BVBA"
+ Set Cust.LastName = "Toenaam"
Set Cust.PartyNumber = "000000922"
Set Cust.PriceException = "No"
Set Cust.VATNum = "0430.459.769"