Index: AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml
===================================================================
diff -u -r34673 -r34679
--- AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34673)
+++ AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34679)
@@ -13,6 +13,11 @@
1
+
+AX.common.impl.FirmaBepaler
+1
+
+
DOM.PARTIJ.PartijAPI
1
@@ -24,12 +29,13 @@
-PartijAPI:DOM.PARTIJ.PartijAPI,VerkoopAPI:DOM.VKP.VerkoopAPI
+PartijAPI:DOM.PARTIJ.PartijAPI,VerkoopAPI:DOM.VKP.VerkoopAPI,FirmaBepaler:AX.common.impl.FirmaBepaler
1
1
%Status
1
+
+
+Klant:DOM.VKP.VanHoeckeKlant
+1
+
+
Index: vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml
===================================================================
diff -u -r34673 -r34679
--- vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34673)
+++ vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34679)
@@ -178,7 +178,7 @@
]]>
-
+
-
+
+
+
+
+
Index: vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml
===================================================================
diff -u -r34673 -r34679
--- vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml (.../TestBase.cls.xml) (revision 34673)
+++ vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml (.../TestBase.cls.xml) (revision 34679)
@@ -14,6 +14,11 @@
1
+
+%String
+1
+
+
aTestName:%String
@@ -60,7 +67,10 @@
#dim VerkoopAPI As vhTest.Mock.DOM.VKP.VerkoopAPI = ##class(vhTest.Mock.DOM.VKP.VerkoopAPI).MockInstance()
do VerkoopAPI.IndienMethodCall("GeefKlant",..Partij.GeefID()).DanReturn(..Klant)
- set AifConverter = ##class(AX.Uitgaand.VKP.VanHoeckeKlant.impl.AifConverter).%New(PartijAPI,VerkoopAPI)
+ Set FirmaBepaler = ##class(vhTest.Mock.AX.common.impl.FirmaBepaler).%New()
+ Do FirmaBepaler.IndienMethodCall("GeefInitialen").DanReturn(..Firma)
+
+ set AifConverter = ##class(AX.Uitgaand.VKP.VanHoeckeKlant.impl.AifConverter).%New(PartijAPI,VerkoopAPI,FirmaBepaler)
quit AifConverter.Convert(..Partij.GeefID())
]]>