Index: AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml
===================================================================
diff -u -r34408 -r34453
--- AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34408)
+++ AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34453)
@@ -46,7 +46,7 @@
set DirParty = ##class(AXaif.Customer.AxdEntityDirPartyDirOrganization).%New()
set DirParty.class = "entity"
set DirParty.LanguageId = ..Formatter.FormatLanguageId(Partij.GeefTaal())
- set DirParty.Name = ..FormatPartyName(Partij)
+ set DirParty.Name = ..Formatter.FormatPartyName(Partij)
set:(Partij.GeefAdres().GeefLandNr()=##class(DOM.common.enu.Land).Nederland()) DirParty.DunsNumberRecId = Partij.GeefHandelRegisterNr()
set OrganizationName = ##class(AXaif.Customer.AxdEntityOrganizationName).%New()
@@ -84,17 +84,6 @@
]]>
-
-Partij:DOM.PARTIJ.Partij
-1
-%String
-
-
-
LocationName:%String,Locator:%String,Type:%String,IsPrimary:%Boolean=1
1
Index: AX/Uitgaand/AKP/Leverancier/impl/DixfConverter.cls.xml
===================================================================
diff -u -r34405 -r34453
--- AX/Uitgaand/AKP/Leverancier/impl/DixfConverter.cls.xml (.../DixfConverter.cls.xml) (revision 34405)
+++ AX/Uitgaand/AKP/Leverancier/impl/DixfConverter.cls.xml (.../DixfConverter.cls.xml) (revision 34453)
@@ -1,7 +1,7 @@
-TECH.RegisteredObject
+TECH.Mockable
AX.common.impl.Formatter
@@ -20,27 +20,28 @@
-Leverancier:DOM.AKP.Leverancier
+Partij:DOM.PARTIJ.Partij,Leverancier:DOM.AKP.Leverancier
AXdixf.Vendor.Vendor
-
+
1
+
+
+Partij:DOM.PARTIJ.Partij
+%String
+
+
Index: vhUnitTest/AX/Uitgaand/AKP/Leverancier/impl/DixfConverter/Convert.cls.xml
===================================================================
diff -u -r34405 -r34453
--- vhUnitTest/AX/Uitgaand/AKP/Leverancier/impl/DixfConverter/Convert.cls.xml (.../Convert.cls.xml) (revision 34405)
+++ vhUnitTest/AX/Uitgaand/AKP/Leverancier/impl/DixfConverter/Convert.cls.xml (.../Convert.cls.xml) (revision 34453)
@@ -13,28 +13,36 @@
1
+
+vhTest.Mock.DOM.PARTIJ.Partij
+1
+
+
aTestName:%String
@@ -57,88 +65,101 @@
+
+
+
+
@@ -147,111 +168,117 @@
@@ -563,7 +590,7 @@
Do ..Leverancier.IndienMethodCall("GeefTermijnKortingKontant").DanReturn("")
Set Converter = ##class(AX.Uitgaand.AKP.Leverancier.impl.DixfConverter).%New()
- Set ..AxLeverancier = Converter.Convert(..Leverancier)
+ Set ..AxLeverancier = Converter.Convert(..Partij, ..Leverancier)
Do $$$AssertEquals(..AxLeverancier.UseCashDisc,"08D1%")
]]>
@@ -575,7 +602,7 @@
Do ..Leverancier.IndienMethodCall("GeefTermijnKortingKontant").DanReturn("10D")
Set Converter = ##class(AX.Uitgaand.AKP.Leverancier.impl.DixfConverter).%New()
- Set ..AxLeverancier = Converter.Convert(..Leverancier)
+ Set ..AxLeverancier = Converter.Convert(..Partij, ..Leverancier)
Do $$$AssertEquals(..AxLeverancier.UseCashDisc,"10D3%")
]]>
@@ -587,7 +614,7 @@
Do ..Leverancier.IndienMethodCall("GeefTermijnKortingKontant").DanReturn("0D")
Set Converter = ##class(AX.Uitgaand.AKP.Leverancier.impl.DixfConverter).%New()
- Set ..AxLeverancier = Converter.Convert(..Leverancier)
+ Set ..AxLeverancier = Converter.Convert(..Partij, ..Leverancier)
Do $$$AssertEquals(..AxLeverancier.UseCashDisc,"08D3%")
]]>
@@ -598,7 +625,7 @@
Do ..Leverancier.IndienMethodCall("GeefBankRekeningNr").DanReturn("BE96230050972005")
Set Converter = ##class(AX.Uitgaand.AKP.Leverancier.impl.DixfConverter).%New()
- Set ..AxLeverancier = Converter.Convert(..Leverancier)
+ Set ..AxLeverancier = Converter.Convert(..Partij, ..Leverancier)
Do $$$AssertEquals(..AxLeverancier.BankAccount,"1")
]]>
@@ -609,7 +636,7 @@
Do ..Leverancier.IndienMethodCall("GeefBankRekeningNr").DanReturn("")
Set Converter = ##class(AX.Uitgaand.AKP.Leverancier.impl.DixfConverter).%New()
- Set ..AxLeverancier = Converter.Convert(..Leverancier)
+ Set ..AxLeverancier = Converter.Convert(..Partij, ..Leverancier)
Do $$$AssertEquals(..AxLeverancier.BankAccount,"")
]]>