Adds new junit tests for accounting (PostDocumentTest)
authorEduardo Argal Guibert <eduardo.argal@openbravo.com>
Tue, 12 May 2015 17:53:41 +0200
changeset 26637 f1009299848e
parent 26636 05782ede9712
child 26638 9de368a0f3e2
Adds new junit tests for accounting (PostDocumentTest)
Attend regressions for issues: 29266, 29403, 29505
referencedata/sampledata/QA_Testing/C_CONVERSION_RATE.xml
referencedata/sampledata/QA_Testing/C_CONVERSION_RATE_DOCUMENT.xml
referencedata/sampledata/QA_Testing/C_INVOICE.xml
referencedata/sampledata/QA_Testing/C_INVOICELINE.xml
referencedata/sampledata/QA_Testing/C_INVOICELINETAX.xml
referencedata/sampledata/QA_Testing/C_INVOICETAX.xml
referencedata/sampledata/QA_Testing/C_ORDER.xml
referencedata/sampledata/QA_Testing/C_ORDERLINE.xml
referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml
referencedata/sampledata/QA_Testing/C_ORDERTAX.xml
referencedata/sampledata/QA_Testing/C_UOM.xml
referencedata/sampledata/QA_Testing/FACT_ACCT.xml
referencedata/sampledata/QA_Testing/FIN_FINACC_PAYMENTMETHOD.xml
referencedata/sampledata/QA_Testing/FIN_PAYMENT.xml
referencedata/sampledata/QA_Testing/FIN_PAYMENTMETHOD.xml
referencedata/sampledata/QA_Testing/FIN_PAYMENT_DETAIL.xml
referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml
referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml
referencedata/sampledata/QA_Testing/M_INOUT.xml
referencedata/sampledata/QA_Testing/M_INOUTLINE.xml
referencedata/sampledata/QA_Testing/M_MATCHINV.xml
referencedata/sampledata/QA_Testing/M_MATCHPO.xml
referencedata/sampledata/QA_Testing/M_PRICELIST.xml
referencedata/sampledata/QA_Testing/M_PRICELIST_VERSION.xml
referencedata/sampledata/QA_Testing/M_PRODUCTPRICE.xml
referencedata/sampledata/QA_Testing/M_STORAGE_DETAIL.xml
referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml
referencedata/sampledata/QA_Testing/M_TRANSACTION.xml
src-db/database/model/functions/C_INVOICE_POST.xml
src-test/src/org/openbravo/test/AllAntTaskTests.java
src-test/src/org/openbravo/test/accounting/PostDocumentTest.java
src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql
--- a/referencedata/sampledata/QA_Testing/C_CONVERSION_RATE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_CONVERSION_RATE.xml	Tue May 12 17:53:41 2015 +0200
@@ -19,6 +19,42 @@
 </C_CONVERSION_RATE>
 
 <C_CONVERSION_RATE>
+  <C_CONVERSION_RATE_ID><![CDATA[17156A54748E4B998662D2AB18643927]]></C_CONVERSION_RATE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:25:48.283]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:25:48.283]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <C_CURRENCY_ID_TO><![CDATA[100]]></C_CURRENCY_ID_TO>
+  <VALIDFROM><![CDATA[2015-05-05 00:00:00.0]]></VALIDFROM>
+  <VALIDTO><![CDATA[2015-05-06 00:00:00.0]]></VALIDTO>
+  <CONVERSIONRATETYPE><![CDATA[S]]></CONVERSIONRATETYPE>
+  <MULTIPLYRATE><![CDATA[3]]></MULTIPLYRATE>
+  <DIVIDERATE><![CDATA[0.333333]]></DIVIDERATE>
+</C_CONVERSION_RATE>
+
+<C_CONVERSION_RATE>
+  <C_CONVERSION_RATE_ID><![CDATA[2A4B19A84A774F808D8DBC9674278298]]></C_CONVERSION_RATE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:25:27.877]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:25:27.877]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <C_CURRENCY_ID_TO><![CDATA[102]]></C_CURRENCY_ID_TO>
+  <VALIDFROM><![CDATA[2015-05-05 00:00:00.0]]></VALIDFROM>
+  <VALIDTO><![CDATA[2015-05-06 00:00:00.0]]></VALIDTO>
+  <CONVERSIONRATETYPE><![CDATA[S]]></CONVERSIONRATETYPE>
+  <MULTIPLYRATE><![CDATA[2]]></MULTIPLYRATE>
+  <DIVIDERATE><![CDATA[0.5]]></DIVIDERATE>
+</C_CONVERSION_RATE>
+
+<C_CONVERSION_RATE>
   <C_CONVERSION_RATE_ID><![CDATA[5BD1887987704BA0AA55D61A270DB746]]></C_CONVERSION_RATE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/referencedata/sampledata/QA_Testing/C_CONVERSION_RATE_DOCUMENT.xml	Tue May 12 17:53:41 2015 +0200
@@ -0,0 +1,19 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<C_CONVERSION_RATE_DOCUMENT>
+  <C_CONVERSION_RATE_DOCUMENT_ID><![CDATA[F5EB0B47580C4711A511A53FDB77CE9E]]></C_CONVERSION_RATE_DOCUMENT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:31:34.805]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:31:34.805]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <C_CURRENCY_ID_TO><![CDATA[100]]></C_CURRENCY_ID_TO>
+  <FIN_PAYMENT_ID><![CDATA[A89AF1465D29428288FBCBA5C9A2E382]]></FIN_PAYMENT_ID>
+  <RATE><![CDATA[3.000000]]></RATE>
+  <FOREIGN_AMOUNT><![CDATA[16.5]]></FOREIGN_AMOUNT>
+</C_CONVERSION_RATE_DOCUMENT>
+
+</data>
--- a/referencedata/sampledata/QA_Testing/C_INVOICE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_INVOICE.xml	Tue May 12 17:53:41 2015 +0200
@@ -269,6 +269,62 @@
 </C_INVOICE>
 
 <C_INVOICE>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:05.713]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:54.536271]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISSOTRX><![CDATA[Y]]></ISSOTRX>
+  <DOCUMENTNO><![CDATA[Issue 29505]]></DOCUMENTNO>
+  <DOCSTATUS><![CDATA[CO]]></DOCSTATUS>
+  <DOCACTION><![CDATA[RE]]></DOCACTION>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[Y]]></POSTED>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <C_DOCTYPETARGET_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPETARGET_ID>
+  <ISPRINTED><![CDATA[N]]></ISPRINTED>
+  <DATEINVOICED><![CDATA[2015-05-05 00:00:00.0]]></DATEINVOICED>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C43802EE]]></C_BPARTNER_LOCATION_ID>
+  <ISDISCOUNTPRINTED><![CDATA[N]]></ISDISCOUNTPRINTED>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <PAYMENTRULE><![CDATA[4]]></PAYMENTRULE>
+  <C_PAYMENTTERM_ID><![CDATA[7B308C5CB9674BB3A56E63D85887058A]]></C_PAYMENTTERM_ID>
+  <CHARGEAMT><![CDATA[0]]></CHARGEAMT>
+  <TOTALLINES><![CDATA[300.00]]></TOTALLINES>
+  <GRANDTOTAL><![CDATA[310.50]]></GRANDTOTAL>
+  <M_PRICELIST_ID><![CDATA[4028E6C72959682B01295B03CE480243]]></M_PRICELIST_ID>
+  <ISTAXINCLUDED><![CDATA[N]]></ISTAXINCLUDED>
+  <CREATEFROM><![CDATA[N]]></CREATEFROM>
+  <GENERATETO><![CDATA[N]]></GENERATETO>
+  <AD_USER_ID><![CDATA[4028E6C72959682B01295F40C43802EF]]></AD_USER_ID>
+  <COPYFROM><![CDATA[N]]></COPYFROM>
+  <ISSELFSERVICE><![CDATA[N]]></ISSELFSERVICE>
+  <WITHHOLDINGAMOUNT><![CDATA[0.00]]></WITHHOLDINGAMOUNT>
+  <ISPAID><![CDATA[Y]]></ISPAID>
+  <TOTALPAID><![CDATA[310.50]]></TOTALPAID>
+  <OUTSTANDINGAMT><![CDATA[0.00]]></OUTSTANDINGAMT>
+  <DAYSTILLDUE><![CDATA[0]]></DAYSTILLDUE>
+  <DUEAMT><![CDATA[0]]></DUEAMT>
+  <LASTCALCULATEDONDATE><![CDATA[2015-05-05 19:28:48.602]]></LASTCALCULATEDONDATE>
+  <UPDATEPAYMENTMONITOR><![CDATA[N]]></UPDATEPAYMENTMONITOR>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[42E87E97974E4B35849A430B8F6F2884]]></FIN_PAYMENTMETHOD_ID>
+  <FINALSETTLEMENT><![CDATA[2015-05-05 00:00:00.0]]></FINALSETTLEMENT>
+  <DAYSOUTSTANDING><![CDATA[0]]></DAYSOUTSTANDING>
+  <PERCENTAGEOVERDUE><![CDATA[0]]></PERCENTAGEOVERDUE>
+  <CALCULATE_PROMOTIONS><![CDATA[N]]></CALCULATE_PROMOTIONS>
+  <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <PREPAYMENTAMT><![CDATA[0]]></PREPAYMENTAMT>
+  <EM_APRM_ADDPAYMENT><![CDATA[Y]]></EM_APRM_ADDPAYMENT>
+  <EM_APRM_PROCESSINVOICE><![CDATA[RE]]></EM_APRM_PROCESSINVOICE>
+</C_INVOICE>
+
+<C_INVOICE>
   <C_INVOICE_ID><![CDATA[60704D1036114460B66D5FFDEB644C75]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -328,7 +384,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <CREATED><![CDATA[2014-07-18 09:29:24.763]]></CREATED>
   <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-07-18 09:31:50.93196]]></UPDATED>
+  <UPDATED><![CDATA[2015-05-04 17:51:33.499138]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <ISSOTRX><![CDATA[Y]]></ISSOTRX>
   <DOCUMENTNO><![CDATA[I/29]]></DOCUMENTNO>
@@ -384,7 +440,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <CREATED><![CDATA[2014-12-25 18:44:48.275]]></CREATED>
   <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-12-25 18:45:15.728]]></UPDATED>
+  <UPDATED><![CDATA[2015-05-04 17:57:02.07768]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <ISSOTRX><![CDATA[Y]]></ISSOTRX>
   <DOCUMENTNO><![CDATA[I/31]]></DOCUMENTNO>
@@ -392,7 +448,7 @@
   <DOCACTION><![CDATA[RE]]></DOCACTION>
   <PROCESSING><![CDATA[N]]></PROCESSING>
   <PROCESSED><![CDATA[Y]]></PROCESSED>
-  <POSTED><![CDATA[N]]></POSTED>
+  <POSTED><![CDATA[Y]]></POSTED>
   <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
   <C_DOCTYPETARGET_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPETARGET_ID>
   <DESCRIPTION><![CDATA[Invoice paid using credit: 400029, 400032
@@ -699,6 +755,61 @@
 </C_INVOICE>
 
 <C_INVOICE>
+  <C_INVOICE_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:17.21]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.810532]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISSOTRX><![CDATA[N]]></ISSOTRX>
+  <DOCUMENTNO><![CDATA[Issue 29403]]></DOCUMENTNO>
+  <DOCSTATUS><![CDATA[CO]]></DOCSTATUS>
+  <DOCACTION><![CDATA[RE]]></DOCACTION>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[Y]]></POSTED>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <C_DOCTYPETARGET_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPETARGET_ID>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <ISPRINTED><![CDATA[N]]></ISPRINTED>
+  <DATEINVOICED><![CDATA[2015-05-05 00:00:00.0]]></DATEINVOICED>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></C_BPARTNER_LOCATION_ID>
+  <ISDISCOUNTPRINTED><![CDATA[N]]></ISDISCOUNTPRINTED>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <PAYMENTRULE><![CDATA[1]]></PAYMENTRULE>
+  <C_PAYMENTTERM_ID><![CDATA[CA9D9E3E296C48E8B3F8796445F0C17D]]></C_PAYMENTTERM_ID>
+  <CHARGEAMT><![CDATA[0]]></CHARGEAMT>
+  <TOTALLINES><![CDATA[5.00]]></TOTALLINES>
+  <GRANDTOTAL><![CDATA[5.50]]></GRANDTOTAL>
+  <M_PRICELIST_ID><![CDATA[C62C9D4D3B544843827442F3C02925CE]]></M_PRICELIST_ID>
+  <ISTAXINCLUDED><![CDATA[N]]></ISTAXINCLUDED>
+  <CREATEFROM><![CDATA[N]]></CREATEFROM>
+  <GENERATETO><![CDATA[N]]></GENERATETO>
+  <AD_USER_ID><![CDATA[4028E6C72959682B01295F40C1D702E6]]></AD_USER_ID>
+  <COPYFROM><![CDATA[N]]></COPYFROM>
+  <ISSELFSERVICE><![CDATA[N]]></ISSELFSERVICE>
+  <WITHHOLDINGAMOUNT><![CDATA[0.00]]></WITHHOLDINGAMOUNT>
+  <ISPAID><![CDATA[Y]]></ISPAID>
+  <TOTALPAID><![CDATA[5.50]]></TOTALPAID>
+  <OUTSTANDINGAMT><![CDATA[0.00]]></OUTSTANDINGAMT>
+  <DAYSTILLDUE><![CDATA[0]]></DAYSTILLDUE>
+  <DUEAMT><![CDATA[0]]></DUEAMT>
+  <LASTCALCULATEDONDATE><![CDATA[2015-05-05 17:33:30.0]]></LASTCALCULATEDONDATE>
+  <UPDATEPAYMENTMONITOR><![CDATA[N]]></UPDATEPAYMENTMONITOR>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <FINALSETTLEMENT><![CDATA[2015-05-05 17:33:30.0]]></FINALSETTLEMENT>
+  <CALCULATE_PROMOTIONS><![CDATA[N]]></CALCULATE_PROMOTIONS>
+  <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <PREPAYMENTAMT><![CDATA[5.50]]></PREPAYMENTAMT>
+  <EM_APRM_ADDPAYMENT><![CDATA[Y]]></EM_APRM_ADDPAYMENT>
+  <EM_APRM_PROCESSINVOICE><![CDATA[RE]]></EM_APRM_PROCESSINVOICE>
+</C_INVOICE>
+
+<C_INVOICE>
   <C_INVOICE_ID><![CDATA[E785B796D7C149B6B7BB90D0539D4A99]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -805,6 +916,60 @@
 </C_INVOICE>
 
 <C_INVOICE>
+  <C_INVOICE_ID><![CDATA[F5D55960B2704B86903740BF35779DB6]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 18:00:01.522]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 18:02:32.073207]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISSOTRX><![CDATA[N]]></ISSOTRX>
+  <DOCUMENTNO><![CDATA[Issue 29266]]></DOCUMENTNO>
+  <DOCSTATUS><![CDATA[CO]]></DOCSTATUS>
+  <DOCACTION><![CDATA[RE]]></DOCACTION>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[Y]]></POSTED>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <C_DOCTYPETARGET_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPETARGET_ID>
+  <ISPRINTED><![CDATA[N]]></ISPRINTED>
+  <DATEINVOICED><![CDATA[2015-05-04 00:00:00.0]]></DATEINVOICED>
+  <DATEACCT><![CDATA[2015-05-04 00:00:00.0]]></DATEACCT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></C_BPARTNER_LOCATION_ID>
+  <ISDISCOUNTPRINTED><![CDATA[N]]></ISDISCOUNTPRINTED>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <PAYMENTRULE><![CDATA[1]]></PAYMENTRULE>
+  <C_PAYMENTTERM_ID><![CDATA[CA9D9E3E296C48E8B3F8796445F0C17D]]></C_PAYMENTTERM_ID>
+  <CHARGEAMT><![CDATA[0]]></CHARGEAMT>
+  <TOTALLINES><![CDATA[0]]></TOTALLINES>
+  <GRANDTOTAL><![CDATA[0]]></GRANDTOTAL>
+  <M_PRICELIST_ID><![CDATA[4028E6C72959682B01295ADC1769021B]]></M_PRICELIST_ID>
+  <ISTAXINCLUDED><![CDATA[N]]></ISTAXINCLUDED>
+  <CREATEFROM><![CDATA[N]]></CREATEFROM>
+  <GENERATETO><![CDATA[N]]></GENERATETO>
+  <AD_USER_ID><![CDATA[4028E6C72959682B01295F40C1D702E6]]></AD_USER_ID>
+  <COPYFROM><![CDATA[N]]></COPYFROM>
+  <ISSELFSERVICE><![CDATA[N]]></ISSELFSERVICE>
+  <WITHHOLDINGAMOUNT><![CDATA[0.00]]></WITHHOLDINGAMOUNT>
+  <ISPAID><![CDATA[Y]]></ISPAID>
+  <TOTALPAID><![CDATA[0]]></TOTALPAID>
+  <OUTSTANDINGAMT><![CDATA[0]]></OUTSTANDINGAMT>
+  <DAYSTILLDUE><![CDATA[0]]></DAYSTILLDUE>
+  <DUEAMT><![CDATA[0]]></DUEAMT>
+  <LASTCALCULATEDONDATE><![CDATA[2015-05-04 18:02:24.0]]></LASTCALCULATEDONDATE>
+  <UPDATEPAYMENTMONITOR><![CDATA[N]]></UPDATEPAYMENTMONITOR>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[42E87E97974E4B35849A430B8F6F2884]]></FIN_PAYMENTMETHOD_ID>
+  <FINALSETTLEMENT><![CDATA[2015-05-04 18:02:24.0]]></FINALSETTLEMENT>
+  <CALCULATE_PROMOTIONS><![CDATA[N]]></CALCULATE_PROMOTIONS>
+  <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <PREPAYMENTAMT><![CDATA[0]]></PREPAYMENTAMT>
+  <EM_APRM_ADDPAYMENT><![CDATA[Y]]></EM_APRM_ADDPAYMENT>
+  <EM_APRM_PROCESSINVOICE><![CDATA[RE]]></EM_APRM_PROCESSINVOICE>
+</C_INVOICE>
+
+<C_INVOICE>
   <C_INVOICE_ID><![CDATA[FF808081328278B5013282A1A35800A0]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/C_INVOICELINE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_INVOICELINE.xml	Tue May 12 17:53:41 2015 +0200
@@ -1091,6 +1091,43 @@
 </C_INVOICELINE>
 
 <C_INVOICELINE>
+  <C_INVOICELINE_ID><![CDATA[947514B8EF0A482FAF05AB0BD226A22E]]></C_INVOICELINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:22.996]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:24.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <LINE><![CDATA[10]]></LINE>
+  <FINANCIAL_INVOICE_LINE><![CDATA[N]]></FINANCIAL_INVOICE_LINE>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
+  <QTYINVOICED><![CDATA[150]]></QTYINVOICED>
+  <PRICELIST><![CDATA[2]]></PRICELIST>
+  <PRICEACTUAL><![CDATA[2]]></PRICEACTUAL>
+  <PRICELIMIT><![CDATA[2]]></PRICELIMIT>
+  <LINENETAMT><![CDATA[300.00]]></LINENETAMT>
+  <CHARGEAMT><![CDATA[0.00]]></CHARGEAMT>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <C_TAX_ID><![CDATA[58A7B9D1DDDD442CAD08052C1B735AFC]]></C_TAX_ID>
+  <TAXAMT><![CDATA[10.5]]></TAXAMT>
+  <ISDESCRIPTION><![CDATA[N]]></ISDESCRIPTION>
+  <PRICESTD><![CDATA[2]]></PRICESTD>
+  <EXCLUDEFORWITHHOLDING><![CDATA[N]]></EXCLUDEFORWITHHOLDING>
+  <ISEDITLINENETAMT><![CDATA[N]]></ISEDITLINENETAMT>
+  <TAXBASEAMT><![CDATA[300]]></TAXBASEAMT>
+  <LINE_GROSS_AMOUNT><![CDATA[0]]></LINE_GROSS_AMOUNT>
+  <GROSS_UNIT_PRICE><![CDATA[0]]></GROSS_UNIT_PRICE>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <GROSSPRICESTD><![CDATA[0]]></GROSSPRICESTD>
+  <GROSSPRICELIST><![CDATA[0]]></GROSSPRICELIST>
+  <ISDEFERRED><![CDATA[N]]></ISDEFERRED>
+  <EXPLODE><![CDATA[N]]></EXPLODE>
+  <MATCH_LCCOSTS><![CDATA[N]]></MATCH_LCCOSTS>
+</C_INVOICELINE>
+
+<C_INVOICELINE>
   <C_INVOICELINE_ID><![CDATA[95ED705B399E4A639CFEF71EF9235994]]></C_INVOICELINE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -1564,6 +1601,43 @@
 </C_INVOICELINE>
 
 <C_INVOICELINE>
+  <C_INVOICELINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></C_INVOICELINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:26.033845]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_INVOICE_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></C_INVOICE_ID>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <M_INOUTLINE_ID><![CDATA[5C5CA732992248A0BAD49F5EBA00DDD0]]></M_INOUTLINE_ID>
+  <LINE><![CDATA[10]]></LINE>
+  <FINANCIAL_INVOICE_LINE><![CDATA[N]]></FINANCIAL_INVOICE_LINE>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <QTYINVOICED><![CDATA[1.00]]></QTYINVOICED>
+  <PRICELIST><![CDATA[5]]></PRICELIST>
+  <PRICEACTUAL><![CDATA[5]]></PRICEACTUAL>
+  <PRICELIMIT><![CDATA[0]]></PRICELIMIT>
+  <LINENETAMT><![CDATA[5.00]]></LINENETAMT>
+  <CHARGEAMT><![CDATA[0.00]]></CHARGEAMT>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <TAXAMT><![CDATA[0.50]]></TAXAMT>
+  <ISDESCRIPTION><![CDATA[N]]></ISDESCRIPTION>
+  <PRICESTD><![CDATA[5]]></PRICESTD>
+  <EXCLUDEFORWITHHOLDING><![CDATA[N]]></EXCLUDEFORWITHHOLDING>
+  <ISEDITLINENETAMT><![CDATA[N]]></ISEDITLINENETAMT>
+  <TAXBASEAMT><![CDATA[5.00]]></TAXBASEAMT>
+  <LINE_GROSS_AMOUNT><![CDATA[0]]></LINE_GROSS_AMOUNT>
+  <GROSS_UNIT_PRICE><![CDATA[0]]></GROSS_UNIT_PRICE>
+  <GROSSPRICESTD><![CDATA[0]]></GROSSPRICESTD>
+  <GROSSPRICELIST><![CDATA[0]]></GROSSPRICELIST>
+  <ISDEFERRED><![CDATA[N]]></ISDEFERRED>
+  <EXPLODE><![CDATA[N]]></EXPLODE>
+</C_INVOICELINE>
+
+<C_INVOICELINE>
   <C_INVOICELINE_ID><![CDATA[C7AF9AAD9A3F476C9A3B3E03CC2D13F2]]></C_INVOICELINE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/C_INVOICELINETAX.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_INVOICELINETAX.xml	Tue May 12 17:53:41 2015 +0200
@@ -325,6 +325,42 @@
 </C_INVOICELINETAX>
 
 <C_INVOICELINETAX>
+  <C_INVOICELINETAX_ID><![CDATA[3BAB2ABFFD0D41C192DE217BCC399D61]]></C_INVOICELINETAX_ID>
+  <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <C_INVOICELINE_ID><![CDATA[947514B8EF0A482FAF05AB0BD226A22E]]></C_INVOICELINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:24.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[300.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[1.50]]></TAXAMT>
+  <LINE><![CDATA[20]]></LINE>
+  <RECALCULATE><![CDATA[N]]></RECALCULATE>
+</C_INVOICELINETAX>
+
+<C_INVOICELINETAX>
+  <C_INVOICELINETAX_ID><![CDATA[3E9EAC0D636F4FD88CAE98E49455B5D3]]></C_INVOICELINETAX_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></C_INVOICE_ID>
+  <C_INVOICELINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></C_INVOICELINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:30.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[5.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[0.50]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <RECALCULATE><![CDATA[N]]></RECALCULATE>
+</C_INVOICELINETAX>
+
+<C_INVOICELINETAX>
   <C_INVOICELINETAX_ID><![CDATA[4EB5D58813F74898A661F5A9A75C7088]]></C_INVOICELINETAX_ID>
   <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></C_INVOICE_ID>
@@ -451,6 +487,24 @@
 </C_INVOICELINETAX>
 
 <C_INVOICELINETAX>
+  <C_INVOICELINETAX_ID><![CDATA[6ACEEF58559349B8895E4816A3A7E8B3]]></C_INVOICELINETAX_ID>
+  <C_TAX_ID><![CDATA[667A8194F0264B0AAA997B8B51F72024]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <C_INVOICELINE_ID><![CDATA[947514B8EF0A482FAF05AB0BD226A22E]]></C_INVOICELINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:24.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[300.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[9.00]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <RECALCULATE><![CDATA[N]]></RECALCULATE>
+</C_INVOICELINETAX>
+
+<C_INVOICELINETAX>
   <C_INVOICELINETAX_ID><![CDATA[6CF898FC1D64466D8FAA9BA743E833C5]]></C_INVOICELINETAX_ID>
   <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[E966A8C0273B4C57BA7435EB998D85E3]]></C_INVOICE_ID>
--- a/referencedata/sampledata/QA_Testing/C_INVOICETAX.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_INVOICETAX.xml	Tue May 12 17:53:41 2015 +0200
@@ -103,6 +103,40 @@
 </C_INVOICETAX>
 
 <C_INVOICETAX>
+  <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:24.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[300.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[1.50]]></TAXAMT>
+  <LINE><![CDATA[20]]></LINE>
+  <C_INVOICETAX_ID><![CDATA[24E521B8F0FA4114914BF038C1C93BC5]]></C_INVOICETAX_ID>
+  <RECALCULATE><![CDATA[Y]]></RECALCULATE>
+</C_INVOICETAX>
+
+<C_INVOICETAX>
+  <C_TAX_ID><![CDATA[5A74E390B82747F9A5754C8EB1BDB47A]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[F5D55960B2704B86903740BF35779DB6]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 18:00:30.649]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 18:02:17.471]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[333.33]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[10]]></TAXAMT>
+  <LINE><![CDATA[20]]></LINE>
+  <C_INVOICETAX_ID><![CDATA[258B9F32BD9E4E72911A14347A4A9FC4]]></C_INVOICETAX_ID>
+  <RECALCULATE><![CDATA[N]]></RECALCULATE>
+</C_INVOICETAX>
+
+<C_INVOICETAX>
   <C_TAX_ID><![CDATA[3271411A5AFB490A91FB618B6B789C24]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[FF808081328B2FE901328B5AE4030098]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
@@ -155,6 +189,23 @@
 
 <C_INVOICETAX>
   <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[F5D55960B2704B86903740BF35779DB6]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 18:00:40.149]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 18:00:40.149]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[-100]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[-10]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <C_INVOICETAX_ID><![CDATA[3752C873EC814E52971020BFCE2811E9]]></C_INVOICETAX_ID>
+  <RECALCULATE><![CDATA[N]]></RECALCULATE>
+</C_INVOICETAX>
+
+<C_INVOICETAX>
+  <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[A6E4CCB87095490D8D39DB29E3ECBB31]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -222,6 +273,23 @@
 </C_INVOICETAX>
 
 <C_INVOICETAX>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:30.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[5.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[0.50]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <C_INVOICETAX_ID><![CDATA[53A6F5AA6C5841E4807EAC7BD44245F0]]></C_INVOICETAX_ID>
+  <RECALCULATE><![CDATA[Y]]></RECALCULATE>
+</C_INVOICETAX>
+
+<C_INVOICETAX>
   <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[E966A8C0273B4C57BA7435EB998D85E3]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
@@ -562,6 +630,23 @@
 </C_INVOICETAX>
 
 <C_INVOICETAX>
+  <C_TAX_ID><![CDATA[667A8194F0264B0AAA997B8B51F72024]]></C_TAX_ID>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:24.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[300.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[9.00]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <C_INVOICETAX_ID><![CDATA[B207BAC127B042378B904F2EDAB3F62E]]></C_INVOICETAX_ID>
+  <RECALCULATE><![CDATA[Y]]></RECALCULATE>
+</C_INVOICETAX>
+
+<C_INVOICETAX>
   <C_TAX_ID><![CDATA[3271411A5AFB490A91FB618B6B789C24]]></C_TAX_ID>
   <C_INVOICE_ID><![CDATA[FF808081329052F3013290671F680024]]></C_INVOICE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
--- a/referencedata/sampledata/QA_Testing/C_ORDER.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_ORDER.xml	Tue May 12 17:53:41 2015 +0200
@@ -57,6 +57,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -119,6 +121,8 @@
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
   <RM_PICKFROMRECEIPT><![CDATA[N]]></RM_PICKFROMRECEIPT>
   <EM_APRM_ADDPAYMENT><![CDATA[N]]></EM_APRM_ADDPAYMENT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -178,6 +182,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -240,6 +246,73 @@
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
   <RM_PICKFROMRECEIPT><![CDATA[N]]></RM_PICKFROMRECEIPT>
   <EM_APRM_ADDPAYMENT><![CDATA[N]]></EM_APRM_ADDPAYMENT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
+</C_ORDER>
+
+<C_ORDER>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:30:14.875]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:30:48.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISSOTRX><![CDATA[N]]></ISSOTRX>
+  <DOCUMENTNO><![CDATA[Issue 29403]]></DOCUMENTNO>
+  <DOCSTATUS><![CDATA[CO]]></DOCSTATUS>
+  <DOCACTION><![CDATA[--]]></DOCACTION>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF51006E]]></C_DOCTYPE_ID>
+  <C_DOCTYPETARGET_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF51006E]]></C_DOCTYPETARGET_ID>
+  <ISDELIVERED><![CDATA[N]]></ISDELIVERED>
+  <ISINVOICED><![CDATA[N]]></ISINVOICED>
+  <ISPRINTED><![CDATA[N]]></ISPRINTED>
+  <ISSELECTED><![CDATA[N]]></ISSELECTED>
+  <DATEORDERED><![CDATA[2015-05-05 00:00:00.0]]></DATEORDERED>
+  <DATEPROMISED><![CDATA[2015-05-05 00:00:00.0]]></DATEPROMISED>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <BILLTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></BILLTO_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></C_BPARTNER_LOCATION_ID>
+  <ISDISCOUNTPRINTED><![CDATA[N]]></ISDISCOUNTPRINTED>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <PAYMENTRULE><![CDATA[1]]></PAYMENTRULE>
+  <C_PAYMENTTERM_ID><![CDATA[CA9D9E3E296C48E8B3F8796445F0C17D]]></C_PAYMENTTERM_ID>
+  <INVOICERULE><![CDATA[I]]></INVOICERULE>
+  <DELIVERYRULE><![CDATA[A]]></DELIVERYRULE>
+  <FREIGHTCOSTRULE><![CDATA[I]]></FREIGHTCOSTRULE>
+  <FREIGHTAMT><![CDATA[0]]></FREIGHTAMT>
+  <DELIVERYVIARULE><![CDATA[P]]></DELIVERYVIARULE>
+  <CHARGEAMT><![CDATA[0]]></CHARGEAMT>
+  <PRIORITYRULE><![CDATA[5]]></PRIORITYRULE>
+  <TOTALLINES><![CDATA[5.00]]></TOTALLINES>
+  <GRANDTOTAL><![CDATA[5.50]]></GRANDTOTAL>
+  <M_WAREHOUSE_ID><![CDATA[4028E6C72959682B01295ECFE2E20270]]></M_WAREHOUSE_ID>
+  <M_PRICELIST_ID><![CDATA[C62C9D4D3B544843827442F3C02925CE]]></M_PRICELIST_ID>
+  <ISTAXINCLUDED><![CDATA[N]]></ISTAXINCLUDED>
+  <POSTED><![CDATA[N]]></POSTED>
+  <AD_USER_ID><![CDATA[4028E6C72959682B01295F40C1D702E6]]></AD_USER_ID>
+  <COPYFROM><![CDATA[N]]></COPYFROM>
+  <ISSELFSERVICE><![CDATA[N]]></ISSELFSERVICE>
+  <GENERATETEMPLATE><![CDATA[N]]></GENERATETEMPLATE>
+  <COPYFROMPO><![CDATA[N]]></COPYFROMPO>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <RM_PICKFROMSHIPMENT><![CDATA[N]]></RM_PICKFROMSHIPMENT>
+  <RM_RECEIVEMATERIALS><![CDATA[N]]></RM_RECEIVEMATERIALS>
+  <RM_CREATEINVOICE><![CDATA[N]]></RM_CREATEINVOICE>
+  <RM_ADDORPHANLINE><![CDATA[N]]></RM_ADDORPHANLINE>
+  <CALCULATE_PROMOTIONS><![CDATA[N]]></CALCULATE_PROMOTIONS>
+  <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
+  <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
+  <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <RM_PICKFROMRECEIPT><![CDATA[N]]></RM_PICKFROMRECEIPT>
+  <EM_APRM_ADDPAYMENT><![CDATA[N]]></EM_APRM_ADDPAYMENT>
+  <EM_OBWPL_GENERATEPICKING><![CDATA[N]]></EM_OBWPL_GENERATEPICKING>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -300,6 +373,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -359,6 +434,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -419,6 +496,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -479,6 +558,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -538,6 +619,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -598,6 +681,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -660,6 +745,8 @@
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
   <RM_PICKFROMRECEIPT><![CDATA[N]]></RM_PICKFROMRECEIPT>
   <EM_APRM_ADDPAYMENT><![CDATA[N]]></EM_APRM_ADDPAYMENT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -719,6 +806,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -778,6 +867,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -838,6 +929,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -897,6 +990,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -957,6 +1052,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1016,6 +1113,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1076,6 +1175,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1136,6 +1237,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1195,6 +1298,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1255,6 +1360,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1315,6 +1422,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1375,6 +1484,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 <C_ORDER>
@@ -1435,6 +1546,8 @@
   <CONVERTQUOTATION><![CDATA[N]]></CONVERTQUOTATION>
   <CREATE_POLINES><![CDATA[N]]></CREATE_POLINES>
   <ISCASHVAT><![CDATA[N]]></ISCASHVAT>
+  <EM_OBWPL_ISINPICKINGLIST><![CDATA[N]]></EM_OBWPL_ISINPICKINGLIST>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
 </C_ORDER>
 
 </data>
--- a/referencedata/sampledata/QA_Testing/C_ORDERLINE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_ORDERLINE.xml	Tue May 12 17:53:41 2015 +0200
@@ -230,6 +230,52 @@
 </C_ORDERLINE>
 
 <C_ORDERLINE>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:30:32.083]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <LINE><![CDATA[10]]></LINE>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></C_BPARTNER_LOCATION_ID>
+  <DATEORDERED><![CDATA[2015-05-05 00:00:00.0]]></DATEORDERED>
+  <DATEPROMISED><![CDATA[2015-05-05 00:00:00.0]]></DATEPROMISED>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <M_WAREHOUSE_ID><![CDATA[4028E6C72959682B01295ECFE2E20270]]></M_WAREHOUSE_ID>
+  <DIRECTSHIP><![CDATA[N]]></DIRECTSHIP>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTYORDERED><![CDATA[1]]></QTYORDERED>
+  <QTYRESERVED><![CDATA[-1.00]]></QTYRESERVED>
+  <QTYDELIVERED><![CDATA[0]]></QTYDELIVERED>
+  <QTYINVOICED><![CDATA[0]]></QTYINVOICED>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <PRICELIST><![CDATA[5]]></PRICELIST>
+  <PRICEACTUAL><![CDATA[5]]></PRICEACTUAL>
+  <PRICELIMIT><![CDATA[0]]></PRICELIMIT>
+  <LINENETAMT><![CDATA[5.00]]></LINENETAMT>
+  <DISCOUNT><![CDATA[0]]></DISCOUNT>
+  <FREIGHTAMT><![CDATA[0.00]]></FREIGHTAMT>
+  <CHARGEAMT><![CDATA[0.00]]></CHARGEAMT>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <ISDESCRIPTION><![CDATA[N]]></ISDESCRIPTION>
+  <PRICESTD><![CDATA[5]]></PRICESTD>
+  <CANCELPRICEAD><![CDATA[N]]></CANCELPRICEAD>
+  <ISEDITLINENETAMT><![CDATA[N]]></ISEDITLINENETAMT>
+  <TAXBASEAMT><![CDATA[5]]></TAXBASEAMT>
+  <GROSS_UNIT_PRICE><![CDATA[0]]></GROSS_UNIT_PRICE>
+  <LINE_GROSS_AMOUNT><![CDATA[0]]></LINE_GROSS_AMOUNT>
+  <GROSSPRICESTD><![CDATA[0]]></GROSSPRICESTD>
+  <MANAGE_RESERVATION><![CDATA[N]]></MANAGE_RESERVATION>
+  <MANAGE_PRERESERVATION><![CDATA[N]]></MANAGE_PRERESERVATION>
+  <EXPLODE><![CDATA[N]]></EXPLODE>
+  <EM_OBWPL_READYPL><![CDATA[N]]></EM_OBWPL_READYPL>
+</C_ORDERLINE>
+
+<C_ORDERLINE>
   <C_ORDERLINE_ID><![CDATA[166A6B323CA148AE9DDB7F50B8C6041F]]></C_ORDERLINE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml	Tue May 12 17:53:41 2015 +0200
@@ -970,6 +970,23 @@
 </C_ORDERLINETAX>
 
 <C_ORDERLINETAX>
+  <C_ORDERLINETAX_ID><![CDATA[E936FF10531F425FB4C681EDDCE728A0]]></C_ORDERLINETAX_ID>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:30:48.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:30:48.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[5.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[0.50]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+</C_ORDERLINETAX>
+
+<C_ORDERLINETAX>
   <C_ORDERLINETAX_ID><![CDATA[E9A5DD656FF94D93826A5852F3865C2F]]></C_ORDERLINETAX_ID>
   <C_ORDERLINE_ID><![CDATA[C1DF65DF2DF4460095ABB9CEA1FCBF57]]></C_ORDERLINE_ID>
   <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
--- a/referencedata/sampledata/QA_Testing/C_ORDERTAX.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_ORDERTAX.xml	Tue May 12 17:53:41 2015 +0200
@@ -33,6 +33,22 @@
 </C_ORDERTAX>
 
 <C_ORDERTAX>
+  <C_ORDERTAX_ID><![CDATA[10B88A9B46DD4112A1108814ACE17C7D]]></C_ORDERTAX_ID>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:30:48.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:30:48.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <TAXBASEAMT><![CDATA[5.00]]></TAXBASEAMT>
+  <TAXAMT><![CDATA[0.50]]></TAXAMT>
+  <LINE><![CDATA[10]]></LINE>
+</C_ORDERTAX>
+
+<C_ORDERTAX>
   <C_ORDERTAX_ID><![CDATA[11513A38E0F34E1089DD0D5D0BFEF38A]]></C_ORDERTAX_ID>
   <C_ORDER_ID><![CDATA[7FDF0E46240D422B8E42C1076923FBF9]]></C_ORDER_ID>
   <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
--- a/referencedata/sampledata/QA_Testing/C_UOM.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/C_UOM.xml	Tue May 12 17:53:41 2015 +0200
@@ -15,6 +15,7 @@
   <COSTINGPRECISION><![CDATA[0]]></COSTINGPRECISION>
   <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
   <BREAKDOWN><![CDATA[N]]></BREAKDOWN>
+  <USEINPRODUCTION><![CDATA[N]]></USEINPRODUCTION>
 </C_UOM>
 
 </data>
--- a/referencedata/sampledata/QA_Testing/FACT_ACCT.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FACT_ACCT.xml	Tue May 12 17:53:41 2015 +0200
@@ -198,6 +198,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[0101A6606B5A494E8D6E9FE8BA3D3956]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:57:01.076597]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:57:01.076597]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[691E5C50BB4549AE81AE43F74AFD6956]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[260.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[260.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/31 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3E2FF0BE7D4E4C8081250CA4380A5884]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[013229B6076C4411B5B6DB29793283D8]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -803,6 +841,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[0E869720413A4462A413542780584933]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[F7B96292FB5842FBB51143BA659008B0]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <LINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[5.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[15.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[1.00]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[8B1990C104384BD18C2956AC5B78B2E0]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[60]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[51200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Service costs]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[0EA1C7ABAE7C44CC8675DACA9FDB07B8]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -2292,6 +2371,41 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[1F5C1AEC403940FB9E0A19E8F01D814C]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:21:49.845042]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:21:49.845042]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[844BBD9E26AF43CAA098447DC024FCF4]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FB0FEBE5AF564EBDAACB5094BF014836]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[100.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400033 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[32E04A071F9A4A6C9EF3A7D67AA1E6F5]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[60]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[438. Anticipos de clientes]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[1FCC76F8EC4E45ABBB86BAB7442B07F9]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -2485,6 +2599,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[242129F61CCF42D3AF3E0DE644EE4026]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[FABD8D6CF3F04EE7A0389C2BAA1D620E]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.50]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[1.50]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[8B1990C104384BD18C2956AC5B78B2E0]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11600]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Tax Receivables]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[2429D555E7FB49158814A45657985E3F]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -3017,13 +3169,1507 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[288F404F42FD4F38A67E8F72C703DF93]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2014-07-18 09:31:50.611064]]></CREATED>
+  <FACT_ACCT_ID><![CDATA[29B67156D8E145619E4263ECCEC8200E]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328B9A6E0A00F5]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B6AAC01328B9A6E1900F6]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[30.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[120.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400018 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[26DC15A1C9DA4A84A433DE3D07EFBD91]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[29C2C0BD13434B43BFECA1F32F02D33B]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-11-15 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-11-15 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[24C7CC41681547B9B596C2AE21A6F5D1]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E785B796D7C149B6B7BB90D0539D4A99]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[46.95]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[46.95]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/26 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[DAD6F8A24BD0435FB4AC5213C79EAB9E]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2A0053AA792541E4ABDAB17799106187]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[627A1291274F4BCF838588BB2F2102AD]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290A360770158]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081329052F3013290A2C2050154]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[50.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[150.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[1000047 # Vendor A (Invoice No.: 10000000. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[78594D521CF044E6971A4079870FF826]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Petty Cash]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2A7FABC6ACE14C4A8B741C18F0582EA4]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[FB2A7CD68876462BAED0D3FB2840E182]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290CDB59701F7]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081329052F3013290CE0D9C01FA]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000004 # Vendor A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[B11A73DA44234448807564F85A54BB79]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[60000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Compras de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2B083884F14946759335A472C5FE3334]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328B9BD4A20103]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[70.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[280.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[1F82A4C09B154614A7A405B845CE1D74]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2B57DD4B9EBB463998AEE9553E38241D]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[F7B96292FB5842FBB51143BA659008B0]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF80808132916E85013291A601F000AB]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF80808132916E85013291A6611100AE]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[2.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[4.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000009 # Vendor A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[2F0EFE5F984C43E28A0E8DF4E27D7F05]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[51200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Service costs]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2D0875E8304D4F06B0FBFBA18BD83AC0]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[58D66F384F7549D995523BF116F29BA0]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813285D49A0132865AD6AA0227]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[500.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[500.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[E07F7151A957401BABC17FD35B41212F]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bank Account]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2D419A8B2A9E4FE8B26AACC137F7A026]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[3.33]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[3.33]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/19, I/20. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[1323859ECEAB4D21A13474AFC5AC17C4]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2D6D7B2225ED4E80B96FAA77E040DD6D]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F301329081796600B9]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[2.50]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[2.50]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3E685FE5078047C8A3F0A9BEBEC2AF02]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2DAC8999AC2D449B9269DB5E0A0AA059]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[9F9A969CBEAD4BDD9EAF08482015BE81]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328278B5013282AD04D40154]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328278B5013282AD04D40154]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[150.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[150.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/2. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[17B4391E9EF043CBBA24B2E38C4211A0]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[45200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bank revaluation gain]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2DCE9F2A192043C98B8C151BE2026847]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328278B5013282A3F67700C5]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328278B5013282A3D41800BD]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[100.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[1000032 # Customer A (Invoice No.: I/1. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[0975A691A0E841F29F91ADDF0004B398]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2DDD6C0200D6479EBF9EFBEF0B0EFC6E]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F301329062BBB9001A]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[15]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[15]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <DESCRIPTION><![CDATA[400022]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3D1DD40156734CC7A07FF1EA64D3DD12]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2E1EB0237DE7476A88F5823626237D04]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[F124662D57FD4126AE5AAE190029B7E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-03 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-03 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813285D49A013286151FA40149]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[50.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[57418E6FF7A94C8CB1697CBE72BE65A4]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[55500]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Partidas pendientes de aplicación]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2E63D7E6B1174D4B9DB3347CD5E85B10]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B0DAC01328B2C62EA0026]]></RECORD_ID>
+  <LINE_ID><![CDATA[60C30A4BC81F4FADA2462B74A699EE15]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[50.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/12 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[92F5A40087784B62B27A48A96D87716D]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2E99A6BACD8749C18DA084305FA55EC5]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/19, I/20. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[1323859ECEAB4D21A13474AFC5AC17C4]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2EC8267C5DA0467591AB6A09F148063A]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[A01B5F7341074E6CA8D898E45FA2A3FC]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF80808132916E85013291814B8C0053]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3A2FB39E81234E5C9CD4A995B2D2DC82]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[40100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Proveedores efectos comerciales a pagar]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2F2C0731B29148C8B888AF89BB148B26]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[F7B96292FB5842FBB51143BA659008B0]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF80808132916E850132917441200006]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF80808132916E850132917472BB0009]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000006 # Vendor A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[E82425EF3CDF466A951D9C96F5AF10D7]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[51200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Service costs]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2F9141144F4E4E14A1A0B440A6A10394]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F301329081793D00B8]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[100]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[33.33]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3DB0A3DA14604256A4B4E5E2645EE0B5]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2FD1C5C911924ED384BBF67F235E755B]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[BA739BB5580D48479937D59E117740D7]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B2FE901328B5E71A300BC]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B2FE901328B5E71A300BC]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/14. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[4074839C87334717AA65ADB74883C9DB]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[69400]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Pérdidas por deterioro de créditos por operaciones comerciales]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[2FD5C5688AB4434DBE88C7E189C4950E]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[8128964F7A2B48DCBFE872560C78656D]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290671F680024]]></RECORD_ID>
+  <LINE_ID><![CDATA[CF664E4B0E104CC6BA0FA723F04C20FE]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[30.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[120.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/22 # Customer A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[13BCB15970E24B54B253314CE16BA798]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[60]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[41100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Sales]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3043978E1D424BAF8BE4F2B29A368EFA]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328CD02D2B0245]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B6AAC01328CD2B24B0253]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[20.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[20.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400019 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[2F18BFFAB9EF4BAEA52C6CCC02D96267]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3077A26C47C5470FA69D5B5F747ABA69]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290781A830072]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[15]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[15]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400025 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[D1E7FD925E784E668783D6C7AF740FCD]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[30A45C3C1E8945199B45CD4016DA5A3A]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-10 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-10 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290936CDE0115]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[15.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400028 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[867C7EE689CB444B8059A2355096F163]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[30C2C313E082447E93554D5911B165B8]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[B62D946707614D0CA810AAA7D6BF1342]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF80808132916E850132917D21000034]]></RECORD_ID>
+  <LINE_ID><![CDATA[7D659DA749094936AC46977FDAF521CF]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000007 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[D476C0F0C42644CBA6C4A1DF3603AD2D]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[40000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Proveedores (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[31A63523C1A44B5CB569BC4B7F106600]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813282F9FE013283022F3E0030]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[100.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400002 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[70BCEE7174854DE19D63F06A309ECCF6]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[31E395AB7B4D4DCF8B44E8A7199258F2]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290A360770158]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081329052F3013290A2C2050154]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[50.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[50.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[1000047 # Vendor A (Invoice No.: 10000000. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[03479CCE870E49D8B367B111249EDABB]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[364BB08642C741EF8BC38FD57E933641]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
+  <LINE_ID><![CDATA[34CF722BF16D48DBA17085E6B0F71E61]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[15.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/24 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3670011384194A6E9D662F00BD30DFEE]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[627A1291274F4BCF838588BB2F2102AD]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813282F9FE013283218C4E00E2]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[400.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[400.01]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[10FAB21679A64C06B275EA57EE3F1BB3]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Petty Cash]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[36C6258E61574A90AC09989F00902B3D]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[B62D946707614D0CA810AAA7D6BF1342]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-02-01 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-02-01 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[3DF78385C9F54E4F913DEC4F13EDF54F]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290D2F413021A]]></RECORD_ID>
+  <LINE_ID><![CDATA[0288A339C475488BA8ED4901B21241A0]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[60.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[60.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000005 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3C09851A77E648EA94B1939104A799F5]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[40000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Proveedores (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[37C9BA34E9834471BD8EC570A03104A1]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
+  <LINE_ID><![CDATA[7A1B2665F2714B108CB621847ED92713]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[40.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[40.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1DC2022E]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/24 # Customer A # 20]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[60]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[390792D7B32D421AA3A1E0CE23008E5F]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B6AAC01328CCFFBF90242]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081328B6AAC01328CDC6C940271]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[0]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1DC2022E]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/19 # Customer A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[9EB3AC3722D94B2FA38C40050C059D29]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[391403667C0B4A7BAD34D66ECA7D23B8]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813285D49A01328603837E00CF]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF8080813285D49A0132860383A800D0]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[25.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[100.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400006 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6AE2A56E5413416490797BEF0C1B6B55]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[392416DC65804702800D5FAF4AC4C023]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813285D49A0132866BDE390275]]></RECORD_ID>
+  <LINE_ID><![CDATA[449594DFAA3B428FB479F3450F7D4E72]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[500.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[500.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/9 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[2CAB4F5934A341539C5083B2A0E64E2A]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3A5BCE43D1804755856105D7331E7C84]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813282F9FE01328304B1310056]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF8080813282F9FE013283037B220047]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[133.33]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[400.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[1000034 # Customer A (Invoice No.: I/3. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[817CFC4F8B90453A9F7EF529746A25EA]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3A5C6FF719964527A411D8609E2808AA]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[844BBD9E26AF43CAA098447DC024FCF4]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
+  <LINE_ID><![CDATA[34CF722BF16D48DBA17085E6B0F71E61]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[95.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[95.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/24 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[438. Anticipos de clientes]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3AA2846B81504F439921B30C8EF6D391]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081328B2FE901328B3AEAB90021]]></RECORD_ID>
+  <LINE_ID><![CDATA[42035534E06745B2956E0AF0B0D1EC6F]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[70.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[140.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/13 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[5ACE5208A7E249CC95767AA28EDCC0A9]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3AC1C1EBB05549A5BA921E9F78DD6FD4]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-10 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-10 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F3013290936CDE0115]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[60.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400028 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[249F3D4F69FE4B958D2D5607B1146032]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3AED3B4543A14AA79370DB6F94A149BD]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[F124662D57FD4126AE5AAE190029B7E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF808081329052F301329094992C0125]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF808081329052F30132909477D60122]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[15.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[15.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[1000046 # Customer A (Invoice No.: I/24. Order No.: 50002, 50003. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[DA426D5A5B6449208DE711D538D8E906]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[55500]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Partidas pendientes de aplicación]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3BF32C9FF7A74835A6650ADCEFF49370]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.798]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.798]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF8080813285D49A013286575B7A01FC]]></RECORD_ID>
+  <LINE_ID><![CDATA[FF8080813285D49A013286575B7A01FC]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[93.75]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[93.75]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/7. )]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[CE10D3485CC44BE5941A5D329AD00CF4]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3DEAAB37B0DE4736B5074D3D23E3FB77]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2013-07-04 23:38:17.798]]></CREATED>
+  <CREATEDBY><![CDATA[0]]></CREATEDBY>
+  <UPDATED><![CDATA[2013-07-04 23:38:17.798]]></UPDATED>
+  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[A01B5F7341074E6CA8D898E45FA2A3FC]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FF80808132916E850132917F2B1E0045]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE499009B]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
+  <QTY><![CDATA[0]]></QTY>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[700007 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[E0EF9C9F12FE4BDCB28B253AE01B91F7]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[999999]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[APP]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[40100]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Proveedores efectos comerciales a pagar]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE499009C]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[3F1B1C27A4E94CF693B7446406590DA2]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:51:33.404926]]></CREATED>
   <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-07-18 09:31:50.611064]]></UPDATED>
+  <UPDATED><![CDATA[2015-05-04 17:51:33.404926]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
   <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
@@ -3040,12 +4686,11 @@
   <AMTSOURCECR><![CDATA[6.00]]></AMTSOURCECR>
   <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
   <AMTACCTCR><![CDATA[6.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
   <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
   <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
   <DESCRIPTION><![CDATA[I/29 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[FEFB5A08E9354E08A6EE4FFB68C5BBA4]]></FACT_ACCT_GROUP_ID>
+  <FACT_ACCT_GROUP_ID><![CDATA[C0077C4234DA4D45B47A6A4FF74E88D1]]></FACT_ACCT_GROUP_ID>
   <SEQNO><![CDATA[30]]></SEQNO>
   <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
   <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
@@ -3056,1500 +4701,6 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[29B67156D8E145619E4263ECCEC8200E]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328B9A6E0A00F5]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B6AAC01328B9A6E1900F6]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[30.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[120.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400018 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[26DC15A1C9DA4A84A433DE3D07EFBD91]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[29C2C0BD13434B43BFECA1F32F02D33B]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-11-15 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-11-15 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[24C7CC41681547B9B596C2AE21A6F5D1]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[E785B796D7C149B6B7BB90D0539D4A99]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[46.95]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[46.95]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/26 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[DAD6F8A24BD0435FB4AC5213C79EAB9E]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[40]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2A0053AA792541E4ABDAB17799106187]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[627A1291274F4BCF838588BB2F2102AD]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290A360770158]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081329052F3013290A2C2050154]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[50.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[150.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[1000047 # Vendor A (Invoice No.: 10000000. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[78594D521CF044E6971A4079870FF826]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Petty Cash]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2A7FABC6ACE14C4A8B741C18F0582EA4]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[FB2A7CD68876462BAED0D3FB2840E182]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290CDB59701F7]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081329052F3013290CE0D9C01FA]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[10000004 # Vendor A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[B11A73DA44234448807564F85A54BB79]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[50]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[60000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Compras de mercaderías]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2B083884F14946759335A472C5FE3334]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328B9BD4A20103]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[70.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[280.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[1F82A4C09B154614A7A405B845CE1D74]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2B57DD4B9EBB463998AEE9553E38241D]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[F7B96292FB5842FBB51143BA659008B0]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF80808132916E85013291A601F000AB]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF80808132916E85013291A6611100AE]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[2.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[4.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[10000009 # Vendor A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[2F0EFE5F984C43E28A0E8DF4E27D7F05]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[40]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[51200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Service costs]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2D0875E8304D4F06B0FBFBA18BD83AC0]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.802]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.802]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[58D66F384F7549D995523BF116F29BA0]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813285D49A0132865AD6AA0227]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[500.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[500.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[E07F7151A957401BABC17FD35B41212F]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bank Account]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2D419A8B2A9E4FE8B26AACC137F7A026]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[3.33]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[3.33]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/19, I/20. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[1323859ECEAB4D21A13474AFC5AC17C4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2D6D7B2225ED4E80B96FAA77E040DD6D]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F301329081796600B9]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[2.50]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[2.50]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[3E685FE5078047C8A3F0A9BEBEC2AF02]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2DAC8999AC2D449B9269DB5E0A0AA059]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[9F9A969CBEAD4BDD9EAF08482015BE81]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328278B5013282AD04D40154]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328278B5013282AD04D40154]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[150.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[150.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/2. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[17B4391E9EF043CBBA24B2E38C4211A0]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[45200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bank revaluation gain]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2DCE9F2A192043C98B8C151BE2026847]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328278B5013282A3F67700C5]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328278B5013282A3D41800BD]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[100.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[1000032 # Customer A (Invoice No.: I/1. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[0975A691A0E841F29F91ADDF0004B398]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2DDD6C0200D6479EBF9EFBEF0B0EFC6E]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F301329062BBB9001A]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[15]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[15]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <DESCRIPTION><![CDATA[400022]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[3D1DD40156734CC7A07FF1EA64D3DD12]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2E1EB0237DE7476A88F5823626237D04]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[F124662D57FD4126AE5AAE190029B7E1]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-03 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-03 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813285D49A013286151FA40149]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[50.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[57418E6FF7A94C8CB1697CBE72BE65A4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[55500]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Partidas pendientes de aplicación]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2E63D7E6B1174D4B9DB3347CD5E85B10]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B0DAC01328B2C62EA0026]]></RECORD_ID>
-  <LINE_ID><![CDATA[60C30A4BC81F4FADA2462B74A699EE15]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[50.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/12 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[92F5A40087784B62B27A48A96D87716D]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2E99A6BACD8749C18DA084305FA55EC5]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[409E4A6BA98B46939206ACD79E56AE88]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B6AAC01328CE6618F02A0]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/19, I/20. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[1323859ECEAB4D21A13474AFC5AC17C4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[76800]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Diferencias positivas de cambio]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2EC8267C5DA0467591AB6A09F148063A]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[A01B5F7341074E6CA8D898E45FA2A3FC]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF80808132916E85013291814B8C0053]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Vendor A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[3A2FB39E81234E5C9CD4A995B2D2DC82]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[40100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Proveedores efectos comerciales a pagar]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2F2C0731B29148C8B888AF89BB148B26]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.801]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.801]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[F7B96292FB5842FBB51143BA659008B0]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF80808132916E850132917441200006]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF80808132916E850132917472BB0009]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[50.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1B800224]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[10000006 # Vendor A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[E82425EF3CDF466A951D9C96F5AF10D7]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[40]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[51200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Service costs]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2F9141144F4E4E14A1A0B440A6A10394]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F301329081793D00B8]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[100]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[33.33]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[3DB0A3DA14604256A4B4E5E2645EE0B5]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2FD1C5C911924ED384BBF67F235E755B]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[BA739BB5580D48479937D59E117740D7]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B2FE901328B5E71A300BC]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B2FE901328B5E71A300BC]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/14. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[4074839C87334717AA65ADB74883C9DB]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[69400]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Pérdidas por deterioro de créditos por operaciones comerciales]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[2FD5C5688AB4434DBE88C7E189C4950E]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[8128964F7A2B48DCBFE872560C78656D]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290671F680024]]></RECORD_ID>
-  <LINE_ID><![CDATA[CF664E4B0E104CC6BA0FA723F04C20FE]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[30.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[120.00]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/22 # Customer A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[13BCB15970E24B54B253314CE16BA798]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[60]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[41100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Sales]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3043978E1D424BAF8BE4F2B29A368EFA]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328CD02D2B0245]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B6AAC01328CD2B24B0253]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[20.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[20.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400019 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[2F18BFFAB9EF4BAEA52C6CCC02D96267]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3077A26C47C5470FA69D5B5F747ABA69]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290781A830072]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[15]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[15]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400025 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[D1E7FD925E784E668783D6C7AF740FCD]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[30A45C3C1E8945199B45CD4016DA5A3A]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-10 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-10 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290936CDE0115]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[15.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400028 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[867C7EE689CB444B8059A2355096F163]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[30C2C313E082447E93554D5911B165B8]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[B62D946707614D0CA810AAA7D6BF1342]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF80808132916E850132917D21000034]]></RECORD_ID>
-  <LINE_ID><![CDATA[7D659DA749094936AC46977FDAF521CF]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[10000007 # Vendor A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[D476C0F0C42644CBA6C4A1DF3603AD2D]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[40000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Proveedores (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[31A63523C1A44B5CB569BC4B7F106600]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[5E11536FF7E844878FE5031DD78AEA42]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813282F9FE013283022F3E0030]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[100.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[100.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400002 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[70BCEE7174854DE19D63F06A309ECCF6]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Efectos comerciales en cartera]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[31E395AB7B4D4DCF8B44E8A7199258F2]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[0B368586D94F4041A7B9D30EB0AE06E2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290A360770158]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081329052F3013290A2C2050154]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[50.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[50.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[1000047 # Vendor A (Invoice No.: 10000000. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[03479CCE870E49D8B367B111249EDABB]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[57200]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bancos e instituciones de crédito c/c vista euros]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[364BB08642C741EF8BC38FD57E933641]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.8]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.8]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
-  <LINE_ID><![CDATA[34CF722BF16D48DBA17085E6B0F71E61]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[15.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/24 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3670011384194A6E9D662F00BD30DFEE]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[627A1291274F4BCF838588BB2F2102AD]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813282F9FE013283218C4E00E2]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[100]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[400.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[400.01]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[10FAB21679A64C06B275EA57EE3F1BB3]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[30]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Petty Cash]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[36C6258E61574A90AC09989F00902B3D]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[B62D946707614D0CA810AAA7D6BF1342]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-02-01 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-02-01 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[3DF78385C9F54E4F913DEC4F13EDF54F]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290D2F413021A]]></RECORD_ID>
-  <LINE_ID><![CDATA[0288A339C475488BA8ED4901B21241A0]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[60.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[60.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[10000005 # Vendor A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[3C09851A77E648EA94B1939104A799F5]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[40000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Proveedores (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[37C9BA34E9834471BD8EC570A03104A1]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
-  <LINE_ID><![CDATA[7A1B2665F2714B108CB621847ED92713]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[40.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[40.00]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1DC2022E]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/24 # Customer A # 20]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[60]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[390792D7B32D421AA3A1E0CE23008E5F]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B6AAC01328CCFFBF90242]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081328B6AAC01328CDC6C940271]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1DC2022E]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/19 # Customer A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[9EB3AC3722D94B2FA38C40050C059D29]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[50]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[391403667C0B4A7BAD34D66ECA7D23B8]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813285D49A01328603837E00CF]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF8080813285D49A0132860383A800D0]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[25.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[100.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400006 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[6AE2A56E5413416490797BEF0C1B6B55]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[392416DC65804702800D5FAF4AC4C023]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813285D49A0132866BDE390275]]></RECORD_ID>
-  <LINE_ID><![CDATA[449594DFAA3B428FB479F3450F7D4E72]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[500.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[500.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/9 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[2CAB4F5934A341539C5083B2A0E64E2A]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3A5BCE43D1804755856105D7331E7C84]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813282F9FE01328304B1310056]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF8080813282F9FE013283037B220047]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[133.33]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[400.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[1000034 # Customer A (Invoice No.: I/3. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[817CFC4F8B90453A9F7EF529746A25EA]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3A5C6FF719964527A411D8609E2808AA]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[844BBD9E26AF43CAA098447DC024FCF4]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F30132909220150100]]></RECORD_ID>
-  <LINE_ID><![CDATA[34CF722BF16D48DBA17085E6B0F71E61]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[95.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[95.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/24 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[F71CB5856B654150AA8ACD3B567D7695]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43800]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[438. Anticipos de clientes]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3AA2846B81504F439921B30C8EF6D391]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[4DD38ACC17A04F4DA9B1DC6176496B72]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-01-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-01-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[772776BF90904E2AA092F72758A2E72C]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081328B2FE901328B3AEAB90021]]></RECORD_ID>
-  <LINE_ID><![CDATA[42035534E06745B2956E0AF0B0D1EC6F]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[70.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[140.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[D813361481FE4B868E5289F499CC2A4A]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/13 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[5ACE5208A7E249CC95767AA28EDCC0A9]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11400]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Accounts receivable]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3AC1C1EBB05549A5BA921E9F78DD6FD4]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[1D3E0B0C7BC944EEB5D40680C174868C]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-10 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-10 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F3013290936CDE0115]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[15.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[60.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[400028 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[249F3D4F69FE4B958D2D5607B1146032]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[11300]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Bank in transit]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3AED3B4543A14AA79370DB6F94A149BD]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.799]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.799]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[F124662D57FD4126AE5AAE190029B7E1]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-04 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF808081329052F301329094992C0125]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF808081329052F30132909477D60122]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[15.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[15.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[1000046 # Customer A (Invoice No.: I/24. Order No.: 50002, 50003. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[DA426D5A5B6449208DE711D538D8E906]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[REC]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[55500]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Partidas pendientes de aplicación]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000D0]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3BF32C9FF7A74835A6650ADCEFF49370]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.798]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.798]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-07-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-07-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[7FF0CD39359644E3BAF08C448AF3166A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF8080813285D49A013286575B7A01FC]]></RECORD_ID>
-  <LINE_ID><![CDATA[FF8080813285D49A013286575B7A01FC]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B6528F000CF]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[93.75]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[93.75]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[ # Customer A (Invoice No.: I/7. )]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[CE10D3485CC44BE5941A5D329AD00CF4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[20]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[FAT]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[3DEAAB37B0DE4736B5074D3D23E3FB77]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:17.798]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.798]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[A01B5F7341074E6CA8D898E45FA2A3FC]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2011-04-02 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2011-04-02 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[5895BB41E1C64A6E8AA9DC18B0E5DE73]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[FF80808132916E850132917F2B1E0045]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE499009B]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[10.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[10.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
-  <DESCRIPTION><![CDATA[700007 # Vendor A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[E0EF9C9F12FE4BDCB28B253AE01B91F7]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[999999]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[APP]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[40100]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Proveedores efectos comerciales a pagar]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE499009C]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[3FA9FB84435442F090BF5B5FF4E5BDA7]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -5324,6 +5475,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[4A4B7C1F2F064D1B8DD85A10B8FD0E86]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[9D63B01A0359422185545CB7713652DC]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <LINE_ID><![CDATA[8EE64FF5439545BF90580DE6EE8C0FB8]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[5.50]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[11.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6AC182E9F3624797BA4ECE15CFC84FAC]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[40700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Anticipos a proveedores]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[4A596FF4CDAF4D17A903EE5AD4986B5A]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -6050,6 +6239,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[51EAA8C0D44945569DF7BFF8233B16E4]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:51:33.404926]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:51:33.404926]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[1.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[1.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/29 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[C0077C4234DA4D45B47A6A4FF74E88D1]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[51F543D652614B02AF3D51B4DC95403B]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -6353,6 +6580,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[543FA96673F54071962EED78C5758BD9]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[432EAC71E1B8451E97C7F54718C4A06B]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[40285C81312D85B901312DBB9BB40096]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <LINE_ID><![CDATA[8EE64FF5439545BF90580DE6EE8C0FB8]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[5.50]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[16.50]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[8B1990C104384BD18C2956AC5B78B2E0]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[1410]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Vendor prepayment]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[5469EDB89F874D04A430A0FBDB5DB274]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -7064,6 +7329,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[5A7901A67ACF4A62A0AE9ECCE886B550]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:57:01.076597]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:57:01.076597]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[691E5C50BB4549AE81AE43F74AFD6956]]></RECORD_ID>
+  <LINE_ID><![CDATA[B690467C6E4443E2BDC461E936DFE6E1]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[1300.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[1300.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[100]]></C_UOM_ID>
+  <QTY><![CDATA[1]]></QTY>
+  <M_PRODUCT_ID><![CDATA[901CAFF074954746970719E6A2910638]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/31 # Customer A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3E2FF0BE7D4E4C8081250CA4380A5884]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[5BA79CC924974047804CED8B028B912B]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -7786,6 +8092,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[63251BA6F41D48AD84D0489D87247713]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 18:02:31.84111]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 18:02:31.84111]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[D04185C47CCA43B1A59DF318A6921E2B]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-04 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-04 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[F5D55960B2704B86903740BF35779DB6]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[5A74E390B82747F9A5754C8EB1BDB47A]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[10.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[35AA42D0CD98418C8AC55212816FFBEC]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA soportado]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[643F5D62F40E4D238B6FF0AFFE9B2621]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -8345,6 +8689,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[68D2F86C5D67404FA784E985AD3736A1]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:51:33.404926]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:51:33.404926]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
+  <LINE_ID><![CDATA[72194838240944E49AC05FFF8BC5D1E8]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[207.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[207.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/29 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[C0077C4234DA4D45B47A6A4FF74E88D1]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[694E84D4A952462CBF560FB443F39E35]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -8844,45 +9226,6 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[7194164936E944ED9BBBF65FFD7DF760]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2014-07-18 09:31:50.611064]]></CREATED>
-  <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-07-18 09:31:50.611064]]></UPDATED>
-  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
-  <LINE_ID><![CDATA[72194838240944E49AC05FFF8BC5D1E8]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[207.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[207.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/29 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[FEFB5A08E9354E08A6EE4FFB68C5BBA4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[10]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[727EBB609E0C4ACAADDC3ECA1B15A87B]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -11963,6 +12306,45 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[8F195B924CE04B3687D0999BCFDD8245]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:28:54.525255]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:54.525255]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></RECORD_ID>
+  <LINE_ID><![CDATA[9E1FD49466E3411BBE32E98BC7DEF048]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[310.50]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[310.50]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[Issue 29505 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6B4A7678C2F341608DD1063C427068B8]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <RECORD_ID2><![CDATA[9E1FD49466E3411BBE32E98BC7DEF048]]></RECORD_ID2>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[8FB098DCD5A540109C76654067746C0C]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -12378,47 +12760,6 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[9641938889D54CD2861D519A55389E64]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2014-07-18 09:31:50.611064]]></CREATED>
-  <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-07-18 09:31:50.611064]]></UPDATED>
-  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
-  <LINE_ID><![CDATA[9339DFA938F041DA943D070AB530032A]]></LINE_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[200.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[200.00]]></AMTACCTCR>
-  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTY><![CDATA[0]]></QTY>
-  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/29 # Customer A # 10]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[FEFB5A08E9354E08A6EE4FFB68C5BBA4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[50]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[96B8BA9EAE3A410995F3D742653BF3B6]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -14079,45 +14420,6 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
-  <FACT_ACCT_ID><![CDATA[A69AB53CFA8E4C099729C1DB4056B849]]></FACT_ACCT_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2014-07-18 09:31:50.611064]]></CREATED>
-  <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-07-18 09:31:50.611064]]></UPDATED>
-  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
-  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
-  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
-  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
-  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
-  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
-  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
-  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
-  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
-  <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
-  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
-  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
-  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
-  <AMTSOURCECR><![CDATA[1.00]]></AMTSOURCECR>
-  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
-  <AMTACCTCR><![CDATA[1.00]]></AMTACCTCR>
-  <QTY><![CDATA[0]]></QTY>
-  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
-  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
-  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
-  <DESCRIPTION><![CDATA[I/29 # Customer A]]></DESCRIPTION>
-  <FACT_ACCT_GROUP_ID><![CDATA[FEFB5A08E9354E08A6EE4FFB68C5BBA4]]></FACT_ACCT_GROUP_ID>
-  <SEQNO><![CDATA[40]]></SEQNO>
-  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
-  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
-  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
-  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
-  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
-  <ISMODIFY><![CDATA[N]]></ISMODIFY>
-</FACT_ACCT>
-
-<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[A6C76E8DE30447D4B246BDE2907FDE86]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -14540,6 +14842,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[AA1E640B60874FADAC7B17CA40CEA0A3]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:51:33.404926]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:51:33.404926]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-07-18 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-07-18 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[F4C7561D2BD84B43A663866036141A0A]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[66AE9202889D47DE910DECD72A427DAC]]></RECORD_ID>
+  <LINE_ID><![CDATA[9339DFA938F041DA943D070AB530032A]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[200.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[200.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[100]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/29 # Customer A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[C0077C4234DA4D45B47A6A4FF74E88D1]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[AA53C8558BD24D44A2DFE8DB88390950]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -14732,6 +15075,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[AB77BF66A82D434783562511433745E2]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:57:01.076597]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:57:01.076597]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[691E5C50BB4549AE81AE43F74AFD6956]]></RECORD_ID>
+  <LINE_ID><![CDATA[AEBA740488CB4203A3A6985E52CCAE09]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[1300.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[1300.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[100]]></C_UOM_ID>
+  <QTY><![CDATA[1]]></QTY>
+  <M_PRODUCT_ID><![CDATA[901CAFF074954746970719E6A2910638]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/31 # Customer A # 20]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3E2FF0BE7D4E4C8081250CA4380A5884]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[ABD33E17BBA142B2B634F9CC17384F83]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -15332,6 +15716,42 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[B33207495D1147ABBC190FDECC51B160]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:21:49.845042]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:21:49.845042]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FB0FEBE5AF564EBDAACB5094BF014836]]></RECORD_ID>
+  <LINE_ID><![CDATA[405F2898405D447BBB562F2C3DDD32B6]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[1893.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[1893.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400033 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[32E04A071F9A4A6C9EF3A7D67AA1E6F5]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[20]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[B337BD9CCD6041D0ADE5940C37796AC5]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -17002,6 +17422,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[C262EB671E704A5495A575932F5F4BCB]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 17:57:01.076597]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 17:57:01.076597]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[44D112E5F0CF4D1B8D4652EE282076F2]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[691E5C50BB4549AE81AE43F74AFD6956]]></RECORD_ID>
+  <LINE_ID><![CDATA[8D9C38332E334FCEB127D168FC2E2F5E]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[2860.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[2860.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[I/31 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[3E2FF0BE7D4E4C8081250CA4380A5884]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[10]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Clientes (euros)]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[C2B546E4507C428B9C217DFE6D85D1FA]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -18756,6 +19214,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[DADF33A68E8F43ADBA136E2C851CCD38]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:28:54.525255]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:54.525255]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[861F04DD57084B9882064312E7AC1EEF]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></RECORD_ID>
+  <LINE_ID><![CDATA[947514B8EF0A482FAF05AB0BD226A22E]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[300.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[300.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[150]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC1D07022A]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[Issue 29505 # Customer A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6B4A7678C2F341608DD1063C427068B8]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[70000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Ventas de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[DAE21308A31F4455A25337845E363DFD]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -18910,6 +19409,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[DC3247DACBFC485681EEF986072BF2C5]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[D04185C47CCA43B1A59DF318A6921E2B]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[BFD013B889E14A20A37180311E557D04]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.50]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[1.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6AC182E9F3624797BA4ECE15CFC84FAC]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[50]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA soportado]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[DC4D01873DD9445EB9ABBA942893D468]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -20021,6 +20558,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[E8E9838734B4453B946D03151ADD3084]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:28:54.525255]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:54.525255]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[5690F12F2C934F5384FA94F063F63C5F]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[1.50]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[1.50]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[Issue 29505 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6B4A7678C2F341608DD1063C427068B8]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[E9C58B25774740648AD8B4091B9276D8]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -20167,6 +20742,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[EB8DE84483B642B582CB760689CA0226]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-04 18:02:31.84111]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-04 18:02:31.84111]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[D04185C47CCA43B1A59DF318A6921E2B]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-04 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-04 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[F5D55960B2704B86903740BF35779DB6]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[F9D9AF81F4FA459C9CE7A2D9697DF1E4]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[-10.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[-10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[35AA42D0CD98418C8AC55212816FFBEC]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47200]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA soportado]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[EBDAAC1B1BE94FF4BC928424B524F1BD]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -20796,6 +21409,47 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[F2A638DE2C2C49D0A20E167E1F461974]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:40.761244]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:40.761244]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[FB2A7CD68876462BAED0D3FB2840E182]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></RECORD_ID>
+  <LINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></LINE_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520071]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[5.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[10.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTY><![CDATA[1.00]]></QTY>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[4028E6C72959682B01295F40C14A02E4]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[10000018 # Vendor A # 10]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6AC182E9F3624797BA4ECE15CFC84FAC]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[60]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[API]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[60000]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Compras de mercaderías]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF520075]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[F3309EDBD1A34F13BB9A382570501AEC]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -21435,6 +22089,41 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[F9BEA5A6C1EE4814AA90E3CCD1215466]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:21:49.845042]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:21:49.845042]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[844BBD9E26AF43CAA098447DC024FCF4]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2014-12-25 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2014-12-25 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[C5C17775924B40FD810BC4DD2859B303]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[D1A97202E832470285C9B1EB026D54E2]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[FB0FEBE5AF564EBDAACB5094BF014836]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970092]]></GL_CATEGORY_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[1793.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[0.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[1793.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[0.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DESCRIPTION><![CDATA[400033 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[32E04A071F9A4A6C9EF3A7D67AA1E6F5]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[40]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARR]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[43800]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[438. Anticipos de clientes]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[FA0AE553EA694E98BF1C8759A6CA986A]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -21695,6 +22384,44 @@
 </FACT_ACCT>
 
 <FACT_ACCT>
+  <FACT_ACCT_ID><![CDATA[FC7E4631AA9F4019A8CB32EDF50E698D]]></FACT_ACCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 19:28:54.525255]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:54.525255]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ACCTSCHEMA_ID><![CDATA[9A68A0F8D72D4580B3EC3CAA00A5E1F0]]></C_ACCTSCHEMA_ID>
+  <ACCOUNT_ID><![CDATA[3544375BB8414739B93813F54246B2E1]]></ACCOUNT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_PERIOD_ID><![CDATA[CE39E778B99D4063A1029A476F4CC4B3]]></C_PERIOD_ID>
+  <AD_TABLE_ID><![CDATA[318]]></AD_TABLE_ID>
+  <RECORD_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></RECORD_ID>
+  <GL_CATEGORY_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF490047]]></GL_CATEGORY_ID>
+  <C_TAX_ID><![CDATA[667A8194F0264B0AAA997B8B51F72024]]></C_TAX_ID>
+  <POSTINGTYPE><![CDATA[A]]></POSTINGTYPE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMTSOURCEDR><![CDATA[0.00]]></AMTSOURCEDR>
+  <AMTSOURCECR><![CDATA[9.00]]></AMTSOURCECR>
+  <AMTACCTDR><![CDATA[0.00]]></AMTACCTDR>
+  <AMTACCTCR><![CDATA[9.00]]></AMTACCTCR>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <C_LOCFROM_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCFROM_ID>
+  <C_LOCTO_ID><![CDATA[0512922BF1A549F79C692957FD9B345B]]></C_LOCTO_ID>
+  <DESCRIPTION><![CDATA[Issue 29505 # Customer A]]></DESCRIPTION>
+  <FACT_ACCT_GROUP_ID><![CDATA[6B4A7678C2F341608DD1063C427068B8]]></FACT_ACCT_GROUP_ID>
+  <SEQNO><![CDATA[30]]></SEQNO>
+  <FACTACCTTYPE><![CDATA[N]]></FACTACCTTYPE>
+  <DOCBASETYPE><![CDATA[ARI]]></DOCBASETYPE>
+  <ACCTVALUE><![CDATA[47700]]></ACCTVALUE>
+  <ACCTDESCRIPTION><![CDATA[Hacienda Pública IVA repercutido]]></ACCTDESCRIPTION>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF4B0050]]></C_DOCTYPE_ID>
+  <ISMODIFY><![CDATA[N]]></ISMODIFY>
+</FACT_ACCT>
+
+<FACT_ACCT>
   <FACT_ACCT_ID><![CDATA[FCB7BECB292743B983D6B46734539DB7]]></FACT_ACCT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_FINACC_PAYMENTMETHOD.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_FINACC_PAYMENTMETHOD.xml	Tue May 12 17:53:41 2015 +0200
@@ -493,6 +493,36 @@
 </FIN_FINACC_PAYMENTMETHOD>
 
 <FIN_FINACC_PAYMENTMETHOD>
+  <FIN_FINACC_PAYMENTMETHOD_ID><![CDATA[83A43FD1853443DB81184E735AC1C19F]]></FIN_FINACC_PAYMENTMETHOD_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:29:19.893]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:29:19.893]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <FIN_FINANCIAL_ACCOUNT_ID><![CDATA[87BD9D99562C49CEA7C1BE3603BC06A4]]></FIN_FINANCIAL_ACCOUNT_ID>
+  <AUTOMATIC_RECEIPT><![CDATA[N]]></AUTOMATIC_RECEIPT>
+  <AUTOMATIC_PAYMENT><![CDATA[N]]></AUTOMATIC_PAYMENT>
+  <AUTOMATIC_DEPOSIT><![CDATA[N]]></AUTOMATIC_DEPOSIT>
+  <AUTOMATIC_WITHDRAWN><![CDATA[N]]></AUTOMATIC_WITHDRAWN>
+  <PAYIN_ALLOW><![CDATA[Y]]></PAYIN_ALLOW>
+  <PAYOUT_ALLOW><![CDATA[Y]]></PAYOUT_ALLOW>
+  <PAYIN_EXECUTION_TYPE><![CDATA[M]]></PAYIN_EXECUTION_TYPE>
+  <PAYOUT_EXECUTION_TYPE><![CDATA[M]]></PAYOUT_EXECUTION_TYPE>
+  <PAYIN_DEFERRED><![CDATA[N]]></PAYIN_DEFERRED>
+  <PAYOUT_DEFERRED><![CDATA[N]]></PAYOUT_DEFERRED>
+  <INUPONCLEARINGUSE><![CDATA[CLE]]></INUPONCLEARINGUSE>
+  <OUTUPONCLEARINGUSE><![CDATA[CLE]]></OUTUPONCLEARINGUSE>
+  <PAYIN_ISMULTICURRENCY><![CDATA[Y]]></PAYIN_ISMULTICURRENCY>
+  <PAYOUT_ISMULTICURRENCY><![CDATA[Y]]></PAYOUT_ISMULTICURRENCY>
+  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+  <PAYIN_INVOICEPAIDSTATUS><![CDATA[RPR]]></PAYIN_INVOICEPAIDSTATUS>
+  <PAYOUT_INVOICEPAIDSTATUS><![CDATA[PPM]]></PAYOUT_INVOICEPAIDSTATUS>
+</FIN_FINACC_PAYMENTMETHOD>
+
+<FIN_FINACC_PAYMENTMETHOD>
   <FIN_FINACC_PAYMENTMETHOD_ID><![CDATA[95CC806FE55C4E98B23C04A307A08594]]></FIN_FINACC_PAYMENTMETHOD_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_PAYMENT.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_PAYMENT.xml	Tue May 12 17:53:41 2015 +0200
@@ -38,6 +38,44 @@
 </FIN_PAYMENT>
 
 <FIN_PAYMENT>
+  <FIN_PAYMENT_ID><![CDATA[29C5555C57A64058B2D77845E9B4D5D7]]></FIN_PAYMENT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:27:56.76]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:19.999]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <ISRECEIPT><![CDATA[Y]]></ISRECEIPT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <PAYMENTDATE><![CDATA[2015-05-05 00:00:00.0]]></PAYMENTDATE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[310.5]]></AMOUNT>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[42E87E97974E4B35849A430B8F6F2884]]></FIN_PAYMENTMETHOD_ID>
+  <DOCUMENTNO><![CDATA[Issue 29505 (C)]]></DOCUMENTNO>
+  <REFERENCENO><![CDATA[]]></REFERENCENO>
+  <STATUS><![CDATA[RPVOID]]></STATUS>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <POSTED><![CDATA[N]]></POSTED>
+  <DESCRIPTION><![CDATA[Invoice No.: Issue 29505
+]]></DESCRIPTION>
+  <FIN_FINANCIAL_ACCOUNT_ID><![CDATA[0D0000E0A27040E383D5B03755249B61]]></FIN_FINANCIAL_ACCOUNT_ID>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <GENERATED_CREDIT><![CDATA[0]]></GENERATED_CREDIT>
+  <USED_CREDIT><![CDATA[0]]></USED_CREDIT>
+  <CREATEDBYALGORITHM><![CDATA[N]]></CREATEDBYALGORITHM>
+  <FINACC_TXN_CONVERT_RATE><![CDATA[1]]></FINACC_TXN_CONVERT_RATE>
+  <FINACC_TXN_AMOUNT><![CDATA[310.5]]></FINACC_TXN_AMOUNT>
+  <EM_APRM_PROCESS_PAYMENT><![CDATA[RE]]></EM_APRM_PROCESS_PAYMENT>
+  <EM_APRM_RECONCILE_PAYMENT><![CDATA[N]]></EM_APRM_RECONCILE_PAYMENT>
+  <EM_APRM_ADD_SCHEDULEDPAYMENTS><![CDATA[N]]></EM_APRM_ADD_SCHEDULEDPAYMENTS>
+  <EM_APRM_EXECUTEPAYMENT><![CDATA[N]]></EM_APRM_EXECUTEPAYMENT>
+  <EM_APRM_REVERSEPAYMENT><![CDATA[N]]></EM_APRM_REVERSEPAYMENT>
+</FIN_PAYMENT>
+
+<FIN_PAYMENT>
   <FIN_PAYMENT_ID><![CDATA[6E34BC78EBE640A8A646886D8740B983]]></FIN_PAYMENT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -78,6 +116,44 @@
 </FIN_PAYMENT>
 
 <FIN_PAYMENT>
+  <FIN_PAYMENT_ID><![CDATA[76A7F98F6EEF4A76AB2970351F7CC783]]></FIN_PAYMENT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:28:48.566]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:48.615]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <ISRECEIPT><![CDATA[Y]]></ISRECEIPT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <PAYMENTDATE><![CDATA[2015-05-05 00:00:00.0]]></PAYMENTDATE>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[310.5]]></AMOUNT>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[42E87E97974E4B35849A430B8F6F2884]]></FIN_PAYMENTMETHOD_ID>
+  <DOCUMENTNO><![CDATA[Issue 29505]]></DOCUMENTNO>
+  <REFERENCENO><![CDATA[]]></REFERENCENO>
+  <STATUS><![CDATA[RPR]]></STATUS>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <POSTED><![CDATA[N]]></POSTED>
+  <DESCRIPTION><![CDATA[Invoice No.: Issue 29505
+]]></DESCRIPTION>
+  <FIN_FINANCIAL_ACCOUNT_ID><![CDATA[0D0000E0A27040E383D5B03755249B61]]></FIN_FINANCIAL_ACCOUNT_ID>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE4970093]]></C_DOCTYPE_ID>
+  <GENERATED_CREDIT><![CDATA[0]]></GENERATED_CREDIT>
+  <USED_CREDIT><![CDATA[0]]></USED_CREDIT>
+  <CREATEDBYALGORITHM><![CDATA[N]]></CREATEDBYALGORITHM>
+  <FINACC_TXN_CONVERT_RATE><![CDATA[1]]></FINACC_TXN_CONVERT_RATE>
+  <FINACC_TXN_AMOUNT><![CDATA[310.5]]></FINACC_TXN_AMOUNT>
+  <EM_APRM_PROCESS_PAYMENT><![CDATA[RE]]></EM_APRM_PROCESS_PAYMENT>
+  <EM_APRM_RECONCILE_PAYMENT><![CDATA[N]]></EM_APRM_RECONCILE_PAYMENT>
+  <EM_APRM_ADD_SCHEDULEDPAYMENTS><![CDATA[N]]></EM_APRM_ADD_SCHEDULEDPAYMENTS>
+  <EM_APRM_EXECUTEPAYMENT><![CDATA[N]]></EM_APRM_EXECUTEPAYMENT>
+  <EM_APRM_REVERSEPAYMENT><![CDATA[N]]></EM_APRM_REVERSEPAYMENT>
+</FIN_PAYMENT>
+
+<FIN_PAYMENT>
   <FIN_PAYMENT_ID><![CDATA[79CBEF7753D54B7F9E26C5DC4641BA35]]></FIN_PAYMENT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -113,6 +189,44 @@
 </FIN_PAYMENT>
 
 <FIN_PAYMENT>
+  <FIN_PAYMENT_ID><![CDATA[A89AF1465D29428288FBCBA5C9A2E382]]></FIN_PAYMENT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:31:34.762]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:31:49.239158]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <ISRECEIPT><![CDATA[N]]></ISRECEIPT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <PAYMENTDATE><![CDATA[2015-05-05 00:00:00.0]]></PAYMENTDATE>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[5.5]]></AMOUNT>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <DOCUMENTNO><![CDATA[Issue 29403]]></DOCUMENTNO>
+  <REFERENCENO><![CDATA[]]></REFERENCENO>
+  <STATUS><![CDATA[PPM]]></STATUS>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <POSTED><![CDATA[D]]></POSTED>
+  <DESCRIPTION><![CDATA[Order No.: Issue 29403
+]]></DESCRIPTION>
+  <FIN_FINANCIAL_ACCOUNT_ID><![CDATA[87BD9D99562C49CEA7C1BE3603BC06A4]]></FIN_FINANCIAL_ACCOUNT_ID>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BE499009C]]></C_DOCTYPE_ID>
+  <GENERATED_CREDIT><![CDATA[0]]></GENERATED_CREDIT>
+  <USED_CREDIT><![CDATA[0]]></USED_CREDIT>
+  <CREATEDBYALGORITHM><![CDATA[N]]></CREATEDBYALGORITHM>
+  <FINACC_TXN_CONVERT_RATE><![CDATA[3]]></FINACC_TXN_CONVERT_RATE>
+  <FINACC_TXN_AMOUNT><![CDATA[16.5]]></FINACC_TXN_AMOUNT>
+  <EM_APRM_PROCESS_PAYMENT><![CDATA[RE]]></EM_APRM_PROCESS_PAYMENT>
+  <EM_APRM_RECONCILE_PAYMENT><![CDATA[N]]></EM_APRM_RECONCILE_PAYMENT>
+  <EM_APRM_ADD_SCHEDULEDPAYMENTS><![CDATA[N]]></EM_APRM_ADD_SCHEDULEDPAYMENTS>
+  <EM_APRM_EXECUTEPAYMENT><![CDATA[N]]></EM_APRM_EXECUTEPAYMENT>
+  <EM_APRM_REVERSEPAYMENT><![CDATA[N]]></EM_APRM_REVERSEPAYMENT>
+</FIN_PAYMENT>
+
+<FIN_PAYMENT>
   <FIN_PAYMENT_ID><![CDATA[B6B4B58B4F0B4770AF5524A0F4C5B761]]></FIN_PAYMENT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -268,7 +382,7 @@
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
   <CREATED><![CDATA[2014-12-25 18:45:15.436]]></CREATED>
   <CREATEDBY><![CDATA[100]]></CREATEDBY>
-  <UPDATED><![CDATA[2014-12-25 18:45:15.633]]></UPDATED>
+  <UPDATED><![CDATA[2015-05-05 17:21:49.859458]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <ISRECEIPT><![CDATA[Y]]></ISRECEIPT>
@@ -283,7 +397,7 @@
   <STATUS><![CDATA[RPR]]></STATUS>
   <PROCESSED><![CDATA[Y]]></PROCESSED>
   <PROCESSING><![CDATA[N]]></PROCESSING>
-  <POSTED><![CDATA[N]]></POSTED>
+  <POSTED><![CDATA[Y]]></POSTED>
   <DESCRIPTION><![CDATA[Invoice No.: I/31
 ]]></DESCRIPTION>
   <FIN_FINANCIAL_ACCOUNT_ID><![CDATA[0D0000E0A27040E383D5B03755249B61]]></FIN_FINANCIAL_ACCOUNT_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_PAYMENTMETHOD.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_PAYMENTMETHOD.xml	Tue May 12 17:53:41 2015 +0200
@@ -256,6 +256,32 @@
 </FIN_PAYMENTMETHOD>
 
 <FIN_PAYMENTMETHOD>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:29:07.243]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:29:07.243]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <NAME><![CDATA[In other currency]]></NAME>
+  <AUTOMATIC_RECEIPT><![CDATA[N]]></AUTOMATIC_RECEIPT>
+  <AUTOMATIC_PAYMENT><![CDATA[N]]></AUTOMATIC_PAYMENT>
+  <AUTOMATIC_DEPOSIT><![CDATA[N]]></AUTOMATIC_DEPOSIT>
+  <AUTOMATIC_WITHDRAWN><![CDATA[N]]></AUTOMATIC_WITHDRAWN>
+  <PAYIN_ALLOW><![CDATA[Y]]></PAYIN_ALLOW>
+  <PAYOUT_ALLOW><![CDATA[Y]]></PAYOUT_ALLOW>
+  <PAYIN_EXECUTION_TYPE><![CDATA[M]]></PAYIN_EXECUTION_TYPE>
+  <PAYOUT_EXECUTION_TYPE><![CDATA[M]]></PAYOUT_EXECUTION_TYPE>
+  <PAYIN_DEFERRED><![CDATA[N]]></PAYIN_DEFERRED>
+  <PAYOUT_DEFERRED><![CDATA[N]]></PAYOUT_DEFERRED>
+  <INUPONCLEARINGUSE><![CDATA[CLE]]></INUPONCLEARINGUSE>
+  <OUTUPONCLEARINGUSE><![CDATA[CLE]]></OUTUPONCLEARINGUSE>
+  <PAYIN_ISMULTICURRENCY><![CDATA[Y]]></PAYIN_ISMULTICURRENCY>
+  <PAYOUT_ISMULTICURRENCY><![CDATA[Y]]></PAYOUT_ISMULTICURRENCY>
+</FIN_PAYMENTMETHOD>
+
+<FIN_PAYMENTMETHOD>
   <FIN_PAYMENTMETHOD_ID><![CDATA[95BB15D99BED4101BA85A625966862BE]]></FIN_PAYMENTMETHOD_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_PAYMENT_DETAIL.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_PAYMENT_DETAIL.xml	Tue May 12 17:53:41 2015 +0200
@@ -17,6 +17,22 @@
 </FIN_PAYMENT_DETAIL>
 
 <FIN_PAYMENT_DETAIL>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[494F0F515B3F4544A51AC60A92A1E02C]]></FIN_PAYMENT_DETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:28:48.569]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:48.569]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_ID><![CDATA[76A7F98F6EEF4A76AB2970351F7CC783]]></FIN_PAYMENT_ID>
+  <AMOUNT><![CDATA[310.50]]></AMOUNT>
+  <REFUND><![CDATA[N]]></REFUND>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0.00]]></WRITEOFFAMT>
+  <ISPREPAYMENT><![CDATA[N]]></ISPREPAYMENT>
+</FIN_PAYMENT_DETAIL>
+
+<FIN_PAYMENT_DETAIL>
   <FIN_PAYMENT_DETAIL_ID><![CDATA[4ED140FBD34B4A2F84D57C0290693137]]></FIN_PAYMENT_DETAIL_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -65,6 +81,38 @@
 </FIN_PAYMENT_DETAIL>
 
 <FIN_PAYMENT_DETAIL>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[DAACF7D26EB341D3A55D86E797B37BD3]]></FIN_PAYMENT_DETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:31:34.769]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:31:34.769]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_ID><![CDATA[A89AF1465D29428288FBCBA5C9A2E382]]></FIN_PAYMENT_ID>
+  <AMOUNT><![CDATA[5.50]]></AMOUNT>
+  <REFUND><![CDATA[N]]></REFUND>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0.00]]></WRITEOFFAMT>
+  <ISPREPAYMENT><![CDATA[Y]]></ISPREPAYMENT>
+</FIN_PAYMENT_DETAIL>
+
+<FIN_PAYMENT_DETAIL>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[DC83BBF9423C40ABB845CF7005B2AF61]]></FIN_PAYMENT_DETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:27:56.766]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:27:56.766]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_ID><![CDATA[29C5555C57A64058B2D77845E9B4D5D7]]></FIN_PAYMENT_ID>
+  <AMOUNT><![CDATA[310.50]]></AMOUNT>
+  <REFUND><![CDATA[N]]></REFUND>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0.00]]></WRITEOFFAMT>
+  <ISPREPAYMENT><![CDATA[N]]></ISPREPAYMENT>
+</FIN_PAYMENT_DETAIL>
+
+<FIN_PAYMENT_DETAIL>
   <FIN_PAYMENT_DETAIL_ID><![CDATA[E1F4EC238A5545AF86ACF46927CFAA49]]></FIN_PAYMENT_DETAIL_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml	Tue May 12 17:53:41 2015 +0200
@@ -991,6 +991,28 @@
 </FIN_PAYMENT_SCHEDULE>
 
 <FIN_PAYMENT_SCHEDULE>
+  <FIN_PAYMENT_SCHEDULE_ID><![CDATA[854F48E776F34FA7B9EFB3972A37ECF4]]></FIN_PAYMENT_SCHEDULE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:33:30.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_INVOICE_ID><![CDATA[E6C9AAC2D2384521AFD4716CE970587C]]></C_INVOICE_ID>
+  <DUEDATE><![CDATA[2015-08-03 00:00:00.0]]></DUEDATE>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[5.50]]></AMOUNT>
+  <PAIDAMT><![CDATA[5.50]]></PAIDAMT>
+  <OUTSTANDINGAMT><![CDATA[0.00]]></OUTSTANDINGAMT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <UPDATE_PAYMENT_PLAN><![CDATA[Y]]></UPDATE_PAYMENT_PLAN>
+  <EXPECTEDDATE><![CDATA[2015-08-03 00:00:00.0]]></EXPECTEDDATE>
+  <EM_APRM_MODIF_PAYM_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_SCHED>
+  <EM_APRM_MODIF_PAYM_OUT_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_OUT_SCHED>
+</FIN_PAYMENT_SCHEDULE>
+
+<FIN_PAYMENT_SCHEDULE>
   <FIN_PAYMENT_SCHEDULE_ID><![CDATA[8649BD5827854037A2F0DC36E2F85545]]></FIN_PAYMENT_SCHEDULE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
@@ -1035,6 +1057,28 @@
 </FIN_PAYMENT_SCHEDULE>
 
 <FIN_PAYMENT_SCHEDULE>
+  <FIN_PAYMENT_SCHEDULE_ID><![CDATA[8EE64FF5439545BF90580DE6EE8C0FB8]]></FIN_PAYMENT_SCHEDULE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:30:48.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:31:34.808]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <DUEDATE><![CDATA[2015-05-05 00:00:00.0]]></DUEDATE>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[887E6A4CE9AC45B681B8E5A2882ABFB1]]></FIN_PAYMENTMETHOD_ID>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[5.50]]></AMOUNT>
+  <PAIDAMT><![CDATA[5.50]]></PAIDAMT>
+  <OUTSTANDINGAMT><![CDATA[0.00]]></OUTSTANDINGAMT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <UPDATE_PAYMENT_PLAN><![CDATA[Y]]></UPDATE_PAYMENT_PLAN>
+  <EXPECTEDDATE><![CDATA[2015-05-05 00:00:00.0]]></EXPECTEDDATE>
+  <EM_APRM_MODIF_PAYM_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_SCHED>
+  <EM_APRM_MODIF_PAYM_OUT_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_OUT_SCHED>
+</FIN_PAYMENT_SCHEDULE>
+
+<FIN_PAYMENT_SCHEDULE>
   <FIN_PAYMENT_SCHEDULE_ID><![CDATA[8F63981596F14348BAA9520FDEBE314D]]></FIN_PAYMENT_SCHEDULE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -1101,6 +1145,28 @@
 </FIN_PAYMENT_SCHEDULE>
 
 <FIN_PAYMENT_SCHEDULE>
+  <FIN_PAYMENT_SCHEDULE_ID><![CDATA[9E1FD49466E3411BBE32E98BC7DEF048]]></FIN_PAYMENT_SCHEDULE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:48.617]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_INVOICE_ID><![CDATA[5E9C3D827CF54E94BDE088DC8977ECCC]]></C_INVOICE_ID>
+  <DUEDATE><![CDATA[2015-06-05 00:00:00.0]]></DUEDATE>
+  <FIN_PAYMENTMETHOD_ID><![CDATA[42E87E97974E4B35849A430B8F6F2884]]></FIN_PAYMENTMETHOD_ID>
+  <C_CURRENCY_ID><![CDATA[102]]></C_CURRENCY_ID>
+  <AMOUNT><![CDATA[310.50]]></AMOUNT>
+  <PAIDAMT><![CDATA[310.50]]></PAIDAMT>
+  <OUTSTANDINGAMT><![CDATA[0.00]]></OUTSTANDINGAMT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <UPDATE_PAYMENT_PLAN><![CDATA[Y]]></UPDATE_PAYMENT_PLAN>
+  <EXPECTEDDATE><![CDATA[2015-06-05 00:00:00.0]]></EXPECTEDDATE>
+  <EM_APRM_MODIF_PAYM_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_SCHED>
+  <EM_APRM_MODIF_PAYM_OUT_SCHED><![CDATA[N]]></EM_APRM_MODIF_PAYM_OUT_SCHED>
+</FIN_PAYMENT_SCHEDULE>
+
+<FIN_PAYMENT_SCHEDULE>
   <FIN_PAYMENT_SCHEDULE_ID><![CDATA[A324342FBB3A49D3B5C072728EE41416]]></FIN_PAYMENT_SCHEDULE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml	Tue May 12 17:53:41 2015 +0200
@@ -15,6 +15,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -52,6 +53,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[5D452A19885D492A8A0F7DD4A609AD79]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -108,6 +110,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -150,6 +153,25 @@
 </FIN_PAYMENT_SCHEDULEDETAIL>
 
 <FIN_PAYMENT_SCHEDULEDETAIL>
+  <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[2F3B61E56F9C4E1FA26E581B8A06C247]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:27:24.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:20.001]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[DC83BBF9423C40ABB845CF7005B2AF61]]></FIN_PAYMENT_DETAIL_ID>
+  <FIN_PAYMENT_SCHEDULE_INVOICE><![CDATA[9E1FD49466E3411BBE32E98BC7DEF048]]></FIN_PAYMENT_SCHEDULE_INVOICE>
+  <AMOUNT><![CDATA[310.50]]></AMOUNT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <ISCANCELED><![CDATA[Y]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
+  <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
+  <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
+</FIN_PAYMENT_SCHEDULEDETAIL>
+
+<FIN_PAYMENT_SCHEDULEDETAIL>
   <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[331177314EB14ABEAC559A534393D32E]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -201,6 +223,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[5D452A19885D492A8A0F7DD4A609AD79]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -219,6 +242,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -237,6 +261,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[5D452A19885D492A8A0F7DD4A609AD79]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -261,6 +286,24 @@
 </FIN_PAYMENT_SCHEDULEDETAIL>
 
 <FIN_PAYMENT_SCHEDULEDETAIL>
+  <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[393D6E7EAD614EBA83C95B9A0456DBCE]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 19:28:19.997]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 19:28:48.616]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[494F0F515B3F4544A51AC60A92A1E02C]]></FIN_PAYMENT_DETAIL_ID>
+  <FIN_PAYMENT_SCHEDULE_INVOICE><![CDATA[9E1FD49466E3411BBE32E98BC7DEF048]]></FIN_PAYMENT_SCHEDULE_INVOICE>
+  <AMOUNT><![CDATA[310.50]]></AMOUNT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
+  <ISINVOICEPAID><![CDATA[Y]]></ISINVOICEPAID>
+</FIN_PAYMENT_SCHEDULEDETAIL>
+
+<FIN_PAYMENT_SCHEDULEDETAIL>
   <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[4A4368F3052A4786A8539A4C95A8788B]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -274,6 +317,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -297,6 +341,26 @@
 </FIN_PAYMENT_SCHEDULEDETAIL>
 
 <FIN_PAYMENT_SCHEDULEDETAIL>
+  <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[4F36A7816CF64CCBBE6B9CB6B31765B8]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <CREATED><![CDATA[2015-05-05 17:30:48.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <FIN_PAYMENT_DETAIL_ID><![CDATA[DAACF7D26EB341D3A55D86E797B37BD3]]></FIN_PAYMENT_DETAIL_ID>
+  <FIN_PAYMENT_SCHEDULE_ORDER><![CDATA[8EE64FF5439545BF90580DE6EE8C0FB8]]></FIN_PAYMENT_SCHEDULE_ORDER>
+  <FIN_PAYMENT_SCHEDULE_INVOICE><![CDATA[854F48E776F34FA7B9EFB3972A37ECF4]]></FIN_PAYMENT_SCHEDULE_INVOICE>
+  <AMOUNT><![CDATA[5.50]]></AMOUNT>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
+  <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
+  <ISINVOICEPAID><![CDATA[Y]]></ISINVOICEPAID>
+</FIN_PAYMENT_SCHEDULEDETAIL>
+
+<FIN_PAYMENT_SCHEDULEDETAIL>
   <FIN_PAYMENT_SCHEDULEDETAIL_ID><![CDATA[5601B8A39685428A9499E84917A4349B]]></FIN_PAYMENT_SCHEDULEDETAIL_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -310,6 +374,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C4C502F0]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -366,6 +431,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -421,6 +487,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -717,6 +784,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[634819418C934D26BBA63279CF26EDF6]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -792,6 +860,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[5D452A19885D492A8A0F7DD4A609AD79]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1072,6 +1141,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[BE1D5059A0A44D54ABAD3C476EA83141]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1146,6 +1216,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1165,6 +1236,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1184,6 +1256,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1203,6 +1276,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
@@ -1222,6 +1296,7 @@
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <WRITEOFFAMT><![CDATA[0]]></WRITEOFFAMT>
   <ISCANCELED><![CDATA[N]]></ISCANCELED>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40C3CB02EC]]></C_BPARTNER_ID>
   <DOUBTFULDEBT_AMOUNT><![CDATA[0]]></DOUBTFULDEBT_AMOUNT>
   <ISINVOICEPAID><![CDATA[N]]></ISINVOICEPAID>
 </FIN_PAYMENT_SCHEDULEDETAIL>
--- a/referencedata/sampledata/QA_Testing/M_INOUT.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_INOUT.xml	Tue May 12 17:53:41 2015 +0200
@@ -705,6 +705,47 @@
 </M_INOUT>
 
 <M_INOUT>
+  <M_INOUT_ID><![CDATA[AB9230E0C7974BC4A6E5429673FF9460]]></M_INOUT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:32:04.843736]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <ISSOTRX><![CDATA[N]]></ISSOTRX>
+  <DOCUMENTNO><![CDATA[Issue 29403]]></DOCUMENTNO>
+  <DOCACTION><![CDATA[--]]></DOCACTION>
+  <DOCSTATUS><![CDATA[CO]]></DOCSTATUS>
+  <POSTED><![CDATA[N]]></POSTED>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <C_DOCTYPE_ID><![CDATA[FF8080812C2ABFC6012C2B3BDF530078]]></C_DOCTYPE_ID>
+  <C_ORDER_ID><![CDATA[49D97603F0DE4B88B94294501BE512F9]]></C_ORDER_ID>
+  <DATEORDERED><![CDATA[2015-05-05 00:00:00.0]]></DATEORDERED>
+  <ISPRINTED><![CDATA[N]]></ISPRINTED>
+  <MOVEMENTTYPE><![CDATA[V+]]></MOVEMENTTYPE>
+  <MOVEMENTDATE><![CDATA[2015-05-05 00:00:00.0]]></MOVEMENTDATE>
+  <DATEACCT><![CDATA[2015-05-05 00:00:00.0]]></DATEACCT>
+  <C_BPARTNER_ID><![CDATA[4028E6C72959682B01295F40BDDF02E3]]></C_BPARTNER_ID>
+  <C_BPARTNER_LOCATION_ID><![CDATA[4028E6C72959682B01295F40C14A02E5]]></C_BPARTNER_LOCATION_ID>
+  <M_WAREHOUSE_ID><![CDATA[4028E6C72959682B01295ECFE2E20270]]></M_WAREHOUSE_ID>
+  <DELIVERYRULE><![CDATA[A]]></DELIVERYRULE>
+  <FREIGHTCOSTRULE><![CDATA[I]]></FREIGHTCOSTRULE>
+  <FREIGHTAMT><![CDATA[0]]></FREIGHTAMT>
+  <DELIVERYVIARULE><![CDATA[P]]></DELIVERYVIARULE>
+  <CHARGEAMT><![CDATA[0]]></CHARGEAMT>
+  <PRIORITYRULE><![CDATA[5]]></PRIORITYRULE>
+  <CREATEFROM><![CDATA[N]]></CREATEFROM>
+  <GENERATETO><![CDATA[N]]></GENERATETO>
+  <AD_USER_ID><![CDATA[4028E6C72959682B01295F40C1D702E6]]></AD_USER_ID>
+  <UPDATELINES><![CDATA[N]]></UPDATELINES>
+  <ISLOGISTIC><![CDATA[N]]></ISLOGISTIC>
+  <GENERATELINES><![CDATA[N]]></GENERATELINES>
+  <PROCESS_GOODS_JAVA><![CDATA[--]]></PROCESS_GOODS_JAVA>
+</M_INOUT>
+
+<M_INOUT>
   <M_INOUT_ID><![CDATA[B783A4A7D9134CD8881DDDEEA3552538]]></M_INOUT_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_INOUTLINE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_INOUTLINE.xml	Tue May 12 17:53:41 2015 +0200
@@ -527,6 +527,27 @@
 </M_INOUTLINE>
 
 <M_INOUTLINE>
+  <M_INOUTLINE_ID><![CDATA[5C5CA732992248A0BAD49F5EBA00DDD0]]></M_INOUTLINE_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:32:04.843736]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.843736]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <LINE><![CDATA[10]]></LINE>
+  <M_INOUT_ID><![CDATA[AB9230E0C7974BC4A6E5429673FF9460]]></M_INOUT_ID>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <M_LOCATOR_ID><![CDATA[4028E6C72959682B01295ECFE4E50273]]></M_LOCATOR_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <MOVEMENTQTY><![CDATA[1.00]]></MOVEMENTQTY>
+  <ISINVOICED><![CDATA[N]]></ISINVOICED>
+  <ISDESCRIPTION><![CDATA[N]]></ISDESCRIPTION>
+  <EXPLODE><![CDATA[N]]></EXPLODE>
+</M_INOUTLINE>
+
+<M_INOUTLINE>
   <M_INOUTLINE_ID><![CDATA[5D6D90F94C4448879A9A803B053B1074]]></M_INOUTLINE_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_MATCHINV.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_MATCHINV.xml	Tue May 12 17:53:41 2015 +0200
@@ -115,6 +115,25 @@
 </M_MATCHINV>
 
 <M_MATCHINV>
+  <M_MATCHINV_ID><![CDATA[214DB46CDEAB44B3AA71E5939BF30E49]]></M_MATCHINV_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:30.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <M_INOUTLINE_ID><![CDATA[5C5CA732992248A0BAD49F5EBA00DDD0]]></M_INOUTLINE_ID>
+  <C_INVOICELINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></C_INVOICELINE_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <QTY><![CDATA[1.00]]></QTY>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[N]]></POSTED>
+</M_MATCHINV>
+
+<M_MATCHINV>
   <M_MATCHINV_ID><![CDATA[323A82034A1F4938B2595F59F7374C79]]></M_MATCHINV_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_MATCHPO.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_MATCHPO.xml	Tue May 12 17:53:41 2015 +0200
@@ -514,6 +514,25 @@
 </M_MATCHPO>
 
 <M_MATCHPO>
+  <M_MATCHPO_ID><![CDATA[5EAD7207980F4B218BC90DE1114F721D]]></M_MATCHPO_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:33:30.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:33:30.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <C_INVOICELINE_ID><![CDATA[C4CD1A12B19F4D4087DC8B387928ABC9]]></C_INVOICELINE_ID>
+  <DATETRX><![CDATA[2015-05-05 00:00:00.0]]></DATETRX>
+  <QTY><![CDATA[1.00]]></QTY>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[N]]></POSTED>
+</M_MATCHPO>
+
+<M_MATCHPO>
   <M_MATCHPO_ID><![CDATA[629C5333D07E49769A2894AB55FD5E8F]]></M_MATCHPO_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
@@ -932,6 +951,25 @@
 </M_MATCHPO>
 
 <M_MATCHPO>
+  <M_MATCHPO_ID><![CDATA[BF8C7008A7BB458CA8DB85D419AF4CC4]]></M_MATCHPO_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:32:04.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <C_ORDERLINE_ID><![CDATA[1072A623CD454DE1A7C3869C018ED40D]]></C_ORDERLINE_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <M_INOUTLINE_ID><![CDATA[5C5CA732992248A0BAD49F5EBA00DDD0]]></M_INOUTLINE_ID>
+  <DATETRX><![CDATA[2015-05-05 17:32:04.0]]></DATETRX>
+  <QTY><![CDATA[1.00]]></QTY>
+  <PROCESSING><![CDATA[N]]></PROCESSING>
+  <PROCESSED><![CDATA[Y]]></PROCESSED>
+  <POSTED><![CDATA[N]]></POSTED>
+</M_MATCHPO>
+
+<M_MATCHPO>
   <M_MATCHPO_ID><![CDATA[C1D79EFB09424484BF625FA16C2E3F10]]></M_MATCHPO_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_PRICELIST.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_PRICELIST.xml	Tue May 12 17:53:41 2015 +0200
@@ -199,6 +199,24 @@
 </M_PRICELIST>
 
 <M_PRICELIST>
+  <M_PRICELIST_ID><![CDATA[C62C9D4D3B544843827442F3C02925CE]]></M_PRICELIST_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:26:56.119]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:26:56.119]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <NAME><![CDATA[Mexican Purchase Price List]]></NAME>
+  <ISTAXINCLUDED><![CDATA[N]]></ISTAXINCLUDED>
+  <ISSOPRICELIST><![CDATA[N]]></ISSOPRICELIST>
+  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+  <C_CURRENCY_ID><![CDATA[130]]></C_CURRENCY_ID>
+  <ENFORCEPRICELIMIT><![CDATA[N]]></ENFORCEPRICELIMIT>
+  <COSTBASED><![CDATA[N]]></COSTBASED>
+</M_PRICELIST>
+
+<M_PRICELIST>
   <M_PRICELIST_ID><![CDATA[DD0AA95523FB494C8C134DB9B07B1E11]]></M_PRICELIST_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_PRICELIST_VERSION.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_PRICELIST_VERSION.xml	Tue May 12 17:53:41 2015 +0200
@@ -154,6 +154,23 @@
 </M_PRICELIST_VERSION>
 
 <M_PRICELIST_VERSION>
+  <M_PRICELIST_VERSION_ID><![CDATA[4E87E6C9E5CB4988A2D953583232E9C8]]></M_PRICELIST_VERSION_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:27:05.031]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:27:05.031]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <NAME><![CDATA[05-05-2015]]></NAME>
+  <M_PRICELIST_ID><![CDATA[C62C9D4D3B544843827442F3C02925CE]]></M_PRICELIST_ID>
+  <M_DISCOUNTSCHEMA_ID><![CDATA[4028E6C72959682B01295ADC16FC0219]]></M_DISCOUNTSCHEMA_ID>
+  <VALIDFROM><![CDATA[2015-05-05 00:00:00.0]]></VALIDFROM>
+  <PROCCREATE><![CDATA[N]]></PROCCREATE>
+  <M_PRICELIST_VERSION_GENERATE><![CDATA[N]]></M_PRICELIST_VERSION_GENERATE>
+</M_PRICELIST_VERSION>
+
+<M_PRICELIST_VERSION>
   <M_PRICELIST_VERSION_ID><![CDATA[4F96FEEEBA4C41629FA5CAAA28262676]]></M_PRICELIST_VERSION_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[357947E87C284935AD1D783CF6F099A1]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/M_PRODUCTPRICE.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_PRODUCTPRICE.xml	Tue May 12 17:53:41 2015 +0200
@@ -865,6 +865,24 @@
 </M_PRODUCTPRICE>
 
 <M_PRODUCTPRICE>
+  <M_PRODUCTPRICE_ID><![CDATA[EE0DA05301C04E0D9DD08C9C96F0FBA6]]></M_PRODUCTPRICE_ID>
+  <M_PRICELIST_VERSION_ID><![CDATA[4E87E6C9E5CB4988A2D953583232E9C8]]></M_PRICELIST_VERSION_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:27:23.235]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:27:23.235]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <PRICELIST><![CDATA[5]]></PRICELIST>
+  <PRICESTD><![CDATA[5]]></PRICESTD>
+  <PRICELIMIT><![CDATA[0]]></PRICELIMIT>
+  <COST><![CDATA[0]]></COST>
+  <ALGORITHM><![CDATA[S]]></ALGORITHM>
+</M_PRODUCTPRICE>
+
+<M_PRODUCTPRICE>
   <M_PRODUCTPRICE_ID><![CDATA[F2E449D8BABD44038013A614D833DD39]]></M_PRODUCTPRICE_ID>
   <M_PRICELIST_VERSION_ID><![CDATA[3C80C1212EE04AA5B88BE526C4EC8C75]]></M_PRICELIST_VERSION_ID>
   <M_PRODUCT_ID><![CDATA[0CF7C882B8BD4D249F3BCC8727A736D1]]></M_PRODUCT_ID>
--- a/referencedata/sampledata/QA_Testing/M_STORAGE_DETAIL.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_STORAGE_DETAIL.xml	Tue May 12 17:53:41 2015 +0200
@@ -16,6 +16,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.071]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[0348C6E72EA74001AFBC8A9A69B7A4C7]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -34,6 +36,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.071]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[0EAB989B4F1241C38BCC767E00EDCA01]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -52,6 +56,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.071]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[1B1C6F5B162A454BBA9677C6B4179F8F]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -70,6 +76,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.071]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[1D1FFE29EB6E40A1B3F2C92FEC468DF5]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -88,6 +96,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[1FC5BDF226A94DE38D3A39CD63F1C475]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -106,6 +116,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[24DDAEE4F7754F4ABFD5FFEC53D82D7B]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -124,6 +136,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[2B1A7032E15F43179BCC03BBAE3F5D84]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -142,6 +156,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[2D3E4EB86FAE44F696F3E6A01EABE603]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -160,6 +176,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[3741FCA5F49544D09611CE267FAA46CD]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -178,6 +196,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[3BDF229A94D2407F9DC0775E369E9D1D]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -195,6 +215,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[3CE4933A47124C0B8985224260465EC3]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -213,6 +235,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[3F9DFE70FBB54568A5F9A4D5F07FAF3F]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -231,6 +255,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[426F261BD8584D798E3375A489B7681F]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -249,6 +275,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[48F54A2A15B54AB8A35B153DF8EAE780]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -267,6 +295,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.07]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[49A0625007F5488A83347E3A94111343]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -285,6 +315,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[4D074CC42D3246BC933ECE17D5FD8630]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -302,6 +334,8 @@
   <UPDATED><![CDATA[2014-10-03 13:25:16.0]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[526360FBAE8041BCA77591B0C16FE842]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -320,6 +354,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[532879C60A4C4FFDA5836A693E441253]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -338,6 +374,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[533C6B91B711466C93174796FB0DBBA0]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -356,6 +394,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[538D888D844F483796C4840DE066A8CA]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -374,6 +414,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[55EE9CB8FAB147FCA9F1EDD8824A20E9]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -391,6 +433,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[573AD22AD99F454687522EA9E9C47318]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -408,6 +452,8 @@
   <UPDATED><![CDATA[2014-10-03 13:22:08.0]]></UPDATED>
   <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[58B55BCB32DE4A86BFC67BA72EFDB7BF]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -426,6 +472,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[5C92F87C75A54C2EAC6F0D6F6745A5C8]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -444,6 +492,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[680C7E51B91347CC8131B526C0CC25B8]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -462,6 +512,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[693F4B1D452D4B2382E18153EC61A2D8]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -480,6 +532,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[6A06B252FD3B429796D4FE2BD5D668DE]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -498,6 +552,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[6EC0058A9505497A90F638C8CB016C88]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -516,6 +572,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[7072B45C677E4264BFBE5ECA4F537026]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -534,6 +592,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.069]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[76608F519F704E6689B85DA2F86CF1D1]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -552,6 +612,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[7E735D13CA2E45ED9E304029483F0928]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -569,6 +631,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[812F15F026B94BE984F9D5CE3047083D]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -587,6 +651,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[8E086EBEA9E14529BDF9EFAAA03B4BD3]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -605,6 +671,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[990C407811714A60844F74CC7B6021E3]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -622,6 +690,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[9E86D2A9F0804BD4B587F349F3F85376]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -640,6 +710,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[A500CB9C27914BAFBDC2F56CF9557811]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -658,6 +730,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[A6ADBB560E334DBD825C618A3099C590]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -676,6 +750,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[A7DD731391AE4CAE89753CE7AA5E4159]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -694,6 +770,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[B12E1FBA1D81430D8A8576BF06F2E4BB]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -712,6 +790,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[C34BD2A544F949F6BCB3DC8916F91E66]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -730,6 +810,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[C44B71F795154EE7B40A2293ECB771F5]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -748,6 +830,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[C4726559B9CD4F6FB9873FB0FC29FD38]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -766,6 +850,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.068]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[C509ABB875954E51AD2D73F1834FBF2F]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -784,6 +870,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[CC7AD9A621C542A9AE65B17D87110E2E]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -791,17 +879,19 @@
   <M_LOCATOR_ID><![CDATA[4028E6C72959682B01295ECFE4E50273]]></M_LOCATOR_ID>
   <M_ATTRIBUTESETINSTANCE_ID><![CDATA[0]]></M_ATTRIBUTESETINSTANCE_ID>
   <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
-  <QTYONHAND><![CDATA[10000]]></QTYONHAND>
+  <QTYONHAND><![CDATA[10001.00]]></QTYONHAND>
   <DATELASTINVENTORY><![CDATA[2012-07-13 14:06:30.423]]></DATELASTINVENTORY>
-  <PREQTYONHAND><![CDATA[0]]></PREQTYONHAND>
+  <PREQTYONHAND><![CDATA[0.00]]></PREQTYONHAND>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
   <ISACTIVE><![CDATA[Y]]></ISACTIVE>
   <CREATED><![CDATA[2013-07-04 23:38:17.067]]></CREATED>
   <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[D0D9F6262E35454FBC134CB0D0639094]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -820,6 +910,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[D277D09E4EA34BA8ADBB8ECCBB9E8CAA]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -838,6 +930,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[D67216F702014B5EBC01CDA0EBCC30B0]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -855,6 +949,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[DC05B1BC307C4412A267591FBDA04A58]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -873,6 +969,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[DFF6314D229E40BA8652F3C7AF8CDE46]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -890,6 +988,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[E2CDF8B8589044BB9D5A061BC61A7400]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -908,6 +1008,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[E4137316C9934A24BC1AF9A5C62D708D]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -926,6 +1028,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[E48AE6FB6F63495B83B9E9D31308F0C1]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -944,6 +1048,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[E5F8A35A283F43EE9CA15FD9FB7A2115]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -962,6 +1068,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.067]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[E8D2FB9D526F497A8B973EF69A7BD94E]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -980,6 +1088,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[EAF1486BE91B4BEC950C5CF714531AED]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -998,6 +1108,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[F270603014B2493BB057681AE58764EE]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -1016,6 +1128,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[F2C09738750A436F898E0E940909DA9A]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -1034,6 +1148,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[F80F8F47C58E43CE8D7FB990EC08965A]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -1052,6 +1168,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[FE41B9A591854522A1D4AAC9BFDE6B7F]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -1070,6 +1188,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[FE5F80BDC7044A88B5692F890F19208A]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 <M_STORAGE_DETAIL>
@@ -1088,6 +1208,8 @@
   <UPDATED><![CDATA[2013-07-04 23:38:17.066]]></UPDATED>
   <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
   <M_STORAGE_DETAIL_ID><![CDATA[FEB5582418C24B54AE5D7DA4F750F12C]]></M_STORAGE_DETAIL_ID>
+  <RESERVEDQTY><![CDATA[0]]></RESERVEDQTY>
+  <ALLOCATEDQTY><![CDATA[0]]></ALLOCATEDQTY>
 </M_STORAGE_DETAIL>
 
 </data>
--- a/referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml	Tue May 12 17:53:41 2015 +0200
@@ -154,6 +154,23 @@
 </M_STORAGE_PENDING>
 
 <M_STORAGE_PENDING>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <M_WAREHOUSE_ID><![CDATA[4028E6C72959682B01295ECFE2E20270]]></M_WAREHOUSE_ID>
+  <M_ATTRIBUTESETINSTANCE_ID><![CDATA[0]]></M_ATTRIBUTESETINSTANCE_ID>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <QTYRESERVED><![CDATA[0]]></QTYRESERVED>
+  <QTYORDERED><![CDATA[0.00]]></QTYORDERED>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:30:48.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <M_STORAGE_PENDING_ID><![CDATA[9307F06F07B349F3846E878BED4BD7A3]]></M_STORAGE_PENDING_ID>
+</M_STORAGE_PENDING>
+
+<M_STORAGE_PENDING>
   <M_PRODUCT_ID><![CDATA[3FDFF9456AA74466A9CBBC0FB99F2369]]></M_PRODUCT_ID>
   <M_WAREHOUSE_ID><![CDATA[4028E6C72959682B01295ECFEF4502A0]]></M_WAREHOUSE_ID>
   <M_ATTRIBUTESETINSTANCE_ID><![CDATA[BC4F469EE90445AA8D6F41DE8523FA63]]></M_ATTRIBUTESETINSTANCE_ID>
--- a/referencedata/sampledata/QA_Testing/M_TRANSACTION.xml	Tue May 12 15:38:15 2015 +0000
+++ b/referencedata/sampledata/QA_Testing/M_TRANSACTION.xml	Tue May 12 17:53:41 2015 +0200
@@ -1365,6 +1365,33 @@
 </M_TRANSACTION>
 
 <M_TRANSACTION>
+  <M_TRANSACTION_ID><![CDATA[4E7571663B484A4189700C98C6F93194]]></M_TRANSACTION_ID>
+  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
+  <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
+  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+  <CREATED><![CDATA[2015-05-05 17:32:04.0]]></CREATED>
+  <CREATEDBY><![CDATA[100]]></CREATEDBY>
+  <UPDATED><![CDATA[2015-05-05 17:32:04.0]]></UPDATED>
+  <UPDATEDBY><![CDATA[100]]></UPDATEDBY>
+  <MOVEMENTTYPE><![CDATA[V+]]></MOVEMENTTYPE>
+  <M_LOCATOR_ID><![CDATA[4028E6C72959682B01295ECFE4E50273]]></M_LOCATOR_ID>
+  <M_PRODUCT_ID><![CDATA[4028E6C72959682B01295ADC211E0237]]></M_PRODUCT_ID>
+  <MOVEMENTDATE><![CDATA[2015-05-05 00:00:00.0]]></MOVEMENTDATE>
+  <MOVEMENTQTY><![CDATA[1.00]]></MOVEMENTQTY>
+  <M_INOUTLINE_ID><![CDATA[5C5CA732992248A0BAD49F5EBA00DDD0]]></M_INOUTLINE_ID>
+  <M_ATTRIBUTESETINSTANCE_ID><![CDATA[0]]></M_ATTRIBUTESETINSTANCE_ID>
+  <C_UOM_ID><![CDATA[4028E6C72959682B01295ADC1A380221]]></C_UOM_ID>
+  <TRXPROCESSDATE><![CDATA[2015-05-05 17:32:04.843736]]></TRXPROCESSDATE>
+  <ISCOSTCALCULATED><![CDATA[N]]></ISCOSTCALCULATED>
+  <COSTING_STATUS><![CDATA[NC]]></COSTING_STATUS>
+  <CHECKRESERVEDQTY><![CDATA[Y]]></CHECKRESERVEDQTY>
+  <ISPROCESSED><![CDATA[N]]></ISPROCESSED>
+  <CHECKPRICEDIFFERENCE><![CDATA[N]]></CHECKPRICEDIFFERENCE>
+  <MANUALCOSTADJUSTMENT><![CDATA[N]]></MANUALCOSTADJUSTMENT>
+  <ISCOSTPERMANENT><![CDATA[N]]></ISCOSTPERMANENT>
+</M_TRANSACTION>
+
+<M_TRANSACTION>
   <M_TRANSACTION_ID><![CDATA[4F6220D640FD49C18855B815F9460017]]></M_TRANSACTION_ID>
   <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[5EFF95EB540740A3B10510D9814EFAD5]]></AD_ORG_ID>
--- a/src-db/database/model/functions/C_INVOICE_POST.xml	Tue May 12 15:38:15 2015 +0000
+++ b/src-db/database/model/functions/C_INVOICE_POST.xml	Tue May 12 17:53:41 2015 +0200
@@ -22,7 +22,7 @@
   * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
   * All Rights Reserved.
   * Contributor(s): Openbravo SLU
-  * Contributions are Copyright (C) 2001-2014 Openbravo, S.L.U.
+  * Contributions are Copyright (C) 2001-2015 Openbravo, S.L.U.
   *
   * Specifically, this derivative work is based upon the following Compiere
   * file and version.
@@ -176,6 +176,7 @@
   v_invoiceline_qtysum NUMBER;
   v_PriceList_ID varchar2(32);
   v_prepaymentamt NUMBER;
+  v_hasTaxes NUMBER;
    
 BEGIN
   IF (p_PInstance_ID IS NOT NULL) THEN
@@ -1959,7 +1960,15 @@
     DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished - ' || v_Message) ;
    
     IF(v_totalqty = 0 AND v_DocAction <> 'RE') THEN
-	v_Message := v_Message || '@NoAccountingEntryInvoice@';
+      SELECT COUNT(1)
+      INTO v_hasTaxes
+      FROM DUAL
+      WHERE EXISTS (SELECT 1
+                    FROM C_INVOICETAX
+                    WHERE C_Invoice_ID = v_Record_ID);
+      IF(v_hasTaxes=0) THEN
+	      v_Message := v_Message || '@NoAccountingEntryInvoice@';
+	    END IF;
     END IF;
     AD_UPDATE_PINSTANCE(p_PInstance_ID, v_UpdatedBy, 'N', v_Result, v_Message) ;
   ELSE
--- a/src-test/src/org/openbravo/test/AllAntTaskTests.java	Tue May 12 15:38:15 2015 +0000
+++ b/src-test/src/org/openbravo/test/AllAntTaskTests.java	Tue May 12 17:53:41 2015 +0200
@@ -22,6 +22,7 @@
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
 import org.openbravo.erpCommon.info.ClassicSelectorTest;
+import org.openbravo.test.accounting.PostDocumentTest;
 import org.openbravo.test.accounting.RecordID2Test;
 import org.openbravo.test.dal.AdminContextTest;
 import org.openbravo.test.dal.ComputedColumnsTest;
@@ -152,6 +153,7 @@
     ClassicSelectorTest.class,
 
     // Accounting
-    RecordID2Test.class })
+    RecordID2Test.class, //
+    PostDocumentTest.class })
 public class AllAntTaskTests {
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-test/src/org/openbravo/test/accounting/PostDocumentTest.java	Tue May 12 17:53:41 2015 +0200
@@ -0,0 +1,255 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html 
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License. 
+ * The Original Code is Openbravo ERP. 
+ * The Initial Developer of the Original Code is Openbravo SLU 
+ * All portions are Copyright (C) 2015 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.test.accounting;
+
+import static org.hamcrest.Matchers.closeTo;
+import static org.hamcrest.Matchers.equalTo;
+import static org.junit.Assert.assertThat;
+import static org.junit.Assert.assertTrue;
+
+import java.math.BigDecimal;
+import java.sql.Connection;
+import java.util.Arrays;
+import java.util.Collection;
+
+import javax.servlet.ServletException;
+
+import org.hibernate.criterion.Order;
+import org.hibernate.criterion.Restrictions;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.erpCommon.ad_forms.AcctServer;
+import org.openbravo.erpCommon.utility.OBDateUtils;
+import org.openbravo.financial.ResetAccounting;
+import org.openbravo.model.financialmgmt.accounting.AccountingFact;
+import org.openbravo.test.base.OBBaseTest;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Tests cases to check taxes computation
+ * 
+ * 
+ */
+@RunWith(Parameterized.class)
+public class PostDocumentTest extends OBBaseTest {
+  final static private Logger log = LoggerFactory.getLogger(PostDocumentTest.class);
+  // User Openbravo
+  private final String USER_ID = "100";
+  // Client QA Testing
+  private static final String CLIENT_ID = "4028E6C72959682B01295A070852010D";
+  // Organization Spain
+  private static final String ORGANIZATION_SPAIN_ID = "357947E87C284935AD1D783CF6F099A1";
+  // Organization USA
+  private static final String ORGANIZATION_USA_ID = "5EFF95EB540740A3B10510D9814EFAD5";
+  // Role QA Testing Admin
+  private final String ROLE_ID = "4028E6C72959682B01295A071429011E";
+  // Table INVOICE
+  private static final String TABLE_INVOICE = "318";
+  // Accounting Schemas
+  private static final String MAIN_EURO_LEGDER = "9A68A0F8D72D4580B3EC3CAA00A5E1F0";
+  private static final String USA_DOLLAR_LEGDER = "432EAC71E1B8451E97C7F54718C4A06B";
+  // Sales Invoice with documentNo: I/29
+  private static final String INVOICE_TEST1 = "66AE9202889D47DE910DECD72A427DAC";
+  // Purchase Invoice with documentNo: Issue 29266
+  private static final String INVOICE_TEST2 = "F5D55960B2704B86903740BF35779DB6";
+  // Sales Invoice with documentNo: Issue 29403
+  private static final String INVOICE_TEST3 = "E6C9AAC2D2384521AFD4716CE970587C";
+  // Sales Invoice with documentNo: Issue 29505
+  private static final String INVOICE_TEST4 = "5E9C3D827CF54E94BDE088DC8977ECCC";
+  // ACCOUNTS USED FOR TEST RESULTS
+  private static String TAX_RECEIVABLES = "FABD8D6CF3F04EE7A0389C2BAA1D620E";
+  private static String SERVICE_COST = "F7B96292FB5842FBB51143BA659008B0";
+  private static String VENDOR_PREPAYMENT = "40285C81312D85B901312DBB9BB40096";
+
+  private static String CLIENTES = "44D112E5F0CF4D1B8D4652EE282076F2";
+  private static String ANTICIPOS_PROVEEDORES = "9D63B01A0359422185545CB7713652DC";
+  private static String VENTA_MERCADERIAS = "861F04DD57084B9882064312E7AC1EEF";
+  private static String COMPRA_MERCADERIAS = "FB2A7CD68876462BAED0D3FB2840E182";
+  private static String IVA_REPERCUTIDO = "3544375BB8414739B93813F54246B2E1";
+  private static String IVA_SOPORTADO = "D04185C47CCA43B1A59DF318A6921E2B";
+
+  private String testNumber;
+  private String testDescription;
+  private String keyId;
+  private String tableId;
+  private String orgId;
+  private String[][] resultTest;
+
+  public PostDocumentTest(String testNumber, String testDescription, String keyId, String tableId,
+      String orgId, String[][] resultTest) {
+    this.testDescription = testDescription;
+    this.testNumber = testNumber;
+    this.keyId = keyId;
+    this.tableId = tableId;
+    this.orgId = orgId;
+    this.resultTest = resultTest;
+  }
+
+  /** parameterized: Documents to be posted together with results expected */
+  @Parameters(name = "idx:{0} name:{1}")
+  public static Collection<Object[]> params() {
+    // { "Ledger", "Account", "date", "currency", "amtsourcedr", "amtsourcecr", "amtacctdr",
+    // "amtacctcr"
+    // },
+    String[][] resultTest1 = {
+        { MAIN_EURO_LEGDER, IVA_REPERCUTIDO, "18-07-2014", "102", "0.00", "1.00", "0.00", "1.00" },
+        { MAIN_EURO_LEGDER, IVA_REPERCUTIDO, "18-07-2014", "102", "0.00", "6.00", "0.00", "6.00" },
+        { MAIN_EURO_LEGDER, CLIENTES, "18-07-2014", "102", "207.00", "0.00", "207.00", "0.00" },
+        { MAIN_EURO_LEGDER, VENTA_MERCADERIAS, "18-07-2014", "102", "0.00", "200.00", "0.00",
+            "200.00" } };
+    String[][] resultTest2 = {
+        { MAIN_EURO_LEGDER, IVA_SOPORTADO, "04-05-2015", "102", "-10.00", "0.00", "-10.00", "0.00" },
+        { MAIN_EURO_LEGDER, IVA_SOPORTADO, "04-05-2015", "102", "10.00", "0.00", "10.00", "0.00" } };
+    String[][] resultTest3 = {
+        // Dollar Ledger
+        { USA_DOLLAR_LEGDER, VENDOR_PREPAYMENT, "05-05-2015", "130", "0.00", "5.50", "0.00",
+            "16.50" },
+        { USA_DOLLAR_LEGDER, SERVICE_COST, "05-05-2015", "130", "5.00", "0.00", "15.00", "0.00" },
+        { USA_DOLLAR_LEGDER, TAX_RECEIVABLES, "05-05-2015", "130", "0.50", "0.00", "1.50", "0.00" },
+        // EURO Ledger
+        { MAIN_EURO_LEGDER, ANTICIPOS_PROVEEDORES, "05-05-2015", "130", "0.00", "5.50", "0.00",
+            "11.00" },
+        { MAIN_EURO_LEGDER, IVA_SOPORTADO, "05-05-2015", "130", "0.50", "0.00", "1.00", "0.00" },
+        { MAIN_EURO_LEGDER, COMPRA_MERCADERIAS, "05-05-2015", "130", "5.00", "0.00", "10.00",
+            "0.00" } };
+    String[][] resultTest4 = {
+        { MAIN_EURO_LEGDER, IVA_REPERCUTIDO, "05-05-2015", "102", "0.00", "1.50", "0.00", "1.50" },
+        { MAIN_EURO_LEGDER, IVA_REPERCUTIDO, "05-05-2015", "102", "0.00", "9.00", "0.00", "9.00" },
+        { MAIN_EURO_LEGDER, CLIENTES, "05-05-2015", "102", "310.50", "0.00", "310.50", "0.00" },
+        { MAIN_EURO_LEGDER, VENTA_MERCADERIAS, "05-05-2015", "102", "0.00", "300.00", "0.00",
+            "300.00" } };
+
+    return Arrays.asList(new Object[][] {
+        { "1", "Sales invoice I/29", INVOICE_TEST1, TABLE_INVOICE, ORGANIZATION_SPAIN_ID,
+            resultTest1 },
+        // Purchase invoice of zero amount but with taxes: Issue 29266
+        { "2", "Purchase Invoice Issue 29266", INVOICE_TEST2, TABLE_INVOICE, ORGANIZATION_SPAIN_ID,
+            resultTest2 },
+        // Purchase invoice with prepayment in other currency but with taxes: Issue 29403
+        { "3", "Purchase Invoice Issue 29403", INVOICE_TEST3, TABLE_INVOICE, ORGANIZATION_USA_ID,
+            resultTest3 },
+        // Sales invoice with canceled payment: Issue 29505
+        { "4", "Sales Invoice Issue 29505", INVOICE_TEST4, TABLE_INVOICE, ORGANIZATION_SPAIN_ID,
+            resultTest4 } });
+  }
+
+  /*
+   * Posts a document and verifies entries are correct
+   */
+  @Test
+  public void testPostDocument() {
+    try {
+      OBContext.setAdminMode(false);
+      ResetAccounting.delete(CLIENT_ID, orgId, tableId, keyId, "", "");
+      postDocument();
+      checkResults();
+    } catch (ServletException e) {
+      log.error("Error posting document", e);
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
+  private void checkResults() {
+    OBCriteria<AccountingFact> obc = OBDal.getInstance().createCriteria(AccountingFact.class);
+    obc.add(Restrictions.eq(AccountingFact.PROPERTY_RECORDID, keyId));
+    obc.add(Restrictions.eq(AccountingFact.PROPERTY_TABLE + ".id", tableId));
+    obc.setFilterOnReadableClients(false);
+    obc.setFilterOnReadableOrganization(false);
+    obc.addOrder(Order.asc(AccountingFact.PROPERTY_ACCOUNTINGSCHEMA));
+    obc.addOrder(Order.asc(AccountingFact.PROPERTY_ACCOUNT));
+    obc.addOrder(Order.asc(AccountingFact.PROPERTY_DEBIT));
+    obc.addOrder(Order.asc(AccountingFact.PROPERTY_CREDIT));
+    int counter = 0;
+    for (AccountingFact fact : obc.list()) {
+      String[] result = resultTest[counter];
+      counter++;
+      String ledger = result[0];
+      String accountId = result[1];
+      String date = result[2];
+      String currencyId = result[3];
+      String amtSourceDr = result[4];
+      String amtSourceCr = result[5];
+      String amtAcctDr = result[6];
+      String amtAcctCr = result[7];
+      BigDecimal amtAcctCrObtained = fact.getCredit();
+      BigDecimal amtAcctDrObtained = fact.getDebit();
+      BigDecimal amtSourceCrObtained = fact.getForeignCurrencyCredit();
+      BigDecimal amtSourceDrObtained = fact.getForeignCurrencyDebit();
+      log.info("****************  NEW ENTRY ***************");
+      log.info("SeqNo: " + fact.getSequenceNumber());
+      log.info("CurrencyId: " + fact.getCurrency().getId());
+      log.info(OBDateUtils.formatDate(fact.getAccountingDate()));
+      log.info(fact.getAccount().getIdentifier());
+      log.info("AccountId: " + fact.getAccount().getId());
+      log.info("Foreign Debit:" + fact.getForeignCurrencyDebit().toString());
+      log.info("Foreign Credit:" + fact.getForeignCurrencyCredit().toString());
+      log.info("Debit:" + fact.getDebit().toString());
+      log.info("Credit:" + fact.getCredit().toString());
+      assertThat("Wrong amtSourceDr", new BigDecimal(amtSourceDr),
+          closeTo(amtSourceDrObtained, BigDecimal.ZERO));
+      assertThat("Wrong amtSourceCr", new BigDecimal(amtSourceCr),
+          closeTo(amtSourceCrObtained, BigDecimal.ZERO));
+      assertThat("Wrong amtAcctDr", new BigDecimal(amtAcctDr),
+          closeTo(amtAcctDrObtained, BigDecimal.ZERO));
+      assertThat("Wrong amtAcctCr", new BigDecimal(amtAcctCr),
+          closeTo(amtAcctCrObtained, BigDecimal.ZERO));
+      assertThat("Wrong Date", date, equalTo(OBDateUtils.formatDate(fact.getAccountingDate())));
+      assertThat("Wrong Leger", ledger, equalTo(fact.getAccountingSchema().getId()));
+      assertThat("Wrong Account", accountId, equalTo(fact.getAccount().getId()));
+      assertThat("Wrong Currency", currencyId, equalTo(fact.getCurrency().getId()));
+    }
+    assertTrue("Wrong number of entries. Expected: " + resultTest.length + " obtained: " + counter,
+        resultTest.length == counter);
+  }
+
+  private void postDocument() throws ServletException {
+    ConnectionProvider conn = getConnectionProvider();
+    Connection con = null;
+    try {
+      con = conn.getTransactionConnection();
+      AcctServer acct = AcctServer.get(tableId, CLIENT_ID, orgId, conn);
+      if (acct == null) {
+        conn.releaseRollbackConnection(con);
+        return;
+      } else if (!acct.post(keyId, false, new VariablesSecureApp(USER_ID, CLIENT_ID, orgId), conn,
+          con) || acct.errors != 0) {
+        conn.releaseRollbackConnection(con);
+        return;
+      }
+      conn.releaseCommitConnection(con);
+      OBDal.getInstance().commitAndClose();
+    } catch (Exception e) {
+      try {
+        conn.releaseRollbackConnection(con);
+      } catch (Exception ignored) {
+      }
+    }
+    return;
+  }
+}
\ No newline at end of file
--- a/src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql	Tue May 12 15:38:15 2015 +0000
+++ b/src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql	Tue May 12 17:53:41 2015 +0200
@@ -26,7 +26,8 @@
     <SqlMethodComment></SqlMethodComment>
     <Sql>
       <![CDATA[
-        SELECT t.IsTaxUndeductable as rateTaxUndeductable, (select IsTaxUndeductable from ad_orginfo o where o.ad_org_id=it.ad_org_id) as orgTaxUndeductable, it.C_Tax_ID, t.Name, t.Rate, t.IsTaxDeductable, SUM(it.TaxBaseAmt) AS TaxBaseAmt, SUM(it.TaxAmt) AS TaxAmt, '' AS C_INVOICE_ID, '' AS AD_CLIENT_ID, '' AS AD_ORG_ID,
+        SELECT t.IsTaxUndeductable as rateTaxUndeductable, (select IsTaxUndeductable from ad_orginfo o where o.ad_org_id=it.ad_org_id) as orgTaxUndeductable, 
+        it.C_Tax_ID, t.Name, t.Rate, t.IsTaxDeductable, SUM(it.TaxBaseAmt) AS TaxBaseAmt, SUM(it.TaxAmt) AS TaxAmt, min(it.line) as line, '' AS C_INVOICE_ID, '' AS AD_CLIENT_ID, '' AS AD_ORG_ID,
         '' AS ISACTIVE, '' AS CREATED, '' AS CREATEDBY, '' AS UPDATED, '' AS UPDATEDBY, '' AS ISSOTRX, '' AS DOCUMENTNO,
         '' AS DOCSTATUS, '' AS DOCACTION, '' AS PROCESSING, '' AS PROCESSED, '' AS POSTED, '' AS C_DOCTYPE_ID, '' AS C_DOCTYPETARGET_ID,
         '' AS C_ORDER_ID, '' AS DESCRIPTION, '' AS ISTRANSFERRED, '' AS ISPRINTED, '' AS SALESREP_ID, '' AS DATEINVOICED,
@@ -40,6 +41,7 @@
         FROM C_Tax t, C_InvoiceTax it
         WHERE t.C_Tax_ID=it.C_Tax_ID AND it.C_Invoice_ID=?
 	GROUP BY t.IsTaxUndeductable, it.C_Tax_ID, t.Name, t.Rate, t.IsTaxDeductable, it.ad_org_id, t.isCashVAT
+	order by line
      ]]>
      </Sql>
      <Parameter name="invoice"/>