Index: vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml
===================================================================
diff -u -r34700 -r34727
--- vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml (.../TestBase.cls.xml) (revision 34700)
+++ vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter/TestBase.cls.xml (.../TestBase.cls.xml) (revision 34727)
@@ -35,10 +35,10 @@
AXaif.Customer.AxdCustomer
1
@@ -74,7 +76,7 @@
set Custable.EnterpriseNumber = ..Formatter.FormatEnterpriseNumber(Partij.GeefBTWNr())
set Custable.VATNum = ..Formatter.FormatVATNum(Partij.GeefBTWNr())
- set Custable.TaxGroup = ..Utils.ConvertTaxGroup(Partij,Klant)
+ set Custable.TaxGroup = ..Utils.ConvertTaxGroup(Klant)
set Custable.WebSalesOrderDisplay = "All"
set Custable.PaymTermId = ..Formatter.ConvertPaymTermId(Klant.GeefBetalingwijze(), Klant.GeefBetalingTermijn())
Index: AX/Uitgaand/VKP/VanHoeckeKlant/impl/Utils.cls.xml
===================================================================
diff -u -r34724 -r34727
--- AX/Uitgaand/VKP/VanHoeckeKlant/impl/Utils.cls.xml (.../Utils.cls.xml) (revision 34724)
+++ AX/Uitgaand/VKP/VanHoeckeKlant/impl/Utils.cls.xml (.../Utils.cls.xml) (revision 34727)
@@ -8,21 +8,30 @@
1
+
+DOM.PARTIJ.PartijAPI
+1
+
+
-FirmaBepaler:AX.common.impl.FirmaBepaler
+FirmaBepaler:AX.common.impl.FirmaBepaler,PartijAPI:DOM.PARTIJ.PartijAPI
1
1
%Status
1
-Partij:DOM.PARTIJ.Partij,Klant:DOM.VKP.VanHoeckeKlant
+Klant:DOM.VKP.VanHoeckeKlant
+%String
IncludeNot
Ledger
prbe
+ BDOM
1846-07-09
HEREMANS KEUKENS
F300500
Index: vhUnitTest/AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter/Test.cls.xml
===================================================================
diff -u -r34719 -r34727
--- vhUnitTest/AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter/Test.cls.xml (.../Test.cls.xml) (revision 34719)
+++ vhUnitTest/AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter/Test.cls.xml (.../Test.cls.xml) (revision 34727)
@@ -157,6 +157,7 @@
do $$$AssertEquals(Transactie.LineNum,"1.0000000000")
do $$$AssertEquals(Transactie.OffsetAccountType,"Ledger")
do $$$AssertEquals(Transactie.Txt,"DE KLANTNAAM")
+ do $$$AssertEquals(Transactie.TaxGroup,"BDOM")
do $$$AssertEquals(Transactie.TransDate,"2011-06-30")
do $$$AssertEquals(Transactie.DocumentNum,"F123.456")
do $$$AssertEquals(Transactie.Invoice,"F123456")
Index: vhTestFiles/UnitTests/AX.Uitgaand.common.impl.AifGenerator.Generate/Test/TestVerkoopcreditnota-export/AIF/Inbound/SalesInvoice-Create 586689 - VHBE - 20160501_091500.xml
===================================================================
diff -u -r34722 -r34727
--- vhTestFiles/UnitTests/AX.Uitgaand.common.impl.AifGenerator.Generate/Test/TestVerkoopcreditnota-export/AIF/Inbound/SalesInvoice-Create 586689 - VHBE - 20160501_091500.xml (.../SalesInvoice-Create 586689 - VHBE - 20160501_091500.xml) (revision 34722)
+++ vhTestFiles/UnitTests/AX.Uitgaand.common.impl.AifGenerator.Generate/Test/TestVerkoopcreditnota-export/AIF/Inbound/SalesInvoice-Create 586689 - VHBE - 20160501_091500.xml (.../SalesInvoice-Create 586689 - VHBE - 20160501_091500.xml) (revision 34727)
@@ -29,6 +29,7 @@
IncludeNot
Ledger
prbe
+ BDOM
1846-07-09
F586689
Index: AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter.cls.xml
===================================================================
diff -u -r34722 -r34727
--- AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34722)
+++ AX/Uitgaand/VKP/VerkoopFactuur/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34727)
@@ -23,6 +23,11 @@
1
+
+AX.Uitgaand.VKP.VanHoeckeKlant.impl.Utils
+1
+
+
FirmaBepaler:AX.common.impl.FirmaBepaler,VerkoopAPI:DOM.VKP.VerkoopAPI,OrderAPI:DOM.VKP.OrderAPI
1
@@ -31,9 +36,12 @@
1
@@ -95,6 +103,7 @@
#dim Transaction As AXaif.LedgerGeneralJournal.AxdEntityLedgerJournalTrans = ..MakeTransaction(Factuur,1)
set Transaction.AccountType = "Cust"
set Transaction.OffsetAccountType = "Ledger"
+ set Transaction.TaxGroup = ..Utils.ConvertTaxGroup(Factuur.GeefKlant())
set Transaction.CashDiscAmount = ..Formatter.FormatNumber(Factuur.GeefTotaalKortingKontant(),2)
Index: vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml
===================================================================
diff -u -r34700 -r34727
--- vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34700)
+++ vhUnitTest/AX/Uitgaand/VKP/VanHoeckeKlant/impl/AifConverter.cls.xml (.../AifConverter.cls.xml) (revision 34727)
@@ -769,7 +769,7 @@
]]>
-
+