[jasper-library-upgrade] Merge with pi
authorCarlos Aristu <carlos.aristu@openbravo.com>
Wed, 20 May 2015 09:24:44 +0200
changeset 26753 c0ef276da9d8
parent 26752 a09e481771c7 (current diff)
parent 26666 a2b17b6cab3b (diff)
child 26754 7d2d43ddc607
[jasper-library-upgrade] Merge with pi
legal/Licensing.txt
modules/org.openbravo.financial.paymentreport/src/org/openbravo/financial/paymentreport/erpCommon/ad_reports/PaymentReportPDF.jrxml
modules/org.openbravo.service.integration.google/src-db/database/model/functions/OBSEIG_UPDATE_ACCESS.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_EP_PROCEDURES.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_FIELD.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MENU.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MESSAGE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_TAB.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_TREENODE.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_WINDOW.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/OBUIAPP_MENU_PARAMETERS.xml
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/OBUIAPP_VIEW_IMPL.xml
modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java
modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleIntegrationComponentProvider.java
modules/org.openbravo.service.integration.google/web/images/google.png
modules/org.openbravo.service.integration.google/web/org.openbravo.service.integration.google/js/obsegi-account-association-view.js
modules/org.openbravo.service.integration.openid/lib/runtime/guice-2.0.jar
modules/org.openbravo.service.integration.openid/lib/runtime/httpclient-4.0.jar
modules/org.openbravo.service.integration.openid/lib/runtime/httpcore-4.0.1.jar
modules/org.openbravo.service.integration.openid/lib/runtime/httpmime-4.1.jar
modules/org.openbravo.service.integration.openid/lib/runtime/openid4java-0.9.6.jar
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_FIELD.xml
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_TAB.xml
modules/org.openbravo.service.integration.openid/src/org/openbravo/service/integration/openid/OpenIDManager.java
src-db/database/model/triggers/C_CONVERSION_RATE_TRG2.xml
--- a/.classpath.template	Tue May 19 12:36:46 2015 +0200
+++ b/.classpath.template	Wed May 20 09:24:44 2015 +0200
@@ -19,8 +19,6 @@
 	<classpathentry kind="src" path="modules/org.openbravo.userinterface.selector/src"/>
 	<classpathentry kind="src" path="modules/org.openbravo.userinterface.smartclient/src"/>
 	<classpathentry kind="src" path="modules/org.openbravo.service.datasource/src"/>
-	<classpathentry kind="src" path="modules/org.openbravo.service.integration.openid/src"/>
-	<classpathentry kind="src" path="modules/org.openbravo.service.integration.google/src"/>
 	<classpathentry kind="src" path="modules/org.openbravo.utility.cleanup.log/src"/>
 	<classpathentry including="quartz.properties" kind="src" path="config"/>
 	<classpathentry kind="src" path="src-gen"/>
--- a/.hgsigs	Tue May 19 12:36:46 2015 +0200
+++ b/.hgsigs	Wed May 20 09:24:44 2015 +0200
@@ -166,3 +166,6 @@
 53cc6ea75bb1d2065e367fa065b540334d4d514d 0 iEYEABECAAYFAlSYSdYACgkQCX/oGf+2qkPl4wCggC4EzYsyVitSyhbL2kWJlTZ2XXcAmwU0F1jbBoVlgyENCdW93qsA/uUF
 8651cad68d86877ad8a90a0f16ce994daca4c2c3 0 iEYEABECAAYFAlTLW8EACgkQCX/oGf+2qkPEPQCghnkxkVcLRQ5txQCvPqDfmX3OpWAAoOt8wvHw9mJLINJfaStIwhdZ062z
 831f7c3e542951b324cd9880b198bb4751bfd251 0 iEYEABECAAYFAlTm9ToACgkQCX/oGf+2qkPpFgCgzIKSAc1CMJoGRySzaUNdjoiyXyUAn2N/WoGlO000oJ6LcEcBldIz3+iT
+295e0a259f619311101efee9f1d31aede5bdaa95 0 iEYEABECAAYFAlUZK3oACgkQCX/oGf+2qkOrywCdFORG9mDgA9SMY95tQrtMYtUftS0AoK6d8rFNeUz9xDvAP/y0B+2myvoN
+4d63b001f63758b1b79b9502621754878acdfdff 0 iEYEABECAAYFAlUwx7cACgkQCX/oGf+2qkOn2gCcCxKfDDCR1P8qYR9bNtxTIs81JY8AniiMcNvRgeOQ6DOF+jHHVksUM4eO
+ac761ac78f576cee64046e115ac42d2a3b227682 0 iEYEABECAAYFAlVItlgACgkQCX/oGf+2qkPgSACeNz58xoUWpTvMywmncbWx7+r7bnUAn1Ba1al80Q9HMY/wiMNu1Vfpd9Jo
--- a/.hgtags	Tue May 19 12:36:46 2015 +0200
+++ b/.hgtags	Wed May 20 09:24:44 2015 +0200
@@ -177,3 +177,6 @@
 ed3565630685be1107627816bfd88379e174d7a7 3.0PR14Q4
 17ffddb263ab6fcea496938be6eb10b8c5c53729 3.0PR15Q1
 39f3bed2ed0eaa2a7e69a46d7bf417c346e25a6a 3.0PR15Q1.1
+31dfe7896f8fcd9390b979d7c6972f5aea00d199 3.0PR15Q1.2
+ad409516bfa0b1c6f7ab128cab4526dd5058c787 3.0PR15Q1.3
+4239774eb8de8f0740bfbd6e3e36c075ee2a5a91 3.0PR15Q2
--- a/legal/Licensing.txt	Tue May 19 12:36:46 2015 +0200
+++ b/legal/Licensing.txt	Wed May 20 09:24:44 2015 +0200
@@ -3,7 +3,7 @@
 This license file applies to the Openbravo ERP software (the "Openbravo
 Software"), except as described below.
 
-This product is Copyright 2001-2011 Openbravo S.L.U.  For other detailed notice,
+This product is Copyright 2001-2015 Openbravo S.L.U.  For other detailed notice,
 see the "NOTICE" file with this distribution.
 
 This product is free software; you can redistribute it and/or modify
@@ -243,7 +243,6 @@
 # httpclient-4.0.jar
 # httpmime-4.1.jar
 # guice-2.0.jar
-# openid4java-0.9.6.jar
 Under the Apache 2.0 license (included as Apache_license-2.0.txt in this folder)
 
 # jslint4java-1.4.7.jar
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></NAME>
-<!--A918E3331C404B889D69AA9BFAFB23AC-->  <VERSION><![CDATA[3.0.26297]]></VERSION>
+<!--A918E3331C404B889D69AA9BFAFB23AC-->  <VERSION><![CDATA[3.0.26651]]></VERSION>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <DESCRIPTION><![CDATA[Managing your finances with an ERP does not have to be difficult. Enjoy a radically improved user experience that combines the power of an enterprise grade financial application with the simplicity and ease of a web 2.0 personal accounting service.]]></DESCRIPTION>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <HELP><![CDATA[Advanced Payables and Receivables Management simplifies and automates the business processes around the management of financial accounts, from the receipt and issue of payment, to the reconciliation of those events with bank statements.
 If you would like to help shape this module you are welcome to take part in the forum discussions or register feature requests or issues in the corresponding (Forum and Bug Tracking) sections in the Advanced Payables and Receivable project in the OB Forge.]]></HELP>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <AD_DEPENDENT_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_DEPENDENT_MODULE_ID>
-<!--89326AE95DAD449D85DFAB2C5B1C6683-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--89326AE95DAD449D85DFAB2C5B1C6683-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Selector]]></DEPENDANT_MODULE_NAME>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--B97FC854C6DD41E692161585645A900F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--B97FC854C6DD41E692161585645A900F-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--B97FC854C6DD41E692161585645A900F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--B97FC854C6DD41E692161585645A900F-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--B97FC854C6DD41E692161585645A900F-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--B97FC854C6DD41E692161585645A900F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--B97FC854C6DD41E692161585645A900F-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--B97FC854C6DD41E692161585645A900F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -19,6 +19,7 @@
 <!--017312F51139438A9665775E3B5392A1-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--017312F51139438A9665775E3B5392A1-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--017312F51139438A9665775E3B5392A1-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--017312F51139438A9665775E3B5392A1-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--017312F51139438A9665775E3B5392A1--></AD_PROCESS>
 
 <!--0BDC2164ED3E48539FCEF4D306F29EFD--><AD_PROCESS>
@@ -40,6 +41,7 @@
 <!--0BDC2164ED3E48539FCEF4D306F29EFD-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--0BDC2164ED3E48539FCEF4D306F29EFD-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--0BDC2164ED3E48539FCEF4D306F29EFD-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--0BDC2164ED3E48539FCEF4D306F29EFD-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--0BDC2164ED3E48539FCEF4D306F29EFD--></AD_PROCESS>
 
 <!--12016E2EDE0245B5A36B84CBA144DBDF--><AD_PROCESS>
@@ -62,6 +64,7 @@
 <!--12016E2EDE0245B5A36B84CBA144DBDF-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--12016E2EDE0245B5A36B84CBA144DBDF-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--12016E2EDE0245B5A36B84CBA144DBDF-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--12016E2EDE0245B5A36B84CBA144DBDF-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--12016E2EDE0245B5A36B84CBA144DBDF--></AD_PROCESS>
 
 <!--15C8708DFC464C2D91286E59624FDD18--><AD_PROCESS>
@@ -85,6 +88,7 @@
 <!--15C8708DFC464C2D91286E59624FDD18-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--15C8708DFC464C2D91286E59624FDD18-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--15C8708DFC464C2D91286E59624FDD18-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--15C8708DFC464C2D91286E59624FDD18--></AD_PROCESS>
 
 <!--19EEA22FCA464979B3ADAD3A967ADA52--><AD_PROCESS>
@@ -106,6 +110,7 @@
 <!--19EEA22FCA464979B3ADAD3A967ADA52-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--19EEA22FCA464979B3ADAD3A967ADA52-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--19EEA22FCA464979B3ADAD3A967ADA52-->  <IS_EXPLICIT_ACCESS><![CDATA[Y]]></IS_EXPLICIT_ACCESS>
+<!--19EEA22FCA464979B3ADAD3A967ADA52-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--19EEA22FCA464979B3ADAD3A967ADA52--></AD_PROCESS>
 
 <!--29D17F515727436DBCE32BC6CA28382B--><AD_PROCESS>
@@ -127,6 +132,7 @@
 <!--29D17F515727436DBCE32BC6CA28382B-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--29D17F515727436DBCE32BC6CA28382B-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--29D17F515727436DBCE32BC6CA28382B-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--29D17F515727436DBCE32BC6CA28382B-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--29D17F515727436DBCE32BC6CA28382B--></AD_PROCESS>
 
 <!--2DDE7D3618034C38A4462B7F3456C28D--><AD_PROCESS>
@@ -148,6 +154,7 @@
 <!--2DDE7D3618034C38A4462B7F3456C28D-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--2DDE7D3618034C38A4462B7F3456C28D-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--2DDE7D3618034C38A4462B7F3456C28D-->  <IS_EXPLICIT_ACCESS><![CDATA[Y]]></IS_EXPLICIT_ACCESS>
+<!--2DDE7D3618034C38A4462B7F3456C28D-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--2DDE7D3618034C38A4462B7F3456C28D--></AD_PROCESS>
 
 <!--2EED9BC16DB34D2B80BA40A21564BECF--><AD_PROCESS>
@@ -171,6 +178,7 @@
 <!--2EED9BC16DB34D2B80BA40A21564BECF-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--2EED9BC16DB34D2B80BA40A21564BECF-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--2EED9BC16DB34D2B80BA40A21564BECF-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--2EED9BC16DB34D2B80BA40A21564BECF-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--2EED9BC16DB34D2B80BA40A21564BECF--></AD_PROCESS>
 
 <!--3C4A5FB206B74C3CA9FE20116FCA0464--><AD_PROCESS>
@@ -192,6 +200,7 @@
 <!--3C4A5FB206B74C3CA9FE20116FCA0464-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--3C4A5FB206B74C3CA9FE20116FCA0464-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--3C4A5FB206B74C3CA9FE20116FCA0464-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--3C4A5FB206B74C3CA9FE20116FCA0464-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--3C4A5FB206B74C3CA9FE20116FCA0464--></AD_PROCESS>
 
 <!--4A059E4F79294640AD37B1B718C56E5D--><AD_PROCESS>
@@ -215,6 +224,7 @@
 <!--4A059E4F79294640AD37B1B718C56E5D-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--4A059E4F79294640AD37B1B718C56E5D-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--4A059E4F79294640AD37B1B718C56E5D-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--4A059E4F79294640AD37B1B718C56E5D-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--4A059E4F79294640AD37B1B718C56E5D--></AD_PROCESS>
 
 <!--58A9261BACEF45DDA526F29D8557272D--><AD_PROCESS>
@@ -236,6 +246,7 @@
 <!--58A9261BACEF45DDA526F29D8557272D-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--58A9261BACEF45DDA526F29D8557272D-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--58A9261BACEF45DDA526F29D8557272D-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--58A9261BACEF45DDA526F29D8557272D-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--58A9261BACEF45DDA526F29D8557272D--></AD_PROCESS>
 
 <!--5BE14AA10165490A9ADEFB7532F7FA94--><AD_PROCESS>
@@ -257,6 +268,7 @@
 <!--5BE14AA10165490A9ADEFB7532F7FA94-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--5BE14AA10165490A9ADEFB7532F7FA94-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--5BE14AA10165490A9ADEFB7532F7FA94-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--5BE14AA10165490A9ADEFB7532F7FA94-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--5BE14AA10165490A9ADEFB7532F7FA94--></AD_PROCESS>
 
 <!--6255BE488882480599C81284B70CD9B3--><AD_PROCESS>
@@ -278,6 +290,7 @@
 <!--6255BE488882480599C81284B70CD9B3-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--6255BE488882480599C81284B70CD9B3-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--6255BE488882480599C81284B70CD9B3-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--6255BE488882480599C81284B70CD9B3-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--6255BE488882480599C81284B70CD9B3--></AD_PROCESS>
 
 <!--62E6270312534380B9A8BDF603CA8FBB--><AD_PROCESS>
@@ -300,6 +313,7 @@
 <!--62E6270312534380B9A8BDF603CA8FBB-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--62E6270312534380B9A8BDF603CA8FBB-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--62E6270312534380B9A8BDF603CA8FBB-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--62E6270312534380B9A8BDF603CA8FBB-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--62E6270312534380B9A8BDF603CA8FBB--></AD_PROCESS>
 
 <!--6BF16EFC772843AC9A17552AE0B26AB7--><AD_PROCESS>
@@ -321,6 +335,7 @@
 <!--6BF16EFC772843AC9A17552AE0B26AB7-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--6BF16EFC772843AC9A17552AE0B26AB7-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--6BF16EFC772843AC9A17552AE0B26AB7-->  <IS_EXPLICIT_ACCESS><![CDATA[Y]]></IS_EXPLICIT_ACCESS>
+<!--6BF16EFC772843AC9A17552AE0B26AB7-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--6BF16EFC772843AC9A17552AE0B26AB7--></AD_PROCESS>
 
 <!--7AC7BE9024E448A0BB863C159DA762F9--><AD_PROCESS>
@@ -343,6 +358,7 @@
 <!--7AC7BE9024E448A0BB863C159DA762F9-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--7AC7BE9024E448A0BB863C159DA762F9-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--7AC7BE9024E448A0BB863C159DA762F9-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--7AC7BE9024E448A0BB863C159DA762F9-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--7AC7BE9024E448A0BB863C159DA762F9--></AD_PROCESS>
 
 <!--AA64E3BA23F24D4F8E6B06970500FC70--><AD_PROCESS>
@@ -367,6 +383,7 @@
 <!--AA64E3BA23F24D4F8E6B06970500FC70-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--AA64E3BA23F24D4F8E6B06970500FC70-->  <PREVENTCONCURRENT><![CDATA[Y]]></PREVENTCONCURRENT>
 <!--AA64E3BA23F24D4F8E6B06970500FC70-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--AA64E3BA23F24D4F8E6B06970500FC70-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--AA64E3BA23F24D4F8E6B06970500FC70--></AD_PROCESS>
 
 <!--B54318B49E984B9CB855AEFB1F474CD6--><AD_PROCESS>
@@ -389,6 +406,7 @@
 <!--B54318B49E984B9CB855AEFB1F474CD6-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--B54318B49E984B9CB855AEFB1F474CD6-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--B54318B49E984B9CB855AEFB1F474CD6-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--B54318B49E984B9CB855AEFB1F474CD6-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--B54318B49E984B9CB855AEFB1F474CD6--></AD_PROCESS>
 
 <!--BBA11D1A061346459AF6148920FE6629--><AD_PROCESS>
@@ -410,6 +428,7 @@
 <!--BBA11D1A061346459AF6148920FE6629-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--BBA11D1A061346459AF6148920FE6629-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--BBA11D1A061346459AF6148920FE6629-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--BBA11D1A061346459AF6148920FE6629-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--BBA11D1A061346459AF6148920FE6629--></AD_PROCESS>
 
 <!--C125EA7C85234D8B89FEA511FCCD2E9E--><AD_PROCESS>
@@ -431,6 +450,7 @@
 <!--C125EA7C85234D8B89FEA511FCCD2E9E-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--C125EA7C85234D8B89FEA511FCCD2E9E-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--C125EA7C85234D8B89FEA511FCCD2E9E-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--C125EA7C85234D8B89FEA511FCCD2E9E-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--C125EA7C85234D8B89FEA511FCCD2E9E--></AD_PROCESS>
 
 <!--D16966FBF9604A3D91A50DC83C6EA8E3--><AD_PROCESS>
@@ -453,6 +473,7 @@
 <!--D16966FBF9604A3D91A50DC83C6EA8E3-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--D16966FBF9604A3D91A50DC83C6EA8E3-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--D16966FBF9604A3D91A50DC83C6EA8E3-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--D16966FBF9604A3D91A50DC83C6EA8E3-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--D16966FBF9604A3D91A50DC83C6EA8E3--></AD_PROCESS>
 
 <!--D5B90B539C254B959045EDCA1DC99BDF--><AD_PROCESS>
@@ -476,6 +497,7 @@
 <!--D5B90B539C254B959045EDCA1DC99BDF-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--D5B90B539C254B959045EDCA1DC99BDF-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--D5B90B539C254B959045EDCA1DC99BDF-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--D5B90B539C254B959045EDCA1DC99BDF-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--D5B90B539C254B959045EDCA1DC99BDF--></AD_PROCESS>
 
 <!--DC23BB9234174E52879E4B21C8CD1F4B--><AD_PROCESS>
@@ -498,6 +520,7 @@
 <!--DC23BB9234174E52879E4B21C8CD1F4B-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--DC23BB9234174E52879E4B21C8CD1F4B-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--DC23BB9234174E52879E4B21C8CD1F4B-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--DC23BB9234174E52879E4B21C8CD1F4B-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--DC23BB9234174E52879E4B21C8CD1F4B--></AD_PROCESS>
 
 <!--DE1B382FDD2540199D223586F6E216D0--><AD_PROCESS>
@@ -521,6 +544,7 @@
 <!--DE1B382FDD2540199D223586F6E216D0-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--DE1B382FDD2540199D223586F6E216D0-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--DE1B382FDD2540199D223586F6E216D0-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--DE1B382FDD2540199D223586F6E216D0-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--DE1B382FDD2540199D223586F6E216D0--></AD_PROCESS>
 
 <!--E011F492B0814A74B63CD1F3B9FF0526--><AD_PROCESS>
@@ -542,6 +566,7 @@
 <!--E011F492B0814A74B63CD1F3B9FF0526-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--E011F492B0814A74B63CD1F3B9FF0526-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--E011F492B0814A74B63CD1F3B9FF0526-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--E011F492B0814A74B63CD1F3B9FF0526-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--E011F492B0814A74B63CD1F3B9FF0526--></AD_PROCESS>
 
 <!--E3E92E9F08214507958E6875E66F2F99--><AD_PROCESS>
@@ -564,6 +589,7 @@
 <!--E3E92E9F08214507958E6875E66F2F99-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--E3E92E9F08214507958E6875E66F2F99-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--E3E92E9F08214507958E6875E66F2F99-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--E3E92E9F08214507958E6875E66F2F99-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--E3E92E9F08214507958E6875E66F2F99--></AD_PROCESS>
 
 <!--E54287EE357C493EB127DC3BA1758751--><AD_PROCESS>
@@ -586,6 +612,7 @@
 <!--E54287EE357C493EB127DC3BA1758751-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--E54287EE357C493EB127DC3BA1758751-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--E54287EE357C493EB127DC3BA1758751-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--E54287EE357C493EB127DC3BA1758751-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--E54287EE357C493EB127DC3BA1758751--></AD_PROCESS>
 
 <!--EB3D56BDD37E4229B67DBAB9F9A9B167--><AD_PROCESS>
@@ -608,6 +635,7 @@
 <!--EB3D56BDD37E4229B67DBAB9F9A9B167-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--EB3D56BDD37E4229B67DBAB9F9A9B167-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--EB3D56BDD37E4229B67DBAB9F9A9B167-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--EB3D56BDD37E4229B67DBAB9F9A9B167-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--EB3D56BDD37E4229B67DBAB9F9A9B167--></AD_PROCESS>
 
 <!--F68F2890E96D4D85A1DEF0274D105BCE--><AD_PROCESS>
@@ -629,6 +657,7 @@
 <!--F68F2890E96D4D85A1DEF0274D105BCE-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--F68F2890E96D4D85A1DEF0274D105BCE-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--F68F2890E96D4D85A1DEF0274D105BCE-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--F68F2890E96D4D85A1DEF0274D105BCE-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--F68F2890E96D4D85A1DEF0274D105BCE--></AD_PROCESS>
 
 <!--FF8080812E2F8EAE012E2F94CF470014--><AD_PROCESS>
@@ -651,6 +680,7 @@
 <!--FF8080812E2F8EAE012E2F94CF470014-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--FF8080812E2F8EAE012E2F94CF470014-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--FF8080812E2F8EAE012E2F94CF470014-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--FF8080812E2F8EAE012E2F94CF470014-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--FF8080812E2F8EAE012E2F94CF470014--></AD_PROCESS>
 
 <!--FF8080812F348A97012F349DC24F0007--><AD_PROCESS>
@@ -672,6 +702,7 @@
 <!--FF8080812F348A97012F349DC24F0007-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--FF8080812F348A97012F349DC24F0007-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--FF8080812F348A97012F349DC24F0007-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--FF8080812F348A97012F349DC24F0007-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--FF8080812F348A97012F349DC24F0007--></AD_PROCESS>
 
 </data>
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/AddPaymentOrderInvoicesTransformer.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/AddPaymentOrderInvoicesTransformer.java	Wed May 20 09:24:44 2015 +0200
@@ -287,7 +287,9 @@
     StringBuffer groupByClause = new StringBuffer();
     // Create GroupBy Clause
     if ("I".equals(transactionType)) {
+      groupByClause.append(" inv.id, ");
       groupByClause.append(" inv.documentNo, ");
+      groupByClause.append(" inv.documentType, ");
       groupByClause.append(" COALESCE(ips.finPaymentmethod.id, ops.finPaymentmethod.id), ");
       groupByClause.append(" COALESCE(ipsfp.name, opsfp.name), ");
       groupByClause.append(" COALESCE(ips.expectedDate, ops.expectedDate), ");
@@ -297,14 +299,20 @@
       groupByClause.append(" oinfo.aPRMPaymentDescription, ");
       groupByClause.append(" inv.orderReference, ");
     } else if ("O".equals(transactionType)) {
+      groupByClause.append(" ord.id, ");
       groupByClause.append(" ord.documentNo, ");
+      groupByClause.append(" ord.documentType, ");
       groupByClause.append(" COALESCE(ops.finPaymentmethod.id, ips.finPaymentmethod.id), ");
       groupByClause.append(" COALESCE(opsfp.name, ipsfp.name), ");
       groupByClause.append(" COALESCE(ops.expectedDate, ips.expectedDate), ");
       groupByClause.append(" COALESCE(opriority.priority, ipriority.priority), ");
     } else {
+      groupByClause.append(" inv.id, ");
       groupByClause.append(" inv.documentNo, ");
+      groupByClause.append(" inv.documentType, ");
+      groupByClause.append(" ord.id, ");
       groupByClause.append(" ord.documentNo, ");
+      groupByClause.append(" ord.documentType, ");
       groupByClause.append(" COALESCE(ips.finPaymentmethod.id, ops.finPaymentmethod.id), ");
       groupByClause.append(" COALESCE(ipsfp.name, opsfp.name), ");
       groupByClause.append(" COALESCE(ips.expectedDate, ops.expectedDate), ");
--- a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js	Wed May 20 09:24:44 2015 +0200
@@ -505,7 +505,7 @@
     OB.APRM.AddPayment.updateDifferenceActions(form);
   }
   affectedParams.push(form.getField('overpayment_action_display_logic').paramId);
-  OB.APRM.AddPayment.recalcDisplayLogicOrReadOnlyLogic(form, null, affectedParams);
+  OB.APRM.AddPayment.recalcDisplayLogicOrReadOnlyLogic(form, form.paramWindow, affectedParams);
 };
 
 OB.APRM.AddPayment.updateDifferenceActions = function (form) {
--- a/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <NAME><![CDATA[JBoss Weld]]></NAME>
-<!--C70732EA90A14EC0916078B85CC33D2D-->  <VERSION><![CDATA[1.1.26297]]></VERSION>
+<!--C70732EA90A14EC0916078B85CC33D2D-->  <VERSION><![CDATA[1.1.26651]]></VERSION>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <DESCRIPTION><![CDATA[JBoss Weld]]></DESCRIPTION>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <HELP><![CDATA[Provides the JBoss Weld framework: Java Contexts and Dependency Injection for the Java EE platform (CDI). For more information see http://seamframework.org/Weld]]></HELP>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <URL><![CDATA[http://forge.openbravo.com/projects/weld]]></URL>
--- a/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <AD_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_MODULE_ID>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
Binary file modules/org.openbravo.client.application/lib/runtime/guice-2.0.jar has changed
Binary file modules/org.openbravo.client.application/lib/runtime/httpclient-4.0.jar has changed
Binary file modules/org.openbravo.client.application/lib/runtime/httpcore-4.0.1.jar has changed
Binary file modules/org.openbravo.client.application/lib/runtime/httpmime-4.1.jar has changed
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Wed May 20 09:24:44 2015 +0200
@@ -132,6 +132,18 @@
 <!--07AA67107E904AC9A1E80B407C9894BB-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--07AA67107E904AC9A1E80B407C9894BB--></AD_MESSAGE>
 
+<!--090A0260AFDA4799923FC2ADE44EB55B--><AD_MESSAGE>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <AD_MESSAGE_ID><![CDATA[090A0260AFDA4799923FC2ADE44EB55B]]></AD_MESSAGE_ID>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <VALUE><![CDATA[OBUIAPP_gSignInButtonDemoProfessional]]></VALUE>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <MSGTEXT><![CDATA[The <a href="http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/sso/ForgeModuleDetail/Google-Sign-In" target="_blank">module</a> that contains the <a href="http://wiki.openbravo.com/wiki/Configuration_Manual/Google_Integration" target="_blank">log in to application using Google Account</a> feature is not installed. Ask your System Administrator to install it.]]></MSGTEXT>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--090A0260AFDA4799923FC2ADE44EB55B-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--090A0260AFDA4799923FC2ADE44EB55B--></AD_MESSAGE>
+
 <!--090A37D22DDB1C89012DDB22CE910012--><AD_MESSAGE>
 <!--090A37D22DDB1C89012DDB22CE910012-->  <AD_MESSAGE_ID><![CDATA[090A37D22DDB1C89012DDB22CE910012]]></AD_MESSAGE_ID>
 <!--090A37D22DDB1C89012DDB22CE910012-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -581,6 +593,18 @@
 <!--42181711B0664B9A898BDE8754ADA4E0-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--42181711B0664B9A898BDE8754ADA4E0--></AD_MESSAGE>
 
+<!--42B286FCB7054BD49A7FCDE676DB736A--><AD_MESSAGE>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <AD_MESSAGE_ID><![CDATA[42B286FCB7054BD49A7FCDE676DB736A]]></AD_MESSAGE_ID>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <VALUE><![CDATA[OBUIAPP_gSignInButtonDemoCommunity]]></VALUE>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <MSGTEXT><![CDATA[<a href="http://wiki.openbravo.com/wiki/Configuration_Manual/Google_Integration" target="_blank">Log in to application using Google Account</a> is a Premium Feature]]></MSGTEXT>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--42B286FCB7054BD49A7FCDE676DB736A-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--42B286FCB7054BD49A7FCDE676DB736A--></AD_MESSAGE>
+
 <!--48A6793A3C364216B184A33117EF7ED1--><AD_MESSAGE>
 <!--48A6793A3C364216B184A33117EF7ED1-->  <AD_MESSAGE_ID><![CDATA[48A6793A3C364216B184A33117EF7ED1]]></AD_MESSAGE_ID>
 <!--48A6793A3C364216B184A33117EF7ED1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -821,6 +845,18 @@
 <!--6831E84EB2124F08B3FCEF6F50CF8AD1-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--6831E84EB2124F08B3FCEF6F50CF8AD1--></AD_MESSAGE>
 
+<!--699499DEBB904E1B84D4CB28600647C7--><AD_MESSAGE>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <AD_MESSAGE_ID><![CDATA[699499DEBB904E1B84D4CB28600647C7]]></AD_MESSAGE_ID>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <VALUE><![CDATA[OBUIAPP_SignIn]]></VALUE>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <MSGTEXT><![CDATA[Sign in using]]></MSGTEXT>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--699499DEBB904E1B84D4CB28600647C7-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--699499DEBB904E1B84D4CB28600647C7--></AD_MESSAGE>
+
 <!--6B478D5FA6E442B19E29F29AFF70EDBA--><AD_MESSAGE>
 <!--6B478D5FA6E442B19E29F29AFF70EDBA-->  <AD_MESSAGE_ID><![CDATA[6B478D5FA6E442B19E29F29AFF70EDBA]]></AD_MESSAGE_ID>
 <!--6B478D5FA6E442B19E29F29AFF70EDBA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1665,6 +1701,18 @@
 <!--E16F552C980C451089FF20C93122A331-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
 <!--E16F552C980C451089FF20C93122A331--></AD_MESSAGE>
 
+<!--E1B1F9C89283486F90FEE70EDC716EB7--><AD_MESSAGE>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <AD_MESSAGE_ID><![CDATA[E1B1F9C89283486F90FEE70EDC716EB7]]></AD_MESSAGE_ID>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <VALUE><![CDATA[OBUIAPP_gSignInButtonDemoAltMsg]]></VALUE>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <MSGTEXT><![CDATA[Sign in using your Google Account]]></MSGTEXT>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--E1B1F9C89283486F90FEE70EDC716EB7-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
+<!--E1B1F9C89283486F90FEE70EDC716EB7--></AD_MESSAGE>
+
 <!--E20A23145D554996A09BC927B847F3BB--><AD_MESSAGE>
 <!--E20A23145D554996A09BC927B847F3BB-->  <AD_MESSAGE_ID><![CDATA[E20A23145D554996A09BC927B847F3BB]]></AD_MESSAGE_ID>
 <!--E20A23145D554996A09BC927B847F3BB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <NAME><![CDATA[User Interface Application]]></NAME>
-<!--9BA0836A3CD74EE4AB48753A47211BCC-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--9BA0836A3CD74EE4AB48753A47211BCC-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <DESCRIPTION><![CDATA[Provides the main application components for the openbravo user interface]]></DESCRIPTION>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <HELP><![CDATA[Provides the main application components for the openbravo user interface. The main layout incorporates a navigation bar and a main view area.]]></HELP>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <URL><![CDATA[http://forge.openbravo.com/projects/clientapplication]]></URL>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--15D7CE8D95D043189162DBABA54A1F61-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--15D7CE8D95D043189162DBABA54A1F61-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--60A170212F36499D83B8AD38D01F46B3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--60A170212F36499D83B8AD38D01F46B3-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--60A170212F36499D83B8AD38D01F46B3-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--824D60CB352E4099B1D8C903CA139DAE-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--824D60CB352E4099B1D8C903CA139DAE-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--E8FD820AFE3D4FE08C02FC47769026AD-->  <STARTVERSION><![CDATA[8.1.26297]]></STARTVERSION>
+<!--E8FD820AFE3D4FE08C02FC47769026AD-->  <STARTVERSION><![CDATA[8.1.26651]]></STARTVERSION>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/ExtraWindowSettingsInjector.java	Wed May 20 09:24:44 2015 +0200
@@ -0,0 +1,55 @@
+/*
+ *************************************************************************
+ * 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.
+ ************************************************************************
+ */
+package org.openbravo.client.application;
+
+import java.util.Map;
+
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.base.exception.OBException;
+
+/**
+ * Classes implementing this interface are injected in the {@link WindowSettingsActionHandler}
+ * class. Using this interface it is possible to customize the return object of that class or to
+ * perform some custom validations. It is also possible to add some JavaScript functions to be
+ * executed on the Callback function of the Action Handler.
+ */
+public interface ExtraWindowSettingsInjector {
+
+  /**
+   * This method is executed in the {@link WindowSettingsActionHandler#execute(Map, String) execute}
+   * method.
+   * 
+   * Using the WindowSettingsActionHandler.EXTRA_CALLBACK key it is possible to return a
+   * List<String> with JavaScript functions that are executed on the callback of the
+   * WindowSettingsActionHandler execution. These functions only receive the "data" object as
+   * argument.
+   * 
+   * All other keys are included in a "extraSettings" JavaScript object in the response "data"
+   * object.
+   * 
+   * @param parameters
+   *          the parameters Map of the current WindowSettingsActionHandler execution.
+   * @param json
+   *          the JSONObject instance of the response of the WindowSettingsActionHandler.
+   * @return A Map<String, Object> with all the extra settings desired to be included in the
+   *         WindowSettingsActionHandler response.
+   * @throws OBException
+   */
+  public Map<String, Object> doAddSetting(Map<String, Object> parameters, JSONObject json)
+      throws OBException;
+}
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java	Wed May 20 09:24:44 2015 +0200
@@ -11,18 +11,22 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2011-2014 Openbravo SLU 
+ * All portions are Copyright (C) 2011-2015 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
  */
 package org.openbravo.client.application;
 
+import java.util.List;
 import java.util.Map;
+import java.util.Map.Entry;
 import java.util.Set;
 import java.util.TreeSet;
 
 import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.inject.Any;
+import javax.enterprise.inject.Instance;
 import javax.inject.Inject;
 
 import org.apache.log4j.Logger;
@@ -57,10 +61,15 @@
 @ApplicationScoped
 public class WindowSettingsActionHandler extends BaseActionHandler {
   private static final Logger log4j = Logger.getLogger(WindowSettingsActionHandler.class);
+  public static final String EXTRA_CALLBACKS = "extraCallbacks";
 
   @Inject
   private PersonalizationHandler personalizationHandler;
 
+  @Inject
+  @Any
+  private Instance<ExtraWindowSettingsInjector> extraSettings;
+
   protected JSONObject execute(Map<String, Object> parameters, String data) {
 
     try {
@@ -197,6 +206,37 @@
         ps.put(KernelUtils.getProperty(f).getName());
       }
 
+      JSONObject extraSettingsJson = new JSONObject();
+      json.put("extraSettings", extraSettingsJson);
+      JSONArray extraCallbacks = new JSONArray();
+
+      // Add the extraSettings injected
+      for (ExtraWindowSettingsInjector nextSetting : extraSettings) {
+        Map<String, Object> settingsToAdd = nextSetting.doAddSetting(parameters, json);
+        for (Entry<String, Object> setting : settingsToAdd.entrySet()) {
+          String settingKey = setting.getKey();
+          Object settingValue = setting.getValue();
+          if (settingKey.equals(EXTRA_CALLBACKS)) {
+            if (settingValue instanceof List) {
+              for (Object callbackExtra : (List<?>) settingValue) {
+                if (callbackExtra instanceof String) {
+                  extraCallbacks.put((String) callbackExtra);
+                } else {
+                  log4j.warn("You are trying to set a wrong instance of extraCallbacks");
+                }
+              }
+            } else if (settingValue instanceof String) {
+              extraCallbacks.put((String) settingValue);
+            } else {
+              log4j.warn("You are trying to set a wrong instance of extraCallbacks");
+            }
+          } else {
+            extraSettingsJson.put(settingKey, settingValue);
+          }
+        }
+      }
+      json.put("extraCallbacks", extraCallbacks);
+
       return json;
     } catch (Exception e) {
       throw new OBException(e);
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java	Wed May 20 09:24:44 2015 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2014 Openbravo SLU
+ * All portions are Copyright (C) 2014-2015 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -24,6 +24,7 @@
 
 import javax.enterprise.event.Observes;
 
+import org.hibernate.criterion.Restrictions;
 import org.openbravo.base.model.Entity;
 import org.openbravo.base.model.ModelProvider;
 import org.openbravo.base.model.Property;
@@ -31,8 +32,10 @@
 import org.openbravo.client.kernel.event.EntityPersistenceEventObserver;
 import org.openbravo.client.kernel.event.EntityUpdateEvent;
 import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.model.ad.utility.Image;
+import org.openbravo.model.common.plm.Product;
 
 public class RemoveImagesEventHandler extends EntityPersistenceEventObserver {
 
@@ -43,8 +46,7 @@
     return entities;
   }
 
-  public void onDelete(@Observes
-  EntityDeleteEvent event) {
+  public void onDelete(@Observes EntityDeleteEvent event) {
     if (!isValidEvent(event)) {
       return;
     }
@@ -58,21 +60,22 @@
       if (event.getCurrentState(imageProperty) != null) {
 
         Image bob = (Image) event.getCurrentState(imageProperty);
-
         if (bob != null) {
-          OBContext.setAdminMode(true);
-          try {
-            OBDal.getInstance().remove(bob);
-          } finally {
-            OBContext.restorePreviousMode();
+          String selectedProduct = event.getId();
+          if (!checkImageUtilization(selectedProduct, bob)) {
+            OBContext.setAdminMode(true);
+            try {
+              OBDal.getInstance().remove(bob);
+            } finally {
+              OBContext.restorePreviousMode();
+            }
           }
         }
       }
     }
   }
 
-  public void onUpdate(@Observes
-  EntityUpdateEvent event) {
+  public void onUpdate(@Observes EntityUpdateEvent event) {
     if (!isValidEvent(event)) {
       return;
     }
@@ -87,13 +90,15 @@
           && event.getCurrentState(imageProperty) != event.getPreviousState(imageProperty)) {
 
         Image bob = (Image) event.getPreviousState(imageProperty);
-
         if (bob != null) {
-          OBContext.setAdminMode(true);
-          try {
-            OBDal.getInstance().remove(bob);
-          } finally {
-            OBContext.restorePreviousMode();
+          String selectedProduct = event.getId();
+          if (!checkImageUtilization(selectedProduct, bob)) {
+            OBContext.setAdminMode(true);
+            try {
+              OBDal.getInstance().remove(bob);
+            } finally {
+              OBContext.restorePreviousMode();
+            }
           }
         }
       }
@@ -110,6 +115,23 @@
     return (Entity[]) entityArray.toArray(new Entity[entityArray.size()]);
   }
 
+  // Check if this image is used by another product
+  private static boolean checkImageUtilization(String productId, Image bob) {
+    final OBCriteria<Product> obCriteria = OBDal.getInstance().createCriteria(Product.class);
+    obCriteria.add(Restrictions.eq(Product.PROPERTY_IMAGE, bob));
+    obCriteria.add(Restrictions.ne(Product.PROPERTY_ID, productId));
+    obCriteria.setFilterOnActive(false);
+    obCriteria.setFilterOnReadableClients(false);
+    obCriteria.setFilterOnReadableOrganization(false);
+    obCriteria.setMaxResults(1);
+    Product product = (Product) obCriteria.uniqueResult();
+
+    if (product != null) {
+      return true;
+    }
+    return false;
+  }
+
   private static List<String> getImageProperties(Entity entity) {
     // Get EntitiesWithImages from ModelProvider
     return ModelProvider.getInstance().getEntityWithImage().get(entity);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FICExtension.java	Wed May 20 09:24:44 2015 +0200
@@ -0,0 +1,68 @@
+/*
+ *************************************************************************
+ * 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.client.application.window;
+
+import java.util.List;
+import java.util.Map;
+
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.base.structure.BaseOBObject;
+import org.openbravo.model.ad.ui.Tab;
+
+/**
+ * Classes implementing this interface are injected in the {@link FormInitializationComponent}
+ * class. Using this interface it is possible to customize the return object of that class or to
+ * perform some custom validations.
+ */
+public interface FICExtension {
+
+  /**
+   * This method is executed in the {@link FormInitializationComponent#execute(Map, String) execute}
+   * method just before the response JSONObject is built. It receives all the instances of the
+   * objects used to build the response.
+   * 
+   * @param mode
+   *          The execution mode.
+   * @param tab
+   *          The Tab owner of the Form that it is being executed.
+   * @param columnValues
+   *          Map with the values of forms columns.
+   * @param row
+   *          The BaseOBObject that it is being edited in the form.
+   * @param changeEventCols
+   *          The List of dynamic columns that fire the CHANGE event mode.
+   * @param calloutMessages
+   *          The list of messages returned by the callouts that have been executed.
+   * @param attachments
+   *          The list with the attachments related to the record that it is being edited.
+   * @param jsExcuteCode
+   *          The list of JavaScrip code returned by the callouts to be executed in the client.
+   * @param hiddenInputs
+   *          The Map with all the hidden fields with their values.
+   * @param noteCount
+   *          count of notes available on the record that it is being edited.
+   * @param overwrittenAuxiliaryInputs
+   *          The list of the Auxiliary Inputs that have been overriden by callouts.
+   */
+  public void execute(String mode, Tab tab, Map<String, JSONObject> columnValues, BaseOBObject row,
+      List<String> changeEventCols, List<JSONObject> calloutMessages, List<JSONObject> attachments,
+      List<String> jsExcuteCode, Map<String, Object> hiddenInputs, int noteCount,
+      List<String> overwrittenAuxiliaryInputs);
+
+}
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java	Wed May 20 09:24:44 2015 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2010-2014 Openbravo SLU 
+ * All portions are Copyright (C) 2010-2015 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -29,6 +29,8 @@
 import java.util.List;
 import java.util.Map;
 
+import javax.enterprise.inject.Any;
+import javax.enterprise.inject.Instance;
 import javax.inject.Inject;
 
 import org.apache.log4j.Logger;
@@ -105,6 +107,10 @@
   @Inject
   private ApplicationDictionaryCachedStructures cachedStructures;
 
+  @Inject
+  @Any
+  private Instance<FICExtension> ficExtensions;
+
   @Override
   protected JSONObject execute(Map<String, Object> parameters, String content) {
     OBContext.setAdminMode(true);
@@ -286,16 +292,23 @@
       long t8 = System.currentTimeMillis();
       int noteCount = computeNoteCount(tab, rowId);
 
+      // Execute hooks implementing FICExtension.
+      long t9 = System.currentTimeMillis();
+      for (FICExtension ficExtension : ficExtensions) {
+        ficExtension.execute(mode, tab, columnValues, row, changeEventCols, calloutMessages,
+            attachments, jsExcuteCode, hiddenInputs, noteCount, overwrittenAuxiliaryInputs);
+      }
+
       // Construction of the final JSONObject
-      long t9 = System.currentTimeMillis();
+      long t10 = System.currentTimeMillis();
       JSONObject finalObject = buildJSONObject(mode, tab, columnValues, row, changeEventCols,
           calloutMessages, attachments, jsExcuteCode, hiddenInputs, noteCount,
           overwrittenAuxiliaryInputs);
       analyzeResponse(tab, columnValues);
-      long t10 = System.currentTimeMillis();
+      long t11 = System.currentTimeMillis();
       log.debug("Elapsed time: " + (System.currentTimeMillis() - iniTime) + "(" + (t2 - t1) + ","
           + (t3 - t2) + "," + (t4 - t3) + "," + (t5 - t4) + "," + (t6 - t5) + "," + (t7 - t6) + ","
-          + (t8 - t7) + "," + (t9 - t8) + "," + (t10 - t9) + ")");
+          + (t8 - t7) + "," + (t9 - t8) + "," + (t10 - t9) + "," + (t11 - t10) + ")");
       log.debug("Attachment exists: " + finalObject.getBoolean("attachmentExists"));
       return finalObject;
     } catch (Throwable t) {
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js	Wed May 20 09:24:44 2015 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2011-2014 Openbravo SLU
+ * All portions are Copyright (C) 2011-2015 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -216,19 +216,29 @@
       }
       this.setValue(data[this.name]);
     }
-  },
-
-  setDisabled: function (disabled) {
-    // SC doesn't handle properly dynamically disabling timeItem, this temporary hack
-    // solves the problem by disabling/enabling inner textItem
-    //    see issue #27670
-    this.textField.setDisabled(disabled);
-    this.Super('setDisabled', arguments);
   }
 });
 
 isc.OBTimeItem.changeDefaults('textFieldDefaults', {
   getTextBoxStyle: function () {
+    // Changes in 'setDisable' in the parent item doesn't affect the text field (issue #29561)
+    // With this hack, each time the text box style should be retreived, we ensure also that
+    // the 'disable' state is in sync with the parent item.
+    // PS: It cannot be done by overwriting 'setDisable' in the parent item, because default
+    //     form states (and 'disabled: true'could be one of them), doesn't pass
+    //     through 'setDisabled' function.
+    var me = this;
+    if (this.parentItem.isDisabled() && !this.isDisabled()) {
+      // Timeout to avoid fireOnPause
+      setTimeout(function () {
+        me.setDisabled(true);
+      }, 10);
+    } else if (!this.parentItem.isDisabled() && this.isDisabled()) {
+      // Timeout to avoid fireOnPause
+      setTimeout(function () {
+        me.setDisabled(false);
+      }, 10);
+    }
     // SC does not handle properly styles for inner textItem representing the time,
     // this is a temporary hack till it is fixed in SC code
     //   see issue #27670
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js	Wed May 20 09:24:44 2015 +0200
@@ -1400,7 +1400,17 @@
         this.grid.fetchingData = false;
       }
     }
+  },
+
+  scrollTo: function () {
+    if (this.grid.isFilteringExternally) {
+      // prevents scrolling the grid while in the middle of a filter datasource request
+      // this prevents a duplicated request, see issue https://issues.openbravo.com/view.php?id=29896
+      return;
+    }
+    this.Super('scrollTo', arguments);
   }
+
 });
 
 isc.ClassFactory.defineClass('OBGridSummary', isc.OBGrid);
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Wed May 20 09:24:44 2015 +0200
@@ -206,7 +206,13 @@
       // clone to prevent side effects
       var requestProperties = isc.clone(this.context);
       this.context.params = this.grid.getFetchRequestParams(requestProperties.params);
-      if (this.grid.refreshingWithSelectedRecord) {
+      if (this.grid.isFilteringExternally) {
+        // requests triggered by filtering the grid should always load the first page
+        // if after that the user scrolls down, the isFilteringExternally flag will be false and
+        // the proper page will be loaded
+        startRow = 0;
+        endRow = this.grid.dataPageSize;
+      } else if (this.grid.refreshingWithSelectedRecord) {
         // if the grid was refreshed with a record selected, use the range that contained that record 
         //  instead of using targetRecordId to improve the performance
         startRow = this.grid.selectedRecordInitInterval;
@@ -238,8 +244,7 @@
     },
 
     transformData: function (newData, dsResponse) {
-      var i, length, timeFields, responseToFilter, responseToSort = false,
-          newTotalRows;
+      var i, length, timeFields, responseToFilter, newTotalRows;
 
       // when the data is received from the datasource, time fields are formatted in UTC time. They have to be converted to local time
       if (dsResponse && dsResponse.context && (dsResponse.context.operationType === 'fetch' || dsResponse.context.operationType === 'update' || dsResponse.context.operationType === 'add')) {
@@ -260,10 +265,6 @@
         responseToFilter = true;
       }
 
-      if (dsResponse.context && dsResponse.context._dsRequest && dsResponse.context._dsRequest.params && dsResponse.context._dsRequest.params.isSorting) {
-        responseToSort = true;
-      }
-
       if (this.localData && !responseToFilter) {
         length = this.localData.length;
         newTotalRows = dsResponse.totalRows;
@@ -282,11 +283,11 @@
           // increase one to request additional page to backend
         }
 
-        // detects if the request was issued due to having scrolled up
-        // this does not apply when the grid has just been sorted, as the previous local data is discarded
-        if (!responseToSort && this.grid.body.lastScrollTop !== undefined && this.grid.body.lastScrollTop > this.grid.body.getScrollTop()) {
-          // in that case, set the totalRows of the response to the length of the localData, to avoid
-          // setting the totalRows of the grid to an invalid value
+        // detects if the request was issued due to having scrolled up.
+        // in that case, set the totalRows of the response to the length of the localData, to avoid
+        // setting the totalRows of the grid to an invalid value
+        // to confirm if this is the case, we check if there are rows loaded after the page that was just received
+        if (this.rowIsLoaded(dsResponse.endRow + 1)) {
           dsResponse.totalRows = this.localData.length;
         }
 
@@ -1969,6 +1970,7 @@
   },
 
   handleFilterEditorSubmit: function (criteria, context, autoSaveDone) {
+    var callback, me = this;
     if (!autoSaveDone) {
       var actionObject = {
         target: this,
@@ -1978,8 +1980,15 @@
       this.view.standardWindow.doActionAfterAutoSave(actionObject, true);
       return;
     }
-
-    this.Super('handleFilterEditorSubmit', arguments);
+    callback = function () {
+      delete me.isFilteringExternally;
+    };
+    if (this.data.willFetchData(this.convertCriteria(criteria))) {
+      // Use this flag when a filter editor submit results a datasource request
+      // This flag will be used to prevent unneeded datasource requests, see https://issues.openbravo.com/view.php?id=29896
+      this.isFilteringExternally = true;
+    }
+    this.Super('handleFilterEditorSubmit', [criteria, context, callback]);
   },
 
   getInitialCriteria: function () {
@@ -3845,7 +3854,7 @@
       rowNum = this.getEditSessionRowNum(rowNum);
       return this.Super('getRecord', [rowNum]);
     }
-    if (this.refreshingWithRecordSelected || this.refreshingWithScrolledGrid) {
+    if (this.refreshingWithRecordSelected || this.refreshingWithScrolledGrid || this.isFilteringExternally) {
       // if the grid if being refreshed do not try to return a record, just notify that is being loaded
       return Array.LOADING;
     }
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js	Wed May 20 09:24:44 2015 +0200
@@ -393,7 +393,9 @@
 
   // set window specific user settings, purposely set on class level
   setWindowSettings: function (data) {
-    var i, j, defaultView, persDefaultValue, views, length, t, tab, view, field, button, buttonParent, st, stView, stBtns, stBtn, disabledFields, personalization, notAccessibleProcesses, alwaysReadOnly = function (view, record, context) {
+    var i, j, defaultView, persDefaultValue, views, length, t, tab, view, field, button, buttonParent, //
+    st, stView, stBtns, stBtn, disabledFields, personalization, notAccessibleProcesses, extraCallback, //
+    callbackFunc, alwaysReadOnly = function (view, record, context) {
         return true;
         };
 
@@ -519,6 +521,20 @@
         }
       }
     }
+
+    //Execute extraCallbacks
+    if (data && data.extraCallbacks) {
+      for (i = 0; i < data.extraCallbacks.length; i++) {
+        extraCallback = data.extraCallbacks[i].trim();
+        // extraCallback functions only allow 'data' as unique argument. If implementor just sets
+        // the name of the function append the argument to complete the call.
+        if (!extraCallback.endsWith('(data)') && !extraCallback.endsWith('(data);')) {
+          extraCallback += '(data);';
+        }
+        callbackFunc = isc.Func.expressionToFunction('data', extraCallback);
+        callbackFunc(data);
+      }
+    }
   },
 
   checkIfDefaultSavedView: function () {
@@ -1205,6 +1221,8 @@
     // always return false to force new tabs
     if (this.multiDocumentEnabled) {
       return false;
+    } else if (OB.PropertyStore.get('AllowMultiTab', this.windowId) === 'Y') {
+      return false;
     }
     return this.isEqualParams(params) && viewName === this.getClassName();
   },
--- a/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <NAME><![CDATA[HTML Widget]]></NAME>
-<!--D393BE6F22BB44B7B728259B34FC795A-->  <VERSION><![CDATA[1.0.26297]]></VERSION>
+<!--D393BE6F22BB44B7B728259B34FC795A-->  <VERSION><![CDATA[1.0.26651]]></VERSION>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <DESCRIPTION><![CDATA[Provides the HTML Widget superclass that allows to create widget classes that embed the html code.]]></DESCRIPTION>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <HELP><![CDATA[With this module you can define your own widget classes just setting up your own html code or the html code provided by third parties.]]></HELP>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <URL><![CDATA[http://forge.openbravo.com/projects/htmlwidget]]></URL>
--- a/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <AD_MODULE_ID><![CDATA[D393BE6F22BB44B7B728259B34FC795A]]></AD_MODULE_ID>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--DCE798FBC5B648F7A3C81A6941720A57-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--DCE798FBC5B648F7A3C81A6941720A57-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--4B828F4D03264080AA1D2057B13F613C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <NAME><![CDATA[User Interface Client Kernel]]></NAME>
-<!--4B828F4D03264080AA1D2057B13F613C-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--4B828F4D03264080AA1D2057B13F613C-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <DESCRIPTION><![CDATA[Provides framework functionality for the Openbravo User Interface]]></DESCRIPTION>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <HELP><![CDATA[The user interface client kernel is a generation framework for generating client (browser) components used in Openbravo. Its components are mainly used by other modules to provide customizable and extendable user interfaces.]]></HELP>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravoclientkernel]]></URL>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--26B041893E844A53AFA58BC326C4F0D7-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--26B041893E844A53AFA58BC326C4F0D7-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <STARTVERSION><![CDATA[2.0.26297]]></STARTVERSION>
+<!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <STARTVERSION><![CDATA[2.0.26651]]></STARTVERSION>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/RequestContext.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/RequestContext.java	Wed May 20 09:24:44 2015 +0200
@@ -216,6 +216,14 @@
       if (delegate == null) {
         return attributes.get(arg0);
       }
+
+      if (arg0 != null && arg0.startsWith("org.apache.catalina.core") && getRequest() != null) {
+        // Retrieving internal Tomcat attributes, manage it as special case. Ie. dispatcher type is
+        // treated internally in a different manner and requires to be obtained from the request
+        // rather than from the delegate.
+        return getRequest().getAttribute(arg0);
+      }
+
       return delegate.getAttribute(arg0);
     }
 
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <NAME><![CDATA[Workspace & Widgets]]></NAME>
-<!--2758CD25B2704AF6BBAD10365FC82C06-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--2758CD25B2704AF6BBAD10365FC82C06-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <DESCRIPTION><![CDATA[Workspace & Widgets]]></DESCRIPTION>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <HELP><![CDATA[Provides the infrastructure of workspace tab (formerly My Openbravo)]]></HELP>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <URL><![CDATA[http://forge.openbravo.com/projects/myopenbravo]]></URL>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--15F51F03882F444CAB6593B4566DC929-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--15F51F03882F444CAB6593B4566DC929-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--15F51F03882F444CAB6593B4566DC929-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--15F51F03882F444CAB6593B4566DC929-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--15F51F03882F444CAB6593B4566DC929-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--15F51F03882F444CAB6593B4566DC929-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--15F51F03882F444CAB6593B4566DC929-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--15F51F03882F444CAB6593B4566DC929-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--E71B28FC949D481D9F59C17D01E46EF9-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--E71B28FC949D481D9F59C17D01E46EF9-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <NAME><![CDATA[Query/List Widget]]></NAME>
-<!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <VERSION><![CDATA[1.0.26297]]></VERSION>
+<!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <VERSION><![CDATA[1.0.26651]]></VERSION>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <DESCRIPTION><![CDATA[Provides the Query/List superclass widget that allows to create widget classes that prints a grid of data based on a query.]]></DESCRIPTION>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <HELP><![CDATA[With this module you can define your own widget classes that just with simple Application Dictionary shows a grid of data based on a HQL Query.]]></HELP>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <URL><![CDATA[http://forge.openbravo.com/projects/querylistwidget]]></URL>
--- a/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--26558497C31140BFAB067BA4BC47D799-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--26558497C31140BFAB067BA4BC47D799-->  <AD_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_MODULE_ID>
 <!--26558497C31140BFAB067BA4BC47D799-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--26558497C31140BFAB067BA4BC47D799-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--26558497C31140BFAB067BA4BC47D799-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--26558497C31140BFAB067BA4BC47D799-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--26558497C31140BFAB067BA4BC47D799-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--26558497C31140BFAB067BA4BC47D799-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--FF8080812D842086012D844F3CC0003E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080812D842086012D844F3CC0003E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080812D842086012D844F3CC0003E-->  <NAME><![CDATA[Widgets Collection]]></NAME>
-<!--FF8080812D842086012D844F3CC0003E-->  <VERSION><![CDATA[0.0.26297]]></VERSION>
+<!--FF8080812D842086012D844F3CC0003E-->  <VERSION><![CDATA[0.0.26651]]></VERSION>
 <!--FF8080812D842086012D844F3CC0003E-->  <DESCRIPTION><![CDATA[Collection of Workspace Widgets]]></DESCRIPTION>
 <!--FF8080812D842086012D844F3CC0003E-->  <HELP><![CDATA[Collection of Workspace Widgets]]></HELP>
 <!--FF8080812D842086012D844F3CC0003E-->  <URL><![CDATA[http://forge.openbravo.com/projects/widgetscollection]]></URL>
--- a/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--FF8080812D842086012D845002070046-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080812D842086012D845002070046-->  <AD_MODULE_ID><![CDATA[FF8080812D842086012D844F3CC0003E]]></AD_MODULE_ID>
 <!--FF8080812D842086012D845002070046-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080812D842086012D845002070046-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--FF8080812D842086012D845002070046-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--FF8080812D842086012D845002070046-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080812D842086012D845002070046-->  <DEPENDANT_MODULE_NAME><![CDATA[Workspace & Widgets]]></DEPENDANT_MODULE_NAME>
 <!--FF8080812D842086012D845002070046-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <NAME><![CDATA[Payment Report]]></NAME>
-<!--2A5EE903D7974AC298C0504FBC4501A7-->  <VERSION><![CDATA[3.0.26297]]></VERSION>
+<!--2A5EE903D7974AC298C0504FBC4501A7-->  <VERSION><![CDATA[3.0.26651]]></VERSION>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <DESCRIPTION><![CDATA[Payment Report]]></DESCRIPTION>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <URL><![CDATA[http://forge.openbravo.com/projects/paymentreport]]></URL>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <TYPE><![CDATA[M]]></TYPE>
--- a/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <AD_MODULE_ID><![CDATA[2A5EE903D7974AC298C0504FBC4501A7]]></AD_MODULE_ID>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--A3B449C4D5FE4D688CC58236FE33B802-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--A3B449C4D5FE4D688CC58236FE33B802-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_PROCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_PROCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -21,6 +21,7 @@
 <!--6AD04479EC134BD4826077F36B709876-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--6AD04479EC134BD4826077F36B709876-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--6AD04479EC134BD4826077F36B709876-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--6AD04479EC134BD4826077F36B709876-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--6AD04479EC134BD4826077F36B709876--></AD_PROCESS>
 
 </data>
--- a/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--3A3A943684D64DEF9EC39F588A656848-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <NAME><![CDATA[Orders Awaiting Delivery]]></NAME>
-<!--3A3A943684D64DEF9EC39F588A656848-->  <VERSION><![CDATA[1.1.26297]]></VERSION>
+<!--3A3A943684D64DEF9EC39F588A656848-->  <VERSION><![CDATA[1.1.26651]]></VERSION>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <DESCRIPTION><![CDATA[Report displaying sales orders not shipped.]]></DESCRIPTION>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <URL><![CDATA[http://forge.openbravo.com/projects/ordersawaitingdlivery]]></URL>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <TYPE><![CDATA[M]]></TYPE>
--- a/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <AD_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_MODULE_ID>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_PROCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_PROCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -21,6 +21,7 @@
 <!--3DAA5E63A30D45A8ABF87701F8BD91EF-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--3DAA5E63A30D45A8ABF87701F8BD91EF-->  <PREVENTCONCURRENT><![CDATA[N]]></PREVENTCONCURRENT>
 <!--3DAA5E63A30D45A8ABF87701F8BD91EF-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--3DAA5E63A30D45A8ABF87701F8BD91EF-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--3DAA5E63A30D45A8ABF87701F8BD91EF--></AD_PROCESS>
 
 </data>
--- a/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <NAME><![CDATA[JSON Datasource]]></NAME>
-<!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <DESCRIPTION><![CDATA[Provides data source CRUD functionality using JSON as the data format]]></DESCRIPTION>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <HELP><![CDATA[This module implements the datasource concept. Datasources play a central role in Smartclient applications. The datasource module automatically creates a datasource for each Openbravo entity. In addition custom data source implementations can be defined.]]></HELP>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <URL><![CDATA[http://forge.openbravo.com/projects/datasourceservice]]></URL>
--- a/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <STARTVERSION><![CDATA[2.0.26297]]></STARTVERSION>
+<!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <STARTVERSION><![CDATA[2.0.26651]]></STARTVERSION>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--4FCE95802A854F7E8623AFF7C33D13EE-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--4FCE95802A854F7E8623AFF7C33D13EE-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--54AF8B39C55E4E7496902893ECD82786-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--54AF8B39C55E4E7496902893ECD82786-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--54AF8B39C55E4E7496902893ECD82786-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--D03C56D8A4E14F45A5466350E05C631F-->  <STARTVERSION><![CDATA[8.1.26297]]></STARTVERSION>
+<!--D03C56D8A4E14F45A5466350E05C631F-->  <STARTVERSION><![CDATA[8.1.26651]]></STARTVERSION>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.integration.google/src-db/database/model/functions/OBSEIG_UPDATE_ACCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-<?xml version="1.0"?>
-  <database name="FUNCTION OBSEIG_UPDATE_ACCESS">
-    <function name="OBSEIG_UPDATE_ACCESS" type="NULL">
-      <parameter name="p_ep_instance_id" type="VARCHAR" mode="in">
-        <default/>
-      </parameter>
-      <body><![CDATA[/*************************************************************************
-* 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) 2011 Openbravo SLU
-* All Rights Reserved.
-* Contributor(s):  ______________________________________.
-************************************************************************/
-
-BEGIN
-
-  INSERT INTO OBUIAPP_View_Role_Access
-    (
-      OBUIAPP_View_Role_Access_ID, OBUIAPP_View_Impl_ID, AD_Role_ID, AD_Client_ID,
-      AD_Org_ID, IsActive, Created,
-      CreatedBy, Updated, UpdatedBy
-    )
-  SELECT get_uuid(), V.OBUIAPP_View_Impl_ID, R.AD_ROLE_ID, R.AD_CLIENT_ID,
-    R.AD_ORG_ID, 'Y', now(),
-    '0', now(), '0'
-  FROM OBUIAPP_View_Impl V, AD_Role R
-  WHERE R.isManual = 'N'
-  AND V.isActive = 'Y'
-  AND V.AD_Module_ID = 'FF8080813129ADA401312CA1222A0005'
-    AND NOT EXISTS (SELECT 1
-                     FROM OBUIAPP_View_Role_Access
-                    WHERE OBUIAPP_View_Impl_ID = V.OBUIAPP_View_Impl_ID
-                      AND AD_ROLE_ID = R.AD_ROLE_ID
-                      AND (R.ISADVANCED = 'Y' OR V.ISADVANCEDFEATURE = 'N'));
-END OBSEIG_UPDATE_ACCESS
-]]></body>
-    </function>
-  </database>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_EP_PROCEDURES.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081318454090131846F46FD001C--><AD_EP_PROCEDURES>
-<!--FF808081318454090131846F46FD001C-->  <AD_EP_PROCEDURES_ID><![CDATA[FF808081318454090131846F46FD001C]]></AD_EP_PROCEDURES_ID>
-<!--FF808081318454090131846F46FD001C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318454090131846F46FD001C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318454090131846F46FD001C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318454090131846F46FD001C-->  <AD_EXTENSION_POINTS_ID><![CDATA[8261F79453B64AC7998873A9F81A1E5A]]></AD_EXTENSION_POINTS_ID>
-<!--FF808081318454090131846F46FD001C-->  <PROCEDURENAME><![CDATA[OBSEIG_Update_Access]]></PROCEDURENAME>
-<!--FF808081318454090131846F46FD001C-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318454090131846F46FD001C--></AD_EP_PROCEDURES>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_FIELD.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,197 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--07704D7F8EC54861B176ACC4F0803A47--><AD_FIELD>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_FIELD_ID><![CDATA[07704D7F8EC54861B176ACC4F0803A47]]></AD_FIELD_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <NAME><![CDATA[Default Role]]></NAME>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <DESCRIPTION><![CDATA[Defines the default role used when creating a new user]]></DESCRIPTION>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <HELP><![CDATA[Defines the default role used when the process of login in with a Google Account doesn't find any Openbravo user associated with the account.]]></HELP>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISCENTRALLYMAINTAINED><![CDATA[N]]></ISCENTRALLYMAINTAINED>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_COLUMN_ID><![CDATA[5887370AAF5A47C3AE119D29C4442A43]]></AD_COLUMN_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <SEQNO><![CDATA[40]]></SEQNO>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--07704D7F8EC54861B176ACC4F0803A47-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--07704D7F8EC54861B176ACC4F0803A47--></AD_FIELD>
-
-<!--181EE3DEC27940D2A9E82C67B895AF18--><AD_FIELD>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_FIELD_ID><![CDATA[181EE3DEC27940D2A9E82C67B895AF18]]></AD_FIELD_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <NAME><![CDATA[Organization]]></NAME>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_COLUMN_ID><![CDATA[52A6D1BB00694B46BCC737240A27BEA1]]></AD_COLUMN_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--181EE3DEC27940D2A9E82C67B895AF18-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--181EE3DEC27940D2A9E82C67B895AF18--></AD_FIELD>
-
-<!--37CD013C64354C66BE23525F241A3A99--><AD_FIELD>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_FIELD_ID><![CDATA[37CD013C64354C66BE23525F241A3A99]]></AD_FIELD_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--37CD013C64354C66BE23525F241A3A99-->  <NAME><![CDATA[Active]]></NAME>
-<!--37CD013C64354C66BE23525F241A3A99-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
-<!--37CD013C64354C66BE23525F241A3A99-->  <HELP><![CDATA[There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records: 
-(1) The system requires the record for auditing purposes.
-(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_COLUMN_ID><![CDATA[FA207954D615418C8C2B34416215E698]]></AD_COLUMN_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--37CD013C64354C66BE23525F241A3A99-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--37CD013C64354C66BE23525F241A3A99-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--37CD013C64354C66BE23525F241A3A99-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--37CD013C64354C66BE23525F241A3A99-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--37CD013C64354C66BE23525F241A3A99-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--37CD013C64354C66BE23525F241A3A99-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--37CD013C64354C66BE23525F241A3A99-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--37CD013C64354C66BE23525F241A3A99-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--37CD013C64354C66BE23525F241A3A99--></AD_FIELD>
-
-<!--53C51764570E43D8823135352C289B48--><AD_FIELD>
-<!--53C51764570E43D8823135352C289B48-->  <AD_FIELD_ID><![CDATA[53C51764570E43D8823135352C289B48]]></AD_FIELD_ID>
-<!--53C51764570E43D8823135352C289B48-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--53C51764570E43D8823135352C289B48-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--53C51764570E43D8823135352C289B48-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--53C51764570E43D8823135352C289B48-->  <NAME><![CDATA[Default]]></NAME>
-<!--53C51764570E43D8823135352C289B48-->  <DESCRIPTION><![CDATA[A value that is shown whenever a record is created.]]></DESCRIPTION>
-<!--53C51764570E43D8823135352C289B48-->  <HELP><![CDATA[The Default Checkbox indicates if this record will be used as a default value.]]></HELP>
-<!--53C51764570E43D8823135352C289B48-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--53C51764570E43D8823135352C289B48-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--53C51764570E43D8823135352C289B48-->  <AD_COLUMN_ID><![CDATA[6105AABB22794402A57BF56C1EEC325E]]></AD_COLUMN_ID>
-<!--53C51764570E43D8823135352C289B48-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--53C51764570E43D8823135352C289B48-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--53C51764570E43D8823135352C289B48-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--53C51764570E43D8823135352C289B48-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--53C51764570E43D8823135352C289B48-->  <SEQNO><![CDATA[60]]></SEQNO>
-<!--53C51764570E43D8823135352C289B48-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--53C51764570E43D8823135352C289B48-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--53C51764570E43D8823135352C289B48-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--53C51764570E43D8823135352C289B48-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--53C51764570E43D8823135352C289B48-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--53C51764570E43D8823135352C289B48-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--53C51764570E43D8823135352C289B48-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--53C51764570E43D8823135352C289B48-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--53C51764570E43D8823135352C289B48-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--53C51764570E43D8823135352C289B48-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--53C51764570E43D8823135352C289B48--></AD_FIELD>
-
-<!--930F6B0AACCA4D4B8AD5ABD90990B014--><AD_FIELD>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_FIELD_ID><![CDATA[930F6B0AACCA4D4B8AD5ABD90990B014]]></AD_FIELD_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <NAME><![CDATA[Obseig_Defaults_ID]]></NAME>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_COLUMN_ID><![CDATA[508722B3E7184516A35F5800FB807214]]></AD_COLUMN_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--930F6B0AACCA4D4B8AD5ABD90990B014--></AD_FIELD>
-
-<!--A8EAC4B766534D86887CFE4EA3E808D7--><AD_FIELD>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_FIELD_ID><![CDATA[A8EAC4B766534D86887CFE4EA3E808D7]]></AD_FIELD_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <NAME><![CDATA[New User Active]]></NAME>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <DESCRIPTION><![CDATA[Defines if a newly created user is active by default]]></DESCRIPTION>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <HELP><![CDATA[If the Google Account used to login in Openbravo doesn't have an user associated, a new user is created. A default role is defined for this user. This flag defines if the newly created user should be active by default or not.]]></HELP>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_COLUMN_ID><![CDATA[367B51FB95134BCC9E0AB630D1763899]]></AD_COLUMN_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <SEQNO><![CDATA[50]]></SEQNO>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--A8EAC4B766534D86887CFE4EA3E808D7-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--A8EAC4B766534D86887CFE4EA3E808D7--></AD_FIELD>
-
-<!--C79402A852F2439C8BB0C688C76E977D--><AD_FIELD>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_FIELD_ID><![CDATA[C79402A852F2439C8BB0C688C76E977D]]></AD_FIELD_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <NAME><![CDATA[Client]]></NAME>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_COLUMN_ID><![CDATA[76E59140EB294155B8706CF5667A4574]]></AD_COLUMN_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--C79402A852F2439C8BB0C688C76E977D-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--C79402A852F2439C8BB0C688C76E977D--></AD_FIELD>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MENU.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF8080813151AEE1013151B119D10005--><AD_MENU>
-<!--FF8080813151AEE1013151B119D10005-->  <AD_MENU_ID><![CDATA[FF8080813151AEE1013151B119D10005]]></AD_MENU_ID>
-<!--FF8080813151AEE1013151B119D10005-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813151AEE1013151B119D10005-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813151AEE1013151B119D10005-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813151AEE1013151B119D10005-->  <NAME><![CDATA[Google Account Association]]></NAME>
-<!--FF8080813151AEE1013151B119D10005-->  <DESCRIPTION><![CDATA[Process to associate a Openbravo user with a Google Account]]></DESCRIPTION>
-<!--FF8080813151AEE1013151B119D10005-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--FF8080813151AEE1013151B119D10005-->  <ACTION><![CDATA[OBUIAPP_OpenView]]></ACTION>
-<!--FF8080813151AEE1013151B119D10005-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813151AEE1013151B119D10005-->  <OPENLINKINBROWSER><![CDATA[N]]></OPENLINKINBROWSER>
-<!--FF8080813151AEE1013151B119D10005-->  <EM_OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></EM_OBUIAPP_VIEW_IMPL_ID>
-<!--FF8080813151AEE1013151B119D10005--></AD_MENU>
-
-<!--FF8080813161A3D3013162164AB10038--><AD_MENU>
-<!--FF8080813161A3D3013162164AB10038-->  <AD_MENU_ID><![CDATA[FF8080813161A3D3013162164AB10038]]></AD_MENU_ID>
-<!--FF8080813161A3D3013162164AB10038-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813161A3D3013162164AB10038-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813161A3D3013162164AB10038-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813161A3D3013162164AB10038-->  <NAME><![CDATA[Google Integration Preferences]]></NAME>
-<!--FF8080813161A3D3013162164AB10038-->  <DESCRIPTION><![CDATA[Setup preferences for integration with Google APIs]]></DESCRIPTION>
-<!--FF8080813161A3D3013162164AB10038-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--FF8080813161A3D3013162164AB10038-->  <ACTION><![CDATA[W]]></ACTION>
-<!--FF8080813161A3D3013162164AB10038-->  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-<!--FF8080813161A3D3013162164AB10038-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813161A3D3013162164AB10038-->  <OPENLINKINBROWSER><![CDATA[N]]></OPENLINKINBROWSER>
-<!--FF8080813161A3D3013162164AB10038--></AD_MENU>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MESSAGE.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081316ACC4501316ADAA4FB0006--><AD_MESSAGE>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <AD_MESSAGE_ID><![CDATA[FF808081316ACC4501316ADAA4FB0006]]></AD_MESSAGE_ID>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <VALUE><![CDATA[OBSEIG_AssociateAccount]]></VALUE>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <MSGTEXT><![CDATA[This process associates your Google account with your Openbravo user id. After completion, if you access the system using your Google account, you will be logged in with your currently active user.
-
-Do you want to continue?]]></MSGTEXT>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081316ACC4501316ADAA4FB0006-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081316ACC4501316ADAA4FB0006--></AD_MESSAGE>
-
-<!--FF808081318513B201318519AE3C0005--><AD_MESSAGE>
-<!--FF808081318513B201318519AE3C0005-->  <AD_MESSAGE_ID><![CDATA[FF808081318513B201318519AE3C0005]]></AD_MESSAGE_ID>
-<!--FF808081318513B201318519AE3C0005-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318513B201318519AE3C0005-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318513B201318519AE3C0005-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318513B201318519AE3C0005-->  <VALUE><![CDATA[OBSEIG_SignIn]]></VALUE>
-<!--FF808081318513B201318519AE3C0005-->  <MSGTEXT><![CDATA[Sign in using:]]></MSGTEXT>
-<!--FF808081318513B201318519AE3C0005-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081318513B201318519AE3C0005-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318513B201318519AE3C0005-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081318513B201318519AE3C0005--></AD_MESSAGE>
-
-<!--FF808081318513B20131851A50FD000A--><AD_MESSAGE>
-<!--FF808081318513B20131851A50FD000A-->  <AD_MESSAGE_ID><![CDATA[FF808081318513B20131851A50FD000A]]></AD_MESSAGE_ID>
-<!--FF808081318513B20131851A50FD000A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318513B20131851A50FD000A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318513B20131851A50FD000A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318513B20131851A50FD000A-->  <VALUE><![CDATA[OBSEIG_SignInAltMsg]]></VALUE>
-<!--FF808081318513B20131851A50FD000A-->  <MSGTEXT><![CDATA[Sign in using your Google Account]]></MSGTEXT>
-<!--FF808081318513B20131851A50FD000A-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081318513B20131851A50FD000A-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318513B20131851A50FD000A-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081318513B20131851A50FD000A--></AD_MESSAGE>
-
-<!--FF808081318528680131852B80EF000A--><AD_MESSAGE>
-<!--FF808081318528680131852B80EF000A-->  <AD_MESSAGE_ID><![CDATA[FF808081318528680131852B80EF000A]]></AD_MESSAGE_ID>
-<!--FF808081318528680131852B80EF000A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318528680131852B80EF000A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318528680131852B80EF000A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318528680131852B80EF000A-->  <VALUE><![CDATA[OBSEIG_Activate]]></VALUE>
-<!--FF808081318528680131852B80EF000A-->  <MSGTEXT><![CDATA[<a href="http://wiki.openbravo.com/wiki/Configuration_Manual/Google_Integration" target="_blank">Log in to application using Google Account</a> is a Premium Feature]]></MSGTEXT>
-<!--FF808081318528680131852B80EF000A-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081318528680131852B80EF000A-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318528680131852B80EF000A-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081318528680131852B80EF000A--></AD_MESSAGE>
-
-<!--FF80808131862F7C0131863B5AD50006--><AD_MESSAGE>
-<!--FF80808131862F7C0131863B5AD50006-->  <AD_MESSAGE_ID><![CDATA[FF80808131862F7C0131863B5AD50006]]></AD_MESSAGE_ID>
-<!--FF80808131862F7C0131863B5AD50006-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF80808131862F7C0131863B5AD50006-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF80808131862F7C0131863B5AD50006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF80808131862F7C0131863B5AD50006-->  <VALUE><![CDATA[OBSEIG_NoDefaultConf]]></VALUE>
-<!--FF80808131862F7C0131863B5AD50006-->  <MSGTEXT><![CDATA[Google Account login configuration of this instance does not allow an access to application using @@email@@. <a href="http://wiki.openbravo.com/wiki/Configuration_Manual/Google_Integration" target="_blank">Learn more</a> about it or contact this instance System Administrator for help.]]></MSGTEXT>
-<!--FF80808131862F7C0131863B5AD50006-->  <MSGTIP><![CDATA[Don't delete the @@email@@ place-holder]]></MSGTIP>
-<!--FF80808131862F7C0131863B5AD50006-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF80808131862F7C0131863B5AD50006-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF80808131862F7C0131863B5AD50006-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF80808131862F7C0131863B5AD50006--></AD_MESSAGE>
-
-<!--FF808081318644E001318647A9A20008--><AD_MESSAGE>
-<!--FF808081318644E001318647A9A20008-->  <AD_MESSAGE_ID><![CDATA[FF808081318644E001318647A9A20008]]></AD_MESSAGE_ID>
-<!--FF808081318644E001318647A9A20008-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318644E001318647A9A20008-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318644E001318647A9A20008-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318644E001318647A9A20008-->  <VALUE><![CDATA[OBSEIG_TooMuchConf]]></VALUE>
-<!--FF808081318644E001318647A9A20008-->  <MSGTEXT><![CDATA[Google Account login configuration of this instance does not allow an access to application using @@emai@l@. <a href="http://wiki.openbravo.com/wiki/Configuration_Manual/Google_Integration" target="_blank">Learn more</a> about it or contact this instance System Administrator for help.]]></MSGTEXT>
-<!--FF808081318644E001318647A9A20008-->  <MSGTIP><![CDATA[Don't delete the @@email@@ place-holder]]></MSGTIP>
-<!--FF808081318644E001318647A9A20008-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081318644E001318647A9A20008-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318644E001318647A9A20008-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081318644E001318647A9A20008--></AD_MESSAGE>
-
-<!--FF808081318644E00131864951C20011--><AD_MESSAGE>
-<!--FF808081318644E00131864951C20011-->  <AD_MESSAGE_ID><![CDATA[FF808081318644E00131864951C20011]]></AD_MESSAGE_ID>
-<!--FF808081318644E00131864951C20011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081318644E00131864951C20011-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081318644E00131864951C20011-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081318644E00131864951C20011-->  <VALUE><![CDATA[OBSEIG_LinkedOK]]></VALUE>
-<!--FF808081318644E00131864951C20011-->  <MSGTEXT><![CDATA[Your user and Google Account have been successfully linked]]></MSGTEXT>
-<!--FF808081318644E00131864951C20011-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
-<!--FF808081318644E00131864951C20011-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081318644E00131864951C20011-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF808081318644E00131864951C20011--></AD_MESSAGE>
-
-<!--FF8080813190BB58013190C047510009--><AD_MESSAGE>
-<!--FF8080813190BB58013190C047510009-->  <AD_MESSAGE_ID><![CDATA[FF8080813190BB58013190C047510009]]></AD_MESSAGE_ID>
-<!--FF8080813190BB58013190C047510009-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813190BB58013190C047510009-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813190BB58013190C047510009-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813190BB58013190C047510009-->  <VALUE><![CDATA[OBSEIG_DuplicatedIdentifier]]></VALUE>
-<!--FF8080813190BB58013190C047510009-->  <MSGTEXT><![CDATA[This Google Account is already associated with another user. You can only associate one Google Account to one Openbravo user.]]></MSGTEXT>
-<!--FF8080813190BB58013190C047510009-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
-<!--FF8080813190BB58013190C047510009-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813190BB58013190C047510009-->  <ISINCLUDEINI18N><![CDATA[N]]></ISINCLUDEINI18N>
-<!--FF8080813190BB58013190C047510009--></AD_MESSAGE>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081312DCA1801312DDE6A090004--><AD_MODEL_OBJECT>
-<!--FF808081312DCA1801312DDE6A090004-->  <AD_MODEL_OBJECT_ID><![CDATA[FF808081312DCA1801312DDE6A090004]]></AD_MODEL_OBJECT_ID>
-<!--FF808081312DCA1801312DDE6A090004-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081312DCA1801312DDE6A090004-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081312DCA1801312DDE6A090004-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081312DCA1801312DDE6A090004-->  <ACTION><![CDATA[M]]></ACTION>
-<!--FF808081312DCA1801312DDE6A090004-->  <CLASSNAME><![CDATA[org.openbravo.service.integration.google.GoogleAuthServlet]]></CLASSNAME>
-<!--FF808081312DCA1801312DDE6A090004-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--FF808081312DCA1801312DDE6A090004-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081312DCA1801312DDE6A090004-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--FF808081312DCA1801312DDE6A090004-->  <NAME><![CDATA[GoogleAuthServlet]]></NAME>
-<!--FF808081312DCA1801312DDE6A090004--></AD_MODEL_OBJECT>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081312DCA1801312DDF0EB90007--><AD_MODEL_OBJECT_MAPPING>
-<!--FF808081312DCA1801312DDF0EB90007-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[FF808081312DCA1801312DDF0EB90007]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--FF808081312DCA1801312DDF0EB90007-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081312DCA1801312DDF0EB90007-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081312DCA1801312DDF0EB90007-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081312DCA1801312DDF0EB90007-->  <AD_MODEL_OBJECT_ID><![CDATA[FF808081312DCA1801312DDE6A090004]]></AD_MODEL_OBJECT_ID>
-<!--FF808081312DCA1801312DDF0EB90007-->  <MAPPINGNAME><![CDATA[/org.openbravo.service.integration.google/auth.html]]></MAPPINGNAME>
-<!--FF808081312DCA1801312DDF0EB90007-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--FF808081312DCA1801312DDF0EB90007--></AD_MODEL_OBJECT_MAPPING>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--FF8080813129ADA401312CA1222A0005-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080813129ADA401312CA1222A0005-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813129ADA401312CA1222A0005-->  <NAME><![CDATA[Integration with Google APIs]]></NAME>
-<!--FF8080813129ADA401312CA1222A0005-->  <VERSION><![CDATA[0.1.26297]]></VERSION>
+<!--FF8080813129ADA401312CA1222A0005-->  <VERSION><![CDATA[0.1.26651]]></VERSION>
 <!--FF8080813129ADA401312CA1222A0005-->  <DESCRIPTION><![CDATA[Integration with Google APIs]]></DESCRIPTION>
 <!--FF8080813129ADA401312CA1222A0005-->  <TYPE><![CDATA[M]]></TYPE>
 <!--FF8080813129ADA401312CA1222A0005-->  <LICENSE><![CDATA[Licensed under the Openbravo Public License Version 1.1.
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -1,19 +1,5 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <data>
-<!--FF8080813141B198013141BA0F7D0012--><AD_MODULE_DEPENDENCY>
-<!--FF8080813141B198013141BA0F7D0012-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[FF8080813141B198013141BA0F7D0012]]></AD_MODULE_DEPENDENCY_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813141B198013141BA0F7D0012-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <STARTVERSION><![CDATA[0.1.26297]]></STARTVERSION>
-<!--FF8080813141B198013141BA0F7D0012-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
-<!--FF8080813141B198013141BA0F7D0012-->  <DEPENDANT_MODULE_NAME><![CDATA[OpenID Service Integration]]></DEPENDANT_MODULE_NAME>
-<!--FF8080813141B198013141BA0F7D0012-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
-<!--FF8080813141B198013141BA0F7D0012-->  <USER_EDITABLE_ENFORCEMENT><![CDATA[N]]></USER_EDITABLE_ENFORCEMENT>
-<!--FF8080813141B198013141BA0F7D0012--></AD_MODULE_DEPENDENCY>
-
 <!--FF8080813151AEE1013151C4ACE6001B--><AD_MODULE_DEPENDENCY>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[FF8080813151AEE1013151C4ACE6001B]]></AD_MODULE_DEPENDENCY_ID>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -21,7 +7,7 @@
 <!--FF8080813151AEE1013151C4ACE6001B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813151AEE1013151C4ACE6001B-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--FF8080813151AEE1013151C4ACE6001B-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <DEPENDANT_MODULE_NAME><![CDATA[Openbravo 3.0 Framework]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_TAB.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF8080813161A3D30131620862BF0014--><AD_TAB>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_TAB_ID><![CDATA[FF8080813161A3D30131620862BF0014]]></AD_TAB_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813161A3D30131620862BF0014-->  <NAME><![CDATA[Google Integration Defaults]]></NAME>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_TABLE_ID><![CDATA[FF8080813161A3D301316206A5840008]]></AD_TABLE_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--FF8080813161A3D30131620862BF0014-->  <TABLEVEL><![CDATA[0]]></TABLEVEL>
-<!--FF8080813161A3D30131620862BF0014-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
-<!--FF8080813161A3D30131620862BF0014-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
-<!--FF8080813161A3D30131620862BF0014-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
-<!--FF8080813161A3D30131620862BF0014-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--FF8080813161A3D30131620862BF0014-->  <HASTREE><![CDATA[N]]></HASTREE>
-<!--FF8080813161A3D30131620862BF0014-->  <PROCESSING><![CDATA[N]]></PROCESSING>
-<!--FF8080813161A3D30131620862BF0014-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
-<!--FF8080813161A3D30131620862BF0014-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
-<!--FF8080813161A3D30131620862BF0014-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813161A3D30131620862BF0014-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
-<!--FF8080813161A3D30131620862BF0014-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
-<!--FF8080813161A3D30131620862BF0014-->  <DISABLE_PARENT_KEY_PROPERTY><![CDATA[N]]></DISABLE_PARENT_KEY_PROPERTY>
-<!--FF8080813161A3D30131620862BF0014-->  <ISREADONLYTREE><![CDATA[N]]></ISREADONLYTREE>
-<!--FF8080813161A3D30131620862BF0014-->  <ISSHOWTREENODEICONS><![CDATA[Y]]></ISSHOWTREENODEICONS>
-<!--FF8080813161A3D30131620862BF0014-->  <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
-<!--FF8080813161A3D30131620862BF0014-->  <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
-<!--FF8080813161A3D30131620862BF0014-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
-<!--FF8080813161A3D30131620862BF0014--></AD_TAB>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_TREENODE.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--3478924D8D8D4282A076A83565AFABAE--><AD_TREENODE>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <AD_TREENODE_ID><![CDATA[3478924D8D8D4282A076A83565AFABAE]]></AD_TREENODE_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <NODE_ID><![CDATA[FF8080813161A3D3013162164AB10038]]></NODE_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <PARENT_ID><![CDATA[156]]></PARENT_ID>
-<!--3478924D8D8D4282A076A83565AFABAE-->  <SEQNO><![CDATA[70]]></SEQNO>
-<!--3478924D8D8D4282A076A83565AFABAE--></AD_TREENODE>
-
-<!--C6C17508B4344449982EF8BE76D34966--><AD_TREENODE>
-<!--C6C17508B4344449982EF8BE76D34966-->  <AD_TREENODE_ID><![CDATA[C6C17508B4344449982EF8BE76D34966]]></AD_TREENODE_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <NODE_ID><![CDATA[FF8080813151AEE1013151B119D10005]]></NODE_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--C6C17508B4344449982EF8BE76D34966-->  <PARENT_ID><![CDATA[367]]></PARENT_ID>
-<!--C6C17508B4344449982EF8BE76D34966-->  <SEQNO><![CDATA[80]]></SEQNO>
-<!--C6C17508B4344449982EF8BE76D34966--></AD_TREENODE>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_WINDOW.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF8080813161A3D301316208017A0011--><AD_WINDOW>
-<!--FF8080813161A3D301316208017A0011-->  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-<!--FF8080813161A3D301316208017A0011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813161A3D301316208017A0011-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813161A3D301316208017A0011-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813161A3D301316208017A0011-->  <NAME><![CDATA[Google Integration Preferences]]></NAME>
-<!--FF8080813161A3D301316208017A0011-->  <DESCRIPTION><![CDATA[Setup preferences for integration with Google APIs]]></DESCRIPTION>
-<!--FF8080813161A3D301316208017A0011-->  <WINDOWTYPE><![CDATA[M]]></WINDOWTYPE>
-<!--FF8080813161A3D301316208017A0011-->  <ISSOTRX><![CDATA[Y]]></ISSOTRX>
-<!--FF8080813161A3D301316208017A0011-->  <PROCESSING><![CDATA[N]]></PROCESSING>
-<!--FF8080813161A3D301316208017A0011-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--FF8080813161A3D301316208017A0011-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813161A3D301316208017A0011-->  <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
-<!--FF8080813161A3D301316208017A0011-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
-<!--FF8080813161A3D301316208017A0011--></AD_WINDOW>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/OBUIAPP_MENU_PARAMETERS.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF8080813184D10A013184D641230006--><OBUIAPP_MENU_PARAMETERS>
-<!--FF8080813184D10A013184D641230006-->  <OBUIAPP_MENU_PARAMETERS_ID><![CDATA[FF8080813184D10A013184D641230006]]></OBUIAPP_MENU_PARAMETERS_ID>
-<!--FF8080813184D10A013184D641230006-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813184D10A013184D641230006-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813184D10A013184D641230006-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813184D10A013184D641230006-->  <AD_MENU_ID><![CDATA[FF8080813151AEE1013151B119D10005]]></AD_MENU_ID>
-<!--FF8080813184D10A013184D641230006-->  <NAME><![CDATA[showsItself]]></NAME>
-<!--FF8080813184D10A013184D641230006-->  <DESCRIPTION><![CDATA[showsItSelf]]></DESCRIPTION>
-<!--FF8080813184D10A013184D641230006-->  <PARAMETERVALUE><![CDATA[true]]></PARAMETERVALUE>
-<!--FF8080813184D10A013184D641230006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813184D10A013184D641230006--></OBUIAPP_MENU_PARAMETERS>
-
-<!--FF8080813184F28A013184F550410009--><OBUIAPP_MENU_PARAMETERS>
-<!--FF8080813184F28A013184F550410009-->  <OBUIAPP_MENU_PARAMETERS_ID><![CDATA[FF8080813184F28A013184F550410009]]></OBUIAPP_MENU_PARAMETERS_ID>
-<!--FF8080813184F28A013184F550410009-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813184F28A013184F550410009-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813184F28A013184F550410009-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF8080813184F28A013184F550410009-->  <AD_MENU_ID><![CDATA[FF8080813151AEE1013151B119D10005]]></AD_MENU_ID>
-<!--FF8080813184F28A013184F550410009-->  <NAME><![CDATA[popup]]></NAME>
-<!--FF8080813184F28A013184F550410009-->  <DESCRIPTION><![CDATA[popup]]></DESCRIPTION>
-<!--FF8080813184F28A013184F550410009-->  <PARAMETERVALUE><![CDATA[true]]></PARAMETERVALUE>
-<!--FF8080813184F28A013184F550410009-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813184F28A013184F550410009--></OBUIAPP_MENU_PARAMETERS>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/OBUIAPP_VIEW_IMPL.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081314D5BAC01314D64B9920013--><OBUIAPP_VIEW_IMPL>
-<!--FF808081314D5BAC01314D64B9920013-->  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-<!--FF808081314D5BAC01314D64B9920013-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081314D5BAC01314D64B9920013-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081314D5BAC01314D64B9920013-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
-<!--FF808081314D5BAC01314D64B9920013-->  <NAME><![CDATA[OBSEIG_AccountAssociationView]]></NAME>
-<!--FF808081314D5BAC01314D64B9920013-->  <DESCRIPTION><![CDATA[Google Account Association]]></DESCRIPTION>
-<!--FF808081314D5BAC01314D64B9920013-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081314D5BAC01314D64B9920013-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
-<!--FF808081314D5BAC01314D64B9920013--></OBUIAPP_VIEW_IMPL>
-
-</data>
--- a/modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleAuthServlet.java	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,282 +0,0 @@
-/*
- *************************************************************************
- * 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) 2011 Openbravo SLU
- * All Rights Reserved.
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-package org.openbravo.service.integration.google;
-
-import java.io.IOException;
-import java.util.Map;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.log4j.Logger;
-import org.hibernate.exception.ConstraintViolationException;
-import org.openbravo.base.HttpBaseServlet;
-import org.openbravo.base.VariablesBase;
-import org.openbravo.base.exception.OBException;
-import org.openbravo.base.provider.OBProvider;
-import org.openbravo.base.secureApp.VariablesSecureApp;
-import org.openbravo.client.kernel.KernelUtils;
-import org.openbravo.dal.core.OBContext;
-import org.openbravo.dal.service.OBCriteria;
-import org.openbravo.dal.service.OBDal;
-import org.openbravo.erpCommon.obps.ActivationKey;
-import org.openbravo.erpCommon.security.SessionLogin;
-import org.openbravo.erpCommon.utility.OBError;
-import org.openbravo.erpCommon.utility.Utility;
-import org.openbravo.model.ad.access.User;
-import org.openbravo.model.ad.access.UserRoles;
-import org.openbravo.model.ad.system.Client;
-import org.openbravo.service.integration.openid.OBSOIDUserIdentifier;
-import org.openbravo.service.integration.openid.OpenIDManager;
-import org.openid4java.discovery.Identifier;
-
-/**
- * @author iperdomo
- */
-public class GoogleAuthServlet extends HttpBaseServlet {
-
-  private static final long serialVersionUID = 1L;
-
-  private static final Logger log = Logger.getLogger(GoogleAuthServlet.class);
-
-  @Override
-  protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
-      IOException {
-    VariablesBase vars = new VariablesBase(req);
-
-    OBContext.setAdminMode(false);
-
-    try {
-
-      String lang = OBDal.getInstance().get(Client.class, "0").getLanguage().getLanguage();
-
-      if (!ActivationKey.getInstance().isActive()) {
-        OBError error = new OBError();
-
-        String message = Utility.messageBD(this, "OBUIAPP_ActivateMessage", lang);
-        message = message.replace("%0", Utility.messageBD(this, "OBSEIG_Activate", lang));
-        message = message.replaceAll("&quot;", "\"");
-
-        error.setTitle("");
-        error.setMessage(message);
-        error.setType("Error");
-        vars.setSessionObject("LoginErrorMsg", error);
-        resp.sendRedirect(strDireccion);
-        return;
-      }
-
-      if ("true".equals(vars.getStringParameter("is_return"))) {
-        processReturn(req, resp);
-      } else {
-        if ("true".equals(vars.getStringParameter("is_association"))) {
-          vars.setSessionValue("is_association", "true");
-        }
-
-        OpenIDManager.getInstance()
-            .authRequest(OpenIDManager.GOOGLE_OPENID_DISCOVER_URL, req, resp);
-      }
-
-    } catch (Exception e) {
-      log4j.error("Error trying to authenticate using Google Auth service: " + e.getMessage(), e);
-    } finally {
-      OBContext.restorePreviousMode();
-    }
-
-  }
-
-  private void processReturn(HttpServletRequest req, HttpServletResponse resp)
-      throws ServletException, IOException {
-
-    final String loginPageURL = getServletConfig().getServletContext().getInitParameter(
-        "ServletSinIdentificar");
-
-    final VariablesSecureApp vars = new VariablesSecureApp(req);
-
-    try {
-      OBContext.setAdminMode(false);
-
-      String lang = OBDal.getInstance().get(Client.class, "0").getLanguage().getLanguage();
-
-      Identifier oid = OpenIDManager.getInstance().getIdentifier(req);
-
-      if ("true".equals(vars.getSessionValue("is_association"))) {
-        vars.removeSessionValue("is_association");
-        try {
-          OpenIDManager.getInstance().associateAccount(oid, req, resp);
-          vars.setSessionValue("startup-message", Utility.messageBD(this, "OBSEIG_LinkedOK", lang)
-              .replaceAll("&quot;", "\""));
-          vars.setSessionValue("startup-message-title", Utility.messageBD(this, "ProcessOK", lang)
-              .replaceAll("&quot;", "\""));
-
-        } catch (ConstraintViolationException e) {
-          log.error("Error trying to associate account with OpenID identifier: " + oid.toString(),
-              e);
-          // User notification
-          vars.setSessionValue(
-              "startup-message",
-              Utility.messageBD(this, "OBSEIG_DuplicatedIdentifier", lang).replaceAll("&quot;",
-                  "\""));
-          vars.setSessionValue("startup-message-title",
-              Utility.messageBD(this, "ProcessFailed", lang).replaceAll("&quot;", "\""));
-
-        }
-        resp.sendRedirect(strDireccion);
-        return;
-      }
-
-      User user = OpenIDManager.getInstance().getUser(oid);
-
-      if (user == null && oid != null) {
-        user = createUser(oid, req, resp);
-        if (user == null) {
-          return;
-        }
-      }
-
-      req.getSession(true).removeAttribute("#Authenticated_user");
-
-      if (user != null) {
-        String sessionId = createDBSession(req, user.getUsername(), user.getId());
-        req.getSession(true).setAttribute("#Authenticated_user", user.getId());
-        vars.setSessionValue("#AD_SESSION_ID", sessionId);
-        vars.setSessionValue("#LOGGINGIN", "Y");
-      }
-
-      if (Utility.isMobileBrowser(req)
-          && KernelUtils.getInstance().isModulePresent(Utility.OB_MOBILE_JAVAPACKAGE)) {
-        resp.sendRedirect("../web/org.openbravo.client.mobile/");
-      } else {
-        resp.sendRedirect(strDireccion + "/security/Menu.html");
-      }
-    } catch (Exception e) {
-      log.error("Error processing return of Google Auth Service:" + e.getMessage(), e);
-      this.getServletContext().getRequestDispatcher(loginPageURL).forward(req, resp);
-    } finally {
-      OBContext.restorePreviousMode();
-    }
-  }
-
-  @SuppressWarnings("unchecked")
-  private User createUser(Identifier oid, HttpServletRequest req, HttpServletResponse resp)
-      throws OBException, IOException {
-    Map<String, String> attributes = (Map<String, String>) req.getAttribute("attributes");
-
-    OBSEIGDefaults newUserDefaults;
-    VariablesBase vars = new VariablesBase(req);
-
-    String lang = OBDal.getInstance().get(Client.class, "0").getLanguage().getLanguage();
-
-    if (attributes.get(OpenIDManager.ATTRIBUTE_FIRSTNAME) == null
-        || attributes.get(OpenIDManager.ATTRIBUTE_LASTNAME) == null
-        || attributes.get(OpenIDManager.ATTRIBUTE_EMAIL) == null) {
-      throw new OBException("Google Integration: OpenID identifier attributes missing");
-    }
-
-    OBCriteria<OBSEIGDefaults> defaults = OBDal.getInstance().createCriteria(OBSEIGDefaults.class);
-    defaults.setFilterOnReadableClients(false);
-    defaults.setFilterOnReadableOrganization(false);
-
-    if (defaults.count() == 0) {
-      OBError error = new OBError();
-      error.setMessage(Utility.messageBD(this, "OBSEIG_NoDefaultConf", lang)
-          .replaceAll("@@email@@", attributes.get(OpenIDManager.ATTRIBUTE_EMAIL))
-          .replaceAll("&quot;", "\""));
-      error.setTitle("");
-      error.setType("Error");
-      vars.setSessionObject("LoginErrorMsg", error);
-      resp.sendRedirect(strDireccion);
-      return null;
-    }
-
-    if (defaults.count() > 1) {
-      OBError error = new OBError();
-      error.setMessage(Utility.messageBD(this, "OBSEIG_TooMuchConf", lang)
-          .replaceAll("@@email@@", attributes.get(OpenIDManager.ATTRIBUTE_EMAIL))
-          .replaceAll("&quot;", "\""));
-      error.setTitle("");
-      error.setType("Error");
-      vars.setSessionObject("LoginErrorMsg", error);
-      resp.sendRedirect(strDireccion);
-      return null;
-    }
-
-    newUserDefaults = defaults.list().get(0);
-
-    User newUser = OBProvider.getInstance().get(User.class);
-    final String name = attributes.get(OpenIDManager.ATTRIBUTE_FIRSTNAME) + " "
-        + attributes.get(OpenIDManager.ATTRIBUTE_LASTNAME);
-
-    newUser.setName(name);
-    newUser.setEmail(attributes.get(OpenIDManager.ATTRIBUTE_EMAIL));
-    newUser.setOrganization(newUserDefaults.getRole().getOrganization());
-    newUser.setClient(newUserDefaults.getRole().getClient());
-    newUser.setActive(newUserDefaults.isNewuseractive());
-    newUser.setUsername(name);
-
-    OBDal.getInstance().save(newUser);
-
-    OBSOIDUserIdentifier userIdentifier = OBProvider.getInstance().get(OBSOIDUserIdentifier.class);
-    userIdentifier.setUserContact(newUser);
-    userIdentifier.setClient(newUserDefaults.getRole().getClient());
-    userIdentifier.setOrganization(newUserDefaults.getRole().getOrganization());
-    userIdentifier.setOpenIDIdentifier(oid.toString());
-    userIdentifier.setActive(true);
-
-    OBDal.getInstance().save(userIdentifier);
-
-    UserRoles uRoles = OBProvider.getInstance().get(UserRoles.class);
-    uRoles.setClient(newUserDefaults.getRole().getClient());
-    uRoles.setOrganization(newUserDefaults.getRole().getOrganization());
-    uRoles.setUserContact(newUser);
-    uRoles.setRole(newUserDefaults.getRole());
-
-    OBDal.getInstance().save(uRoles);
-
-    newUser.setDefaultRole(newUserDefaults.getRole());
-
-    OBDal.getInstance().flush();
-
-    return newUser;
-  }
-
-  // All the methods below are a copy and modified from LoginHandler.java
-
-  private String createDBSession(HttpServletRequest req, String strUser, String strUserAuth) {
-    try {
-      String usr = strUserAuth == null ? "0" : strUserAuth;
-
-      final SessionLogin sl = new SessionLogin(req, "0", "0", usr);
-
-      if (strUserAuth == null) {
-        sl.setStatus("F");
-      } else {
-        sl.setStatus("S");
-      }
-
-      sl.setUserName(strUser);
-      sl.setServerUrl(strDireccion);
-      sl.save();
-      return sl.getSessionID();
-    } catch (Exception e) {
-      log4j.error("Error creating DB session", e);
-      return null;
-    }
-  }
-}
--- a/modules/org.openbravo.service.integration.google/src/org/openbravo/service/integration/google/GoogleIntegrationComponentProvider.java	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
- *************************************************************************
- * 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) 2011 Openbravo SLU
- * All Rights Reserved.
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-package org.openbravo.service.integration.google;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-import javax.enterprise.context.ApplicationScoped;
-
-import org.openbravo.client.kernel.BaseComponentProvider;
-import org.openbravo.client.kernel.Component;
-import org.openbravo.client.kernel.ComponentProvider;
-
-/**
- * @author iperdomo
- */
-@ApplicationScoped
-@ComponentProvider.Qualifier(GoogleIntegrationComponentProvider.GOOGLE_INTEGRATION_COMPONENT_TYE)
-public class GoogleIntegrationComponentProvider extends BaseComponentProvider {
-  public static final String GOOGLE_INTEGRATION_COMPONENT_TYE = "OBSEIG_GoogleComponentType";
-
-  @Override
-  public Component getComponent(String componentId, Map<String, Object> parameters) {
-    throw new IllegalArgumentException("Component id " + componentId + " not supported.");
-  }
-
-  @Override
-  public List<ComponentResource> getGlobalComponentResources() {
-    final List<ComponentResource> globalResources = new ArrayList<ComponentResource>();
-    globalResources
-        .add(createStaticResource(
-            "web/org.openbravo.service.integration.google/js/obsegi-account-association-view.js",
-            false));
-    return globalResources;
-  }
-
-  @Override
-  public List<String> getTestResources() {
-    return Collections.emptyList();
-  }
-
-}
Binary file modules/org.openbravo.service.integration.google/web/images/google.png has changed
--- a/modules/org.openbravo.service.integration.google/web/org.openbravo.service.integration.google/js/obsegi-account-association-view.js	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-/*
- *************************************************************************
- * 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) 2011-2012 Openbravo SLU
- * All Rights Reserved.
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-isc.defineClass('OBSEIG_AccountAssociationView', isc.Dialog);
-
-isc.OBSEIG_AccountAssociationView.addProperties({
-  showMinimizeButton: false,
-  showMaximizeButton: false,
-  autoSize: true,
-
-  isSameTab: function (viewId, params) {
-    return viewId === 'OBSEIG_AccountAssociationView';
-  },
-
-  getBookMarkParams: function () {
-    var result = {};
-    result.viewId = 'OBSEIG_AccountAssociationView';
-    return result;
-  },
-
-  OK_BUTTON: isc.addProperties({}, isc.Dialog.OK, {
-    click: function () {
-      this.topElement.cancelClick();
-      top.location.href = OB.Application.contextUrl + 'org.openbravo.service.integration.google/auth.html?is_association=true';
-    }
-  }),
-
-  initWidget: function (args) {
-    var community = (OB.Application.licenseType === 'C'),
-        label = community ? 'OBSEIG_Activate' : 'OBSEIG_AssociateAccount';
-
-    this.title = args && args.tabTitle ? args.tabTitle : '';
-
-    this.items = isc.Label.create({
-      contents: OB.I18N.getLabel(label),
-      width: '100%'
-    });
-
-    if (community) {
-      this.toolbarButtons = [isc.Dialog.OK];
-    } else {
-      this.toolbarButtons = [this.OK_BUTTON, isc.Dialog.CANCEL];
-    }
-
-    this.Super('initWidget', arguments);
-  }
-});
\ No newline at end of file
Binary file modules/org.openbravo.service.integration.openid/lib/runtime/guice-2.0.jar has changed
Binary file modules/org.openbravo.service.integration.openid/lib/runtime/httpclient-4.0.jar has changed
Binary file modules/org.openbravo.service.integration.openid/lib/runtime/httpcore-4.0.1.jar has changed
Binary file modules/org.openbravo.service.integration.openid/lib/runtime/httpmime-4.1.jar has changed
Binary file modules/org.openbravo.service.integration.openid/lib/runtime/openid4java-0.9.6.jar has changed
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_FIELD.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,168 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--06C3154730F64036B29CFCC083F54E7E--><AD_FIELD>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_FIELD_ID><![CDATA[06C3154730F64036B29CFCC083F54E7E]]></AD_FIELD_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <NAME><![CDATA[OpenID Identifier]]></NAME>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_COLUMN_ID><![CDATA[73344BE692184AF98F0ACF1C11051E79]]></AD_COLUMN_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--06C3154730F64036B29CFCC083F54E7E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--06C3154730F64036B29CFCC083F54E7E--></AD_FIELD>
-
-<!--32B045DD0DFC4D7D813B0EADB947E496--><AD_FIELD>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_FIELD_ID><![CDATA[32B045DD0DFC4D7D813B0EADB947E496]]></AD_FIELD_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <NAME><![CDATA[Organization]]></NAME>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_COLUMN_ID><![CDATA[2F7C8DD6C697415ABA1B3EE701BC2C4A]]></AD_COLUMN_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--32B045DD0DFC4D7D813B0EADB947E496-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--32B045DD0DFC4D7D813B0EADB947E496--></AD_FIELD>
-
-<!--34D7279AFB294666A568470B7257F94E--><AD_FIELD>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_FIELD_ID><![CDATA[34D7279AFB294666A568470B7257F94E]]></AD_FIELD_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--34D7279AFB294666A568470B7257F94E-->  <NAME><![CDATA[Client]]></NAME>
-<!--34D7279AFB294666A568470B7257F94E-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
-<!--34D7279AFB294666A568470B7257F94E-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_COLUMN_ID><![CDATA[575115249FD0451AA66D6AEE49978E7C]]></AD_COLUMN_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--34D7279AFB294666A568470B7257F94E-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--34D7279AFB294666A568470B7257F94E-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--34D7279AFB294666A568470B7257F94E-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--34D7279AFB294666A568470B7257F94E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--34D7279AFB294666A568470B7257F94E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--34D7279AFB294666A568470B7257F94E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--34D7279AFB294666A568470B7257F94E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--34D7279AFB294666A568470B7257F94E--></AD_FIELD>
-
-<!--44DE96A0EB544FAAA7A641B5CAD7024D--><AD_FIELD>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_FIELD_ID><![CDATA[44DE96A0EB544FAAA7A641B5CAD7024D]]></AD_FIELD_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <NAME><![CDATA[Active]]></NAME>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <HELP><![CDATA[There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records: 
-(1) The system requires the record for auditing purposes.
-(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_COLUMN_ID><![CDATA[F86B06B218BD4196B3D468A8A3A8F865]]></AD_COLUMN_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--44DE96A0EB544FAAA7A641B5CAD7024D--></AD_FIELD>
-
-<!--9339017A118E41D2B39AFE98068732C7--><AD_FIELD>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_FIELD_ID><![CDATA[9339017A118E41D2B39AFE98068732C7]]></AD_FIELD_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--9339017A118E41D2B39AFE98068732C7-->  <NAME><![CDATA[User/Contact]]></NAME>
-<!--9339017A118E41D2B39AFE98068732C7-->  <DESCRIPTION><![CDATA[An acquaintance to reach for information related to the business partner.]]></DESCRIPTION>
-<!--9339017A118E41D2B39AFE98068732C7-->  <HELP><![CDATA[The User identifies a unique user in the system. This could be an internal user or a business partner contact]]></HELP>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_COLUMN_ID><![CDATA[A8FD2025FA244939B687F49907BE94C5]]></AD_COLUMN_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--9339017A118E41D2B39AFE98068732C7-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--9339017A118E41D2B39AFE98068732C7-->  <SEQNO><![CDATA[40]]></SEQNO>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--9339017A118E41D2B39AFE98068732C7-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--9339017A118E41D2B39AFE98068732C7-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--9339017A118E41D2B39AFE98068732C7-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--9339017A118E41D2B39AFE98068732C7-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--9339017A118E41D2B39AFE98068732C7-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--9339017A118E41D2B39AFE98068732C7-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--9339017A118E41D2B39AFE98068732C7--></AD_FIELD>
-
-<!--BB27460CAB754EADA0B16977399C1334--><AD_FIELD>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_FIELD_ID><![CDATA[BB27460CAB754EADA0B16977399C1334]]></AD_FIELD_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--BB27460CAB754EADA0B16977399C1334-->  <NAME><![CDATA[OpenID Identifier]]></NAME>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_COLUMN_ID><![CDATA[31878640A2FE4C128F50DF1A4CE42C66]]></AD_COLUMN_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--BB27460CAB754EADA0B16977399C1334-->  <DISPLAYLENGTH><![CDATA[255]]></DISPLAYLENGTH>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--BB27460CAB754EADA0B16977399C1334-->  <SEQNO><![CDATA[50]]></SEQNO>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--BB27460CAB754EADA0B16977399C1334-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--BB27460CAB754EADA0B16977399C1334-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--BB27460CAB754EADA0B16977399C1334-->  <GRID_SEQNO><![CDATA[10]]></GRID_SEQNO>
-<!--BB27460CAB754EADA0B16977399C1334-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--BB27460CAB754EADA0B16977399C1334-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--BB27460CAB754EADA0B16977399C1334-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--BB27460CAB754EADA0B16977399C1334-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--BB27460CAB754EADA0B16977399C1334--></AD_FIELD>
-
-</data>
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--FF8080813141B198013141B86DD70003-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080813141B198013141B86DD70003-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813141B198013141B86DD70003-->  <NAME><![CDATA[OpenID Service Integration]]></NAME>
-<!--FF8080813141B198013141B86DD70003-->  <VERSION><![CDATA[0.1.26297]]></VERSION>
+<!--FF8080813141B198013141B86DD70003-->  <VERSION><![CDATA[0.1.26651]]></VERSION>
 <!--FF8080813141B198013141B86DD70003-->  <DESCRIPTION><![CDATA[OpenID Service Integration]]></DESCRIPTION>
 <!--FF8080813141B198013141B86DD70003-->  <TYPE><![CDATA[M]]></TYPE>
 <!--FF8080813141B198013141B86DD70003-->  <LICENSE><![CDATA[Licensed under the Openbravo Public License Version 1.1.
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--FF8080813141B198013141B8B21B0006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813141B198013141B8B21B0006-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
 <!--FF8080813141B198013141B8B21B0006-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813141B198013141B8B21B0006-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--FF8080813141B198013141B8B21B0006-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--FF8080813141B198013141B8B21B0006-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080813141B198013141B8B21B0006-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813141B198013141B8B21B0006-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_TAB.xml	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--FF808081314BA5A001314BA803930005--><AD_TAB>
-<!--FF808081314BA5A001314BA803930005-->  <AD_TAB_ID><![CDATA[FF808081314BA5A001314BA803930005]]></AD_TAB_ID>
-<!--FF808081314BA5A001314BA803930005-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF808081314BA5A001314BA803930005-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF808081314BA5A001314BA803930005-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF808081314BA5A001314BA803930005-->  <NAME><![CDATA[OpenID Identifier]]></NAME>
-<!--FF808081314BA5A001314BA803930005-->  <AD_TABLE_ID><![CDATA[FF808081314B80C001314B976A49000C]]></AD_TABLE_ID>
-<!--FF808081314BA5A001314BA803930005-->  <AD_WINDOW_ID><![CDATA[108]]></AD_WINDOW_ID>
-<!--FF808081314BA5A001314BA803930005-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--FF808081314BA5A001314BA803930005-->  <TABLEVEL><![CDATA[1]]></TABLEVEL>
-<!--FF808081314BA5A001314BA803930005-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
-<!--FF808081314BA5A001314BA803930005-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
-<!--FF808081314BA5A001314BA803930005-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
-<!--FF808081314BA5A001314BA803930005-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--FF808081314BA5A001314BA803930005-->  <HASTREE><![CDATA[N]]></HASTREE>
-<!--FF808081314BA5A001314BA803930005-->  <PROCESSING><![CDATA[N]]></PROCESSING>
-<!--FF808081314BA5A001314BA803930005-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
-<!--FF808081314BA5A001314BA803930005-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
-<!--FF808081314BA5A001314BA803930005-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
-<!--FF808081314BA5A001314BA803930005-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
-<!--FF808081314BA5A001314BA803930005-->  <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
-<!--FF808081314BA5A001314BA803930005-->  <DISABLE_PARENT_KEY_PROPERTY><![CDATA[N]]></DISABLE_PARENT_KEY_PROPERTY>
-<!--FF808081314BA5A001314BA803930005-->  <ISREADONLYTREE><![CDATA[N]]></ISREADONLYTREE>
-<!--FF808081314BA5A001314BA803930005-->  <ISSHOWTREENODEICONS><![CDATA[Y]]></ISSHOWTREENODEICONS>
-<!--FF808081314BA5A001314BA803930005-->  <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
-<!--FF808081314BA5A001314BA803930005-->  <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
-<!--FF808081314BA5A001314BA803930005-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
-<!--FF808081314BA5A001314BA803930005--></AD_TAB>
-
-</data>
--- a/modules/org.openbravo.service.integration.openid/src/org/openbravo/service/integration/openid/OpenIDManager.java	Tue May 19 12:36:46 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,255 +0,0 @@
-/*
- *************************************************************************
- * 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) 2011 Openbravo SLU
- * All Rights Reserved.
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-package org.openbravo.service.integration.openid;
-
-import java.io.IOException;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.LinkedHashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.apache.commons.lang.StringUtils;
-import org.apache.log4j.Logger;
-import org.hibernate.criterion.Restrictions;
-import org.openbravo.base.exception.OBException;
-import org.openbravo.base.provider.OBProvider;
-import org.openbravo.base.provider.OBSingleton;
-import org.openbravo.dal.core.OBContext;
-import org.openbravo.dal.service.OBCriteria;
-import org.openbravo.dal.service.OBDal;
-import org.openbravo.model.ad.access.User;
-import org.openid4java.OpenIDException;
-import org.openid4java.association.AssociationSessionType;
-import org.openid4java.consumer.ConsumerManager;
-import org.openid4java.consumer.InMemoryConsumerAssociationStore;
-import org.openid4java.consumer.InMemoryNonceVerifier;
-import org.openid4java.consumer.VerificationResult;
-import org.openid4java.discovery.DiscoveryInformation;
-import org.openid4java.discovery.Identifier;
-import org.openid4java.message.AuthRequest;
-import org.openid4java.message.AuthSuccess;
-import org.openid4java.message.MessageException;
-import org.openid4java.message.ParameterList;
-import org.openid4java.message.ax.AxMessage;
-import org.openid4java.message.ax.FetchRequest;
-import org.openid4java.message.ax.FetchResponse;
-
-/**
- * 
- * @author iperdomo
- */
-@SuppressWarnings("rawtypes")
-public class OpenIDManager implements OBSingleton {
-
-  private static ConsumerManager manager;
-  private static OpenIDManager instance;
-
-  private static final Logger log = Logger.getLogger(OpenIDManager.class);
-
-  private static Map<String, DiscoveryInformation> discoveryInformationMap;
-
-  public static final String ATTRIBUTE_EMAIL = "email";
-  public static final String ATTRIBUTE_FIRSTNAME = "firstName";
-  public static final String ATTRIBUTE_LASTNAME = "lastName";
-
-  public static final String GOOGLE_OPENID_DISCOVER_URL = "https://www.google.com/accounts/o8/id";
-
-  public static synchronized OpenIDManager getInstance() {
-    if (instance == null) {
-      instance = OBProvider.getInstance().get(OpenIDManager.class);
-      discoveryInformationMap = new HashMap<String, DiscoveryInformation>();
-      manager = new ConsumerManager();
-      manager.setAssociations(new InMemoryConsumerAssociationStore());
-      manager.setNonceVerifier(new InMemoryNonceVerifier(5000));
-      manager.setMinAssocSessEnc(AssociationSessionType.DH_SHA256);
-    }
-    return instance;
-  }
-
-  public String authRequest(String discoverURL, HttpServletRequest httpReq,
-      HttpServletResponse httpResp) throws IOException, ServletException {
-    try {
-      // configure the return_to URL where your application will receive
-      // the authentication responses from the OpenID provider
-      // String returnToUrl = "http://example.com/openid";
-      String returnToUrl = httpReq.getRequestURL().toString() + "?is_return=true";
-
-      DiscoveryInformation discovered;
-      if (discoveryInformationMap.containsKey(discoverURL)) {
-        discovered = discoveryInformationMap.get(discoverURL);
-      } else {
-        // perform discovery on the user-supplied identifier
-        List discoveries = manager.discover(discoverURL);
-
-        // attempt to associate with the OpenID provider
-        // and retrieve one service endpoint for authentication
-        discovered = manager.associate(discoveries);
-
-        discoveryInformationMap.put(discoverURL, discovered);
-      }
-
-      // store the discovery information in the user's session
-      httpReq.getSession().setAttribute("openid-disc", discovered);
-
-      // obtain a AuthRequest message to be sent to the OpenID provider
-      AuthRequest authReq = manager.authenticate(discovered, returnToUrl);
-
-      FetchRequest fetch = FetchRequest.createFetchRequest();
-      fetch.addAttribute(ATTRIBUTE_EMAIL, "http://axschema.org/contact/email", true);
-      fetch.addAttribute(ATTRIBUTE_FIRSTNAME, "http://axschema.org/namePerson/first", true);
-      fetch.addAttribute(ATTRIBUTE_LASTNAME, "http://axschema.org/namePerson/last", true);
-
-      authReq.addExtension(fetch);
-
-      httpReq.setAttribute("message", authReq);
-
-      httpResp.sendRedirect(authReq.getDestinationUrl(true));
-    } catch (OpenIDException e) {
-      log.error("Error trying to authenticate with Google Services: " + e.getMessage(), e);
-      httpResp.sendRedirect(httpReq.getHeader("Referer"));
-    }
-
-    return null;
-  }
-
-  public User getUser(Identifier oid) throws OBException {
-    User u = null;
-
-    if (oid == null) {
-      log.error("No user has been associated with the Google account");
-      return null;
-    }
-
-    OBCriteria<OBSOIDUserIdentifier> userCriteria = OBDal.getInstance().createCriteria(
-        OBSOIDUserIdentifier.class);
-    userCriteria
-        .add(Restrictions.eq(OBSOIDUserIdentifier.PROPERTY_OPENIDIDENTIFIER, oid.toString()));
-    userCriteria.setFilterOnReadableClients(false);
-    userCriteria.setFilterOnReadableOrganization(false);
-
-    OBSOIDUserIdentifier userIdentifier = (OBSOIDUserIdentifier) userCriteria.uniqueResult();
-    if (userIdentifier != null) {
-      u = userIdentifier.getUserContact();
-    }
-    return u;
-
-  }
-
-  public void associateAccount(Identifier oid, HttpServletRequest req, HttpServletResponse resp)
-      throws Exception {
-    // Map<String, String> userAttributes = (LinkedHashMap<String, String>) req
-    // .getAttribute("attributes");
-
-    User user = OBDal.getInstance().get(User.class, OBContext.getOBContext().getUser().getId());
-    // TODO: Ask the user if he wants to update the email account and uncomment this code
-    // if (!userAttributes.get(ATTRIBUTE_EMAIL).equals(user.getEmail())) {
-    // try {
-    // user.setEmail(userAttributes.get(ATTRIBUTE_EMAIL));
-    // OBDal.getInstance().save(user);
-    // OBDal.getInstance().flush();
-    // } catch (Exception e) {
-    // log.error("Error trying to update email for user: " + user.getUsername(), e);
-    // }
-    // }
-
-    OBCriteria<OBSOIDUserIdentifier> oidCriteria = OBDal.getInstance().createCriteria(
-        OBSOIDUserIdentifier.class);
-    oidCriteria
-        .add(Restrictions.eq(OBSOIDUserIdentifier.PROPERTY_OPENIDIDENTIFIER, oid.toString()));
-
-    if (oidCriteria.count() > 0) {
-      log.warn("Account association already exists - OpenID identifier: " + oid.toString());
-      return;
-    }
-
-    OBSOIDUserIdentifier userIdentifier = OBProvider.getInstance().get(OBSOIDUserIdentifier.class);
-    userIdentifier.setUserContact(user);
-    userIdentifier.setOpenIDIdentifier(oid.toString());
-    userIdentifier.setClient(OBContext.getOBContext().getRole().getClient());
-    userIdentifier.setOrganization(OBContext.getOBContext().getRole().getOrganization());
-
-    OBDal.getInstance().save(userIdentifier);
-    OBDal.getInstance().flush();
-  }
-
-  public Identifier getIdentifier(HttpServletRequest httpReq) throws OBException {
-    try {
-      // extract the parameters from the authentication response
-      // (which comes in as a HTTP request from the OpenID provider)
-      ParameterList response = new ParameterList(httpReq.getParameterMap());
-
-      // retrieve the previously stored discovery information
-      DiscoveryInformation discovered = (DiscoveryInformation) httpReq.getSession().getAttribute(
-          "openid-disc");
-
-      // extract the receiving URL from the HTTP request
-      StringBuffer receivingURL = httpReq.getRequestURL();
-      String queryString = httpReq.getQueryString();
-      if (queryString != null && queryString.length() > 0)
-        receivingURL.append("?").append(httpReq.getQueryString());
-
-      // verify the response; ConsumerManager needs to be the same
-      // (static) instance used to place the authentication request
-      VerificationResult verification = manager.verify(receivingURL.toString(), response,
-          discovered);
-
-      // examine the verification result and extract the verified
-      // identifier
-      Identifier verified = verification.getVerifiedId();
-      if (verified != null) {
-        AuthSuccess authSuccess = (AuthSuccess) verification.getAuthResponse();
-
-        receiveAttributeExchange(httpReq, authSuccess);
-
-        return verified; // success
-      }
-    } catch (OpenIDException e) {
-      // present error to the user
-      throw new OBException(e);
-    }
-
-    return null;
-  }
-
-  @SuppressWarnings({ "unchecked" })
-  private void receiveAttributeExchange(HttpServletRequest httpReq, AuthSuccess authSuccess)
-      throws MessageException {
-    if (authSuccess.hasExtension(AxMessage.OPENID_NS_AX)) {
-      FetchResponse fetchResp = (FetchResponse) authSuccess.getExtension(AxMessage.OPENID_NS_AX);
-
-      List aliases = fetchResp.getAttributeAliases();
-      Map attributes = new LinkedHashMap();
-      for (Iterator iter = aliases.iterator(); iter.hasNext();) {
-        String alias = (String) iter.next();
-        List values = fetchResp.getAttributeValues(alias);
-        if (values.size() > 0) {
-          String[] arr = new String[values.size()];
-          values.toArray(arr);
-          attributes.put(alias, StringUtils.join(arr));
-        }
-      }
-      httpReq.setAttribute("attributes", attributes);
-    }
-  }
-}
--- a/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <NAME><![CDATA[JSON REST Webservice]]></NAME>
-<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION><![CDATA[2.0.26297]]></VERSION>
+<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION><![CDATA[2.0.26651]]></VERSION>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <DESCRIPTION><![CDATA[Provides a JSON REST webservice for CRUD service requests]]></DESCRIPTION>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <HELP><![CDATA[Provides a JSON REST webservice for CRUD service requests. Both the servlet implementation (receiving HTTP REST requests in JSON) as the backend processing are provided.]]></HELP>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravojsonrest]]></URL>
--- a/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--9E3E7B42DB16405FB794496D309D7044-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--9E3E7B42DB16405FB794496D309D7044-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--9E3E7B42DB16405FB794496D309D7044-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java	Wed May 20 09:24:44 2015 +0200
@@ -25,6 +25,10 @@
 import java.util.List;
 import java.util.Map;
 
+import javax.enterprise.inject.Any;
+import javax.enterprise.inject.Instance;
+import javax.inject.Inject;
+
 import org.apache.commons.lang.StringUtils;
 import org.apache.log4j.Logger;
 import org.codehaus.jettison.json.JSONArray;
@@ -38,6 +42,7 @@
 import org.openbravo.base.provider.OBProvider;
 import org.openbravo.base.structure.BaseOBObject;
 import org.openbravo.base.util.Check;
+import org.openbravo.base.weld.WeldUtils;
 import org.openbravo.dal.core.DalUtil;
 import org.openbravo.dal.core.OBContext;
 import org.openbravo.dal.service.OBDal;
@@ -67,7 +72,8 @@
 
   private static final String ADD_FLAG = "_doingAdd";
 
-  private static DefaultJsonDataService instance = new DefaultJsonDataService();
+  private static DefaultJsonDataService instance = WeldUtils
+      .getInstanceFromStaticBeanManager(DefaultJsonDataService.class);
 
   public static DefaultJsonDataService getInstance() {
     return instance;
@@ -92,6 +98,7 @@
       Check.isNotNull(entityName, "The name of the service/entityname should not be null");
       Check.isNotNull(parameters, "The parameters should not be null");
 
+      doPreAction(parameters, "", DataSourceAction.FETCH);
       String selectedProperties = parameters.get(JsonConstants.SELECTEDPROPERTIES_PARAMETER);
       // The display property is present only for displaying table references in filter.
       // This parameter is used to set the identifier with the display column value.
@@ -263,6 +270,7 @@
   public void fetch(Map<String, String> parameters, QueryResultWriter writer) {
     long t = System.currentTimeMillis();
 
+    doPreAction(parameters, "", DataSourceAction.FETCH);
     final DataEntityQueryService queryService = createSetQueryService(parameters, false);
 
     String selectedProperties = parameters.get(JsonConstants.SELECTEDPROPERTIES_PARAMETER);
@@ -582,7 +590,7 @@
         jsonResult.put(JsonConstants.RESPONSE_RESPONSE, jsonResponse);
         OBDal.getInstance().commitAndClose();
 
-        doPreRemove(parameters, jsonObjects.get(0));
+        doPreAction(parameters, jsonObjects.toString(), DataSourceAction.REMOVE);
 
         // now do the real delete in a separate transaction
         // to prevent side effects that a child can not be deleted
@@ -787,9 +795,25 @@
     return bobs;
   }
 
+  /**
+   * Hooks executed at the end of doPreAction and doPostAction to modify or to validate DataService
+   * calls.
+   */
+  @Inject
+  @Any
+  private Instance<JsonDataServiceExtraActions> extraActions;
+
   protected String doPreAction(Map<String, String> parameters, String content,
       DataSourceAction action) {
     try {
+      if (action == DataSourceAction.FETCH) {
+        // In fetch operations there is no data. Just call doPreFetch and extraActions.
+        doPreFetch(parameters);
+        for (JsonDataServiceExtraActions extraAction : extraActions) {
+          extraAction.doPreAction(parameters, new JSONArray(), action);
+        }
+        return "";
+      }
       final Object contentObject = getContentAsJSON(content);
       final boolean isArray = contentObject instanceof JSONArray;
       final JSONArray data;
@@ -822,6 +846,9 @@
         // and set it in the new array
         newData.put(dataElement);
       }
+      for (JsonDataServiceExtraActions extraAction : extraActions) {
+        extraAction.doPreAction(parameters, newData, action);
+      }
 
       // return the array directly
       if (isArray) {
@@ -835,7 +862,10 @@
     } catch (JSONException e) {
       throw new OBException(e);
     } finally {
-      OBDal.getInstance().flush();
+      if (DataSourceAction.FETCH != action) {
+        // Only flush non fetch operations.
+        OBDal.getInstance().flush();
+      }
     }
   }
 
@@ -883,6 +913,11 @@
       // update the response with the changes, make it a string
       response.put(JsonConstants.RESPONSE_DATA, newData);
       json.put(JsonConstants.RESPONSE_RESPONSE, response);
+
+      for (JsonDataServiceExtraActions extraAction : extraActions) {
+        extraAction.doPostAction(parameters, json, action, originalObject);
+      }
+
       return json.toString();
     } catch (JSONException e) {
       throw new OBException(e);
@@ -909,6 +944,14 @@
   }
 
   /**
+   * Is called before fetching an object. This method is called in the same transaction as the main
+   * fetch operation.
+   */
+  protected void doPreFetch(Map<String, String> parameters) throws JSONException {
+
+  }
+
+  /**
    * Is called after fetching an object before the result is sent to the client, the fetched
    * {@link JSONObject} can be changed. The changes are sent to the client. This method is called in
    * the same transaction as the main fetch operation.
@@ -964,7 +1007,7 @@
       String originalToUpdate) throws JSONException {
   }
 
-  protected enum DataSourceAction {
+  public enum DataSourceAction {
     FETCH, ADD, UPDATE, REMOVE
   }
 
@@ -993,4 +1036,4 @@
     }
     return false;
   }
-}
\ No newline at end of file
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonDataServiceExtraActions.java	Wed May 20 09:24:44 2015 +0200
@@ -0,0 +1,68 @@
+/*
+ *************************************************************************
+ * 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.
+ ************************************************************************
+ */
+package org.openbravo.service.json;
+
+import java.util.Map;
+
+import org.codehaus.jettison.json.JSONArray;
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.service.json.DefaultJsonDataService.DataSourceAction;
+
+/**
+ * Classes implementing this interface are injected in the {@link DefaultJsonDataService} class.
+ * Using this interface it is possible to customize the data that it is being send to or retrieved
+ * from the database on any action.
+ */
+public interface JsonDataServiceExtraActions {
+
+  /**
+   * This method is executed on the
+   * {@link DefaultJsonDataService#doPreAction(Map, String, DataSourceAction)} Implement this method
+   * to modify or validate the data before the action is executed.
+   * 
+   * @param parameters
+   *          The Map with the parameters of the DataSource call.
+   * @param data
+   *          JSONArray with the records that are going to be inserted, updated or deleted. Modify
+   *          this object in case it is required to modify the data before executing the action.
+   *          Fetch operations receive an empty array.
+   * @param action
+   *          The action of the DataSource call. Possible values are FETCH, ADD, UPDATE and REMOVE
+   */
+  public void doPreAction(Map<String, String> parameters, JSONArray data, DataSourceAction action);
+
+  /**
+   * This method is executed on the
+   * {@link DefaultJsonDataService#doPostAction(Map, String, DataSourceAction, String)} Implement
+   * this method to modify or validate the data after the action is executed and before is returned
+   * to the client.
+   * 
+   * @param parameters
+   *          The Map with the parameters of the DataSource call.
+   * @param content
+   *          JSONObject with the current content that is returned to the client. Modify this object
+   *          in case it is required to modify the data before is returned.
+   * @param action
+   *          The action of the DataSource call. Possible values are FETCH, ADD, UPDATE and REMOVE
+   * @param originalObject
+   *          JSONObject String available only on ADD and UPDATE with the original values of the
+   *          data.
+   */
+  public void doPostAction(Map<String, String> parameters, JSONObject content,
+      DataSourceAction action, String originalObject);
+}
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <NAME><![CDATA[User Interface Selector]]></NAME>
-<!--5EB4F15C80684ACA904756BDC12ADBE5-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--5EB4F15C80684ACA904756BDC12ADBE5-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <DESCRIPTION><![CDATA[Provides a selector with a suggestion box and popup grid window]]></DESCRIPTION>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <HELP><![CDATA[The Openbravo selector provides new selector functionality which is used inside of existing Openbravo forms. The selector is mainly used for supporting foreign key references in the user interface. The selector combines both suggestion box behavior with a popup grid.]]></HELP>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <URL><![CDATA[http://forge.openbravo.com/projects/selector]]></URL>
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--38825CAED43941D38CA0C78DB04FCFA0-->  <STARTVERSION><![CDATA[8.1.26297]]></STARTVERSION>
+<!--38825CAED43941D38CA0C78DB04FCFA0-->  <STARTVERSION><![CDATA[8.1.26651]]></STARTVERSION>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--6DDE7B1A70174242AF82B5022FB89279-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--6DDE7B1A70174242AF82B5022FB89279-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--94F9CD2CB5EF4467A67475C786C984A7-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--94F9CD2CB5EF4467A67475C786C984A7-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--C8DAC574B88649D08C9468521B343F12-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--C8DAC574B88649D08C9468521B343F12-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--C8DAC574B88649D08C9468521B343F12-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--C8DAC574B88649D08C9468521B343F12-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--C8DAC574B88649D08C9468521B343F12-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--C8DAC574B88649D08C9468521B343F12-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--C8DAC574B88649D08C9468521B343F12-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--C8DAC574B88649D08C9468521B343F12-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--F14EB17946BE4724A46F80CB1A47EC70-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--F14EB17946BE4724A46F80CB1A47EC70-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <NAME><![CDATA[2.50 to 3.00 Compatibility Skin]]></NAME>
-<!--96998CBC42744B3DBEE28AC8095C9335-->  <VERSION><![CDATA[2.0.26297]]></VERSION>
+<!--96998CBC42744B3DBEE28AC8095C9335-->  <VERSION><![CDATA[2.0.26651]]></VERSION>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <DESCRIPTION><![CDATA[Skin module to proper visualization of classic windows inside the MDI interface]]></DESCRIPTION>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <HELP><![CDATA[With this skin module the classic windows styles will display in a way more coherent with the new 3.00 styles]]></HELP>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <URL><![CDATA[www.openbravo.com]]></URL>
--- a/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <AD_MODULE_ID><![CDATA[96998CBC42744B3DBEE28AC8095C9335]]></AD_MODULE_ID>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--39BF75AD9AB3453698BF5DE29E727AA9-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--39BF75AD9AB3453698BF5DE29E727AA9-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <NAME><![CDATA[Smartclient]]></NAME>
-<!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <VERSION><![CDATA[8.1.26297]]></VERSION>
+<!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <VERSION><![CDATA[8.1.26651]]></VERSION>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <DESCRIPTION><![CDATA[SmartClient libraries for use within Openbravo]]></DESCRIPTION>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <HELP><![CDATA[This module contains the SmartClient libraries for usage by other modules. It also contains some simple test pages to validate that SmartClient is working correctly. Also contains generic Openbravo SmartClient components]]></HELP>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <URL><![CDATA[http://forge.openbravo.com/projects/obsmartclient]]></URL>
--- a/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--086331E18477496B8AC74D2CFEBD1307-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--086331E18477496B8AC74D2CFEBD1307-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--086331E18477496B8AC74D2CFEBD1307-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--DC5D4EF450244482BD2B458DAA496333-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--DC5D4EF450244482BD2B458DAA496333-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--DC5D4EF450244482BD2B458DAA496333-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--F2AF15C0AF5540E393D96BE506E20648-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--F2AF15C0AF5540E393D96BE506E20648-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/isomorphic/ISC_Combined.js	Wed May 20 09:24:44 2015 +0200
@@ -13199,7 +13199,7 @@
 _16[_7.laneNameField]=_20[_7.laneNameField];if(this.eventsOverlap(_16,_20,_4)){_10.add(_20)}}
 return _10},isc.A.eventsOverlap=function isc_CalendarView_eventsOverlap(_1,_2,_3){var a=_1,b=_2,_6=this.calendar,_7=_6.startDateField,_8=_6.endDateField;if(_3&&a[_6.laneNameField]!=b[_6.laneNameField])return false;if(this.isTimelineView()){if(a[_6.leadingDateField]&&b[_6.leadingDateField])_7=_6.leadingDateField;if(a[_6.trailingDateField]&&b[_6.trailingDateField])_8=_6.trailingDateField}
 var _9=a[_7],_10=a[_8]||_6.getEventEndDate(a),_11=b[_7],_12=b[_8]||_6.getEventEndDate(b);if(_6.equalDatesOverlap&&_6.allowEventOverlap){if((_9<_11&&_10>=_11&&_10<=_12)||(_9<=_12&&_10>_12)||(_9<=_11&&_10>=_12)||(_9>=_11&&_10<=_12)){return true}else{return false}}else{if(_11<_10&&_12>_9)return true;return false}});isc.evalBoundary;isc.B.push(isc.A.updateEventRange=function isc_CalendarView_updateEventRange(_1,_2){if(!isc.isAn.Object(_2))_2=this.overlapRanges.ranges[_2];var _3=_2.events;_3.remove(_1);this.updateOverlapRanges(_3)},isc.A.updateOverlapRanges=function isc_CalendarView_updateOverlapRanges(_1){var _2=this.calendar,_3=_1||_2.data,_4=this.overlapRanges||[],_5=_3.getLength(),_6=this.isTimelineView()||(this.isDayView()&&_2.showDayLanes),_7=!this.isTimelineView(),_8=[],_9=this.startDate,_10=this.endDate;if(isc.isA.ResultSet(_3)){_3=_3.allRows}
-_3.setProperty("$122k",false);_3.setProperty("$646",null);_3.setProperty("$126u",null);var _11=_6&&this.lanes?this.lanes.getProperty(_2.laneNameField):[];for(var i=0;i<_5;i++){var _13=_3.get(i);if(_13.$122k)continue;if(_6&&!_11.contains(_13[_2.laneNameField])){continue}
+_3.setProperty("$122k",false);_3.setProperty("$646",null);_3.setProperty("$126u",null);var _11=_6&&_2.lanes?isc.getKeys(_2.getLaneMap()):[];for(var i=0;i<_5;i++){var _13=_3.get(i);if(_13.$122k)continue;if(_6&&!_11.contains(_13[_2.laneNameField])){continue}
 _13.$122k=true;_13.$646={};var _14=false,_15={};_15[_2.startDateField]=_2.getEventStartDate(_13)
 _15[_2.endDateField]=_2.getEventEndDate(_13);if(_6)_15[_2.laneNameField]=_15.lane=_13[_2.laneNameField];_15.events=[];var _16=this.findOverlappingEvents(_13,_13,true,_6,_3);if(_16&&_16.length>0){_15.totalSlots=_16.length;var _17=_15.totalSlots;var _18=1;for(var j=0;j<_16.length;j++){var _20=_16[j],_21=_2.getEventStartDate(_20),_22=_2.getEventStartDate(_20);if(_21<_15[_2.startDateField])
 _15[_2.startDateField]=_21;if(_22>_15[_2.endDateField])
@@ -13254,7 +13254,7 @@
 var _10=this.getCellDate(_8,_4),_11=this.getCellDate(_9,_5);return[_10,_11]},isc.A.getVisibleRowRange=function isc_CalendarView_getVisibleRowRange(){if(!this.renderEventsOnDemand){return[0,this.data.getLength()]}
 return this.getVisibleRows()},isc.A.getVisibleColumnRange=function isc_CalendarView_getVisibleColumnRange(){if(!this.renderEventsOnDemand){return[0,this.fields.getLength()]}
 return this.body.getVisibleColumns()},isc.A.refreshVisibleEvents=function isc_CalendarView_refreshVisibleEvents(_1){if(!this.body||!this.body.isDrawn())return;if(!this.$128q){this.refreshEvents();return}
-_1=_1||this.getVisibleEvents();this.sortForRender(_1);var _2=[];var _3=_1.getLength();var _4=this.useEventCanvasPool?this.$128q.duplicate():[],_2=[];this.logDebug('refreshing visible events','calendar');for(var i=0;i<_3;i++){var _6=_1.get(i),_7=this.$128q.contains(_6);if(_7){_4.remove(_6);if(this.isGrouped){var _8=this.getCurrentEventCanvas(_6);this.sizeEventCanvas(_8,true)}
+_1=_1||this.getVisibleEvents();this.sortForRender(_1);var _2=[];var _3=_1.getLength();var _4=this.useEventCanvasPool?this.$128q.duplicate():[],_2=[];this.logDebug('refreshing visible events','calendar');for(var i=0;i<_3;i++){var _6=_1.get(i),_7=this.$128q.contains(_6);if(_7){_4.remove(_6);if(this.isGrouped||this.useEventCanvasPool){var _8=this.getCurrentEventCanvas(_6);this.sizeEventCanvas(_8,true)}
 continue}
 _2.add(_6)}
 if(this.isGrouped||(this.useEventCanvasPool&&this.eventCanvasPoolingMode=="viewport"))
@@ -13630,7 +13630,7 @@
 return _1},isc.A.getHoverHTML=function isc_EventCanvas_getHoverHTML(){return this.calendar.getEventHoverHTML(this.event,this,this.calendarView)},isc.A.shouldShowCloseButton=function isc_EventCanvas_shouldShowCloseButton(){return this.showCloseButton!=false},isc.A.shouldShowContextButton=function isc_EventCanvas_shouldShowContextButton(){return this.showContextButton!=false},isc.A.getRolloverControls=function isc_EventCanvas_getRolloverControls(){return null},isc.A.renderEvent=function isc_EventCanvas_renderEvent(_1,_2,_3,_4,_5){if(isc.isA.Number(_3)&&isc.isA.Number(_4)){this.resizeTo(Math.round(_3),Math.round(_4))}
 if(isc.isA.Number(_1)&&isc.isA.Number(_2)){this.moveTo(Math.round(_2),Math.round(_1))}
 this.checkStyle();if(!this.parentElement.isDrawn())return;if(!this.isDrawn())this.draw();this.show();if(_5)this.sendToBack();else this.bringToFront()},isc.A.checkStyle=function isc_EventCanvas_checkStyle(){var _1=this.calendar.getEventCanvasStyle(this.event,this.calendarView);if(_1!=this.styleName)this.setEventStyle(_1)},isc.A.click=function isc_EventCanvas_click(){this.calendar.$129v(this)},isc.A.mouseUp=function isc_EventCanvas_mouseUp(){return isc.EH.STOP_BUBBLING},isc.A.mouseDown=function isc_EventCanvas_mouseDown(){if(this.dragTarget)this.dragTarget.eventCanvas=this;this.calendar.eventDialog.hide();return isc.EH.STOP_BUBBLING},isc.A.mouseOver=function isc_EventCanvas_mouseOver(){if(!this.showRolloverControls||!this.calendar.useEventCanvasRolloverControls)return;if(this.$129e&&this.$129e.length>0){var _1=isc.EH.lastEvent.target;if(_1==this||_1.eventCanvas==this)return}
-this.calendar.showEventCanvasRolloverControls(this)},isc.A.mouseOut=function isc_EventCanvas_mouseOut(){if(!this.showRolloverControls||!this.calendar.useEventCanvasRolloverControls)return;var _1=isc.EH.lastEvent.target;if(_1&&(_1.eventCanvas==this||_1==isc.Hover.hoverCanvas))return;this.calendar.hideEventCanvasRolloverControls(this)},isc.A.parentResized=function isc_EventCanvas_parentResized(){this.Super('parentResized',arguments);if(this.event)this.calendarView.sizeEventCanvas(this)},isc.A.destroy=function isc_EventCanvas_destroy(){if(!this.calendar.useEventCanvasRolloverControls&&this.$129e){for(var i=this.$129e.length-1;i>=0;i--){var _2=this.$129e[i];this.$129e.removeAt(i);this.removeChild(_2);_2.destroy();_2=null}}});isc.B._maxIndex=isc.C+32;isc.defineClass("ZoneCanvas","EventCanvas");isc.A=isc.ZoneCanvas.getPrototype();isc.B=isc._allFuncs;isc.C=isc.B._maxIndex;isc.D=isc._funcClasses;isc.D[isc.C]=isc.A.Class;isc.A.headerPosition="footer";isc.A.showHeader=false;isc.A.showBody=false;isc.A.canEdit=false;isc.A.canDrag=false;isc.A.canDragReposition=false;isc.A.canDragResize=false;isc.A.canRemove=false;isc.A.showRolloverControls=false;isc.B.push(isc.A.initWidget=function isc_ZoneCanvas_initWidget(){this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;this.Super("initWidget",arguments)},isc.A.getInnerHTML=function isc_ZoneCanvas_getInnerHTML(){var _1=isc.StringBuffer.create();_1.append("<div class='",this.getHeaderStyle(),"' style='position:absolute;bottom:0;width:100%;'>",this.event.name,"</div>");var _2=_1.release();return _2},isc.A.setEvent=function isc_ZoneCanvas_setEvent(_1,_2,_3,_4){this.event=_1;this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;var _5=this.calendar;_2=_2||_5.getZoneCanvasStyle(_1,this.calendarView);this.setEventStyle(_2,_3,_4)},isc.A.click=function isc_ZoneCanvas_click(){if(this.calendar.zoneClick)this.calendar.zoneClick(this.event,this.calendarView.viewName)},isc.A.getHoverHTML=function isc_ZoneCanvas_getHoverHTML(){return this.calendar.getZoneHoverHTML(this.event,this,this.calendarView)},isc.A.checkStyle=function isc_ZoneCanvas_checkStyle(){});isc.B._maxIndex=isc.C+6;isc.defineClass("IndicatorCanvas","EventCanvas");isc.A=isc.IndicatorCanvas.getPrototype();isc.B=isc._allFuncs;isc.C=isc.B._maxIndex;isc.D=isc._funcClasses;isc.D[isc.C]=isc.A.Class;isc.A.headerPosition="none";isc.A.showHeader=false;isc.A.showBody=false;isc.A.canEdit=false;isc.A.canDrag=false;isc.A.canDragReposition=false;isc.A.canDragResize=false;isc.A.canRemove=false;isc.A.showRolloverControls=false;isc.B.push(isc.A.initWidget=function isc_IndicatorCanvas_initWidget(){this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;this.Super("initWidget",arguments)},isc.A.getInnerHTML=function isc_IndicatorCanvas_getInnerHTML(){var _1=isc.StringBuffer.create();_1.append("<div class='",this.getHeaderStyle(),"' style='position:absolute;bottom:0;width:100%;'>",this.event.name,"</div>");var _2=_1.release();return _2},isc.A.setEvent=function isc_IndicatorCanvas_setEvent(_1,_2,_3,_4){this.event=_1;this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;var _5=this.calendar;_2=_2||_5.getIndicatorCanvasStyle(_1,this.calendarView);this.setEventStyle(_2,_3,_4)},isc.A.click=function isc_IndicatorCanvas_click(){if(this.calendar.indicatorClick)this.calendar.indicatorClick(this.event,this.calendarView.viewName)},isc.A.getHoverHTML=function isc_IndicatorCanvas_getHoverHTML(){return this.calendar.getIndicatorHoverHTML(this.event,this,this.calendarView)},isc.A.checkStyle=function isc_IndicatorCanvas_checkStyle(){});isc.B._maxIndex=isc.C+6;isc.AutoTest.customizeCalendar();isc.ClassFactory.defineClass("Timeline","Calendar");isc.A=isc.Timeline.getPrototype();isc.A.showTimelineView=true;isc.A.showDayView=false;isc.A.showWeekView=false;isc.A.showMonthView=false;isc.A.showControlBar=false;isc.A.labelColumnWidth=75;isc.A.sizeEventsToGrid=false;isc.A.eventDragGap=0;isc._nonDebugModules=(isc._nonDebugModules!=null?isc._nonDebugModules:[]);isc._nonDebugModules.push('Calendar');isc.checkForDebugAndNonDebugModules();isc._moduleEnd=isc._Calendar_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Calendar module init time: '+(isc._moduleEnd-isc._moduleStart)+'ms','loadTime');delete isc.definingFramework;if(isc.Page)isc.Page.handleEvent(null,"moduleLoaded",{moduleName:'Calendar',loadTime:(isc._moduleEnd-isc._moduleStart)});}else{if(window.isc&&isc.Log&&isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Calendar'.");}
+this.calendar.showEventCanvasRolloverControls(this)},isc.A.mouseOut=function isc_EventCanvas_mouseOut(){if(!this.showRolloverControls||!this.calendar.useEventCanvasRolloverControls)return;var _1=isc.EH.lastEvent.target;if(_1&&(_1.eventCanvas==this||_1==isc.Hover.hoverCanvas))return;this.calendar.hideEventCanvasRolloverControls(this)},isc.A.destroy=function isc_EventCanvas_destroy(){if(!this.calendar.useEventCanvasRolloverControls&&this.$129e){for(var i=this.$129e.length-1;i>=0;i--){var _2=this.$129e[i];this.$129e.removeAt(i);this.removeChild(_2);_2.destroy();_2=null}}});isc.B._maxIndex=isc.C+32;isc.defineClass("ZoneCanvas","EventCanvas");isc.A=isc.ZoneCanvas.getPrototype();isc.B=isc._allFuncs;isc.C=isc.B._maxIndex;isc.D=isc._funcClasses;isc.D[isc.C]=isc.A.Class;isc.A.headerPosition="footer";isc.A.showHeader=false;isc.A.showBody=false;isc.A.canEdit=false;isc.A.canDrag=false;isc.A.canDragReposition=false;isc.A.canDragResize=false;isc.A.canRemove=false;isc.A.showRolloverControls=false;isc.B.push(isc.A.initWidget=function isc_ZoneCanvas_initWidget(){this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;this.Super("initWidget",arguments)},isc.A.getInnerHTML=function isc_ZoneCanvas_getInnerHTML(){var _1=isc.StringBuffer.create();_1.append("<div class='",this.getHeaderStyle(),"' style='position:absolute;bottom:0;width:100%;'>",this.event.name,"</div>");var _2=_1.release();return _2},isc.A.setEvent=function isc_ZoneCanvas_setEvent(_1,_2,_3,_4){this.event=_1;this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;var _5=this.calendar;_2=_2||_5.getZoneCanvasStyle(_1,this.calendarView);this.setEventStyle(_2,_3,_4)},isc.A.click=function isc_ZoneCanvas_click(){if(this.calendar.zoneClick)this.calendar.zoneClick(this.event,this.calendarView.viewName)},isc.A.getHoverHTML=function isc_ZoneCanvas_getHoverHTML(){return this.calendar.getZoneHoverHTML(this.event,this,this.calendarView)},isc.A.checkStyle=function isc_ZoneCanvas_checkStyle(){});isc.B._maxIndex=isc.C+6;isc.defineClass("IndicatorCanvas","EventCanvas");isc.A=isc.IndicatorCanvas.getPrototype();isc.B=isc._allFuncs;isc.C=isc.B._maxIndex;isc.D=isc._funcClasses;isc.D[isc.C]=isc.A.Class;isc.A.headerPosition="none";isc.A.showHeader=false;isc.A.showBody=false;isc.A.canEdit=false;isc.A.canDrag=false;isc.A.canDragReposition=false;isc.A.canDragResize=false;isc.A.canRemove=false;isc.A.showRolloverControls=false;isc.B.push(isc.A.initWidget=function isc_IndicatorCanvas_initWidget(){this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;this.Super("initWidget",arguments)},isc.A.getInnerHTML=function isc_IndicatorCanvas_getInnerHTML(){var _1=isc.StringBuffer.create();_1.append("<div class='",this.getHeaderStyle(),"' style='position:absolute;bottom:0;width:100%;'>",this.event.name,"</div>");var _2=_1.release();return _2},isc.A.setEvent=function isc_IndicatorCanvas_setEvent(_1,_2,_3,_4){this.event=_1;this.showCloseButton=false;this.canDragReposition=false;this.canDragResize=false;var _5=this.calendar;_2=_2||_5.getIndicatorCanvasStyle(_1,this.calendarView);this.setEventStyle(_2,_3,_4)},isc.A.click=function isc_IndicatorCanvas_click(){if(this.calendar.indicatorClick)this.calendar.indicatorClick(this.event,this.calendarView.viewName)},isc.A.getHoverHTML=function isc_IndicatorCanvas_getHoverHTML(){return this.calendar.getIndicatorHoverHTML(this.event,this,this.calendarView)},isc.A.checkStyle=function isc_IndicatorCanvas_checkStyle(){});isc.B._maxIndex=isc.C+6;isc.AutoTest.customizeCalendar();isc.ClassFactory.defineClass("Timeline","Calendar");isc.A=isc.Timeline.getPrototype();isc.A.showTimelineView=true;isc.A.showDayView=false;isc.A.showWeekView=false;isc.A.showMonthView=false;isc.A.showControlBar=false;isc.A.labelColumnWidth=75;isc.A.sizeEventsToGrid=false;isc.A.eventDragGap=0;isc._nonDebugModules=(isc._nonDebugModules!=null?isc._nonDebugModules:[]);isc._nonDebugModules.push('Calendar');isc.checkForDebugAndNonDebugModules();isc._moduleEnd=isc._Calendar_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Calendar module init time: '+(isc._moduleEnd-isc._moduleStart)+'ms','loadTime');delete isc.definingFramework;if(isc.Page)isc.Page.handleEvent(null,"moduleLoaded",{moduleName:'Calendar',loadTime:(isc._moduleEnd-isc._moduleStart)});}else{if(window.isc&&isc.Log&&isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Calendar'.");}
 /*
  * Isomorphic SmartClient
  * Version v10.0d_2014-02-13 (2014-02-13)
--- a/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <NAME><![CDATA[Log Clean Up Utility]]></NAME>
-<!--8A34B301DC524EA3A07513DF9F42CC90-->  <VERSION><![CDATA[1.0.26297]]></VERSION>
+<!--8A34B301DC524EA3A07513DF9F42CC90-->  <VERSION><![CDATA[1.0.26651]]></VERSION>
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <DESCRIPTION><![CDATA[Log Clean Up Utility]]></DESCRIPTION>
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <HELP><![CDATA[Utility to periodically cleanup log tables]]></HELP>
 <!--8A34B301DC524EA3A07513DF9F42CC90-->  <URL><![CDATA[http://centralrepository.openbravo.com/heartbeat-server/org.openbravo.forge.ui/ForgeProjectDetail?projectId=7DC25E3B7ADE426CAD71E7804B95C1BF]]></URL>
--- a/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--86EBD30DEB8045508185B457896C9F6D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--86EBD30DEB8045508185B457896C9F6D-->  <AD_MODULE_ID><![CDATA[8A34B301DC524EA3A07513DF9F42CC90]]></AD_MODULE_ID>
 <!--86EBD30DEB8045508185B457896C9F6D-->  <AD_DEPENDENT_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_DEPENDENT_MODULE_ID>
-<!--86EBD30DEB8045508185B457896C9F6D-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--86EBD30DEB8045508185B457896C9F6D-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--86EBD30DEB8045508185B457896C9F6D-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--86EBD30DEB8045508185B457896C9F6D-->  <DEPENDANT_MODULE_NAME><![CDATA[Openbravo 3.0 Framework]]></DEPENDANT_MODULE_NAME>
 <!--86EBD30DEB8045508185B457896C9F6D-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_PROCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_PROCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -20,6 +20,7 @@
 <!--7A3E2A2BF61C47F8AD9FD4F898F2870B-->  <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
 <!--7A3E2A2BF61C47F8AD9FD4F898F2870B-->  <PREVENTCONCURRENT><![CDATA[Y]]></PREVENTCONCURRENT>
 <!--7A3E2A2BF61C47F8AD9FD4F898F2870B-->  <IS_EXPLICIT_ACCESS><![CDATA[N]]></IS_EXPLICIT_ACCESS>
+<!--7A3E2A2BF61C47F8AD9FD4F898F2870B-->  <ISKILLABLE><![CDATA[N]]></ISKILLABLE>
 <!--7A3E2A2BF61C47F8AD9FD4F898F2870B--></AD_PROCESS>
 
 </data>
--- a/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <NAME><![CDATA[Standard Roles]]></NAME>
-<!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <VERSION><![CDATA[3.0.26297]]></VERSION>
+<!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <VERSION><![CDATA[3.0.26651]]></VERSION>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <DESCRIPTION><![CDATA[Pre-configured collection of standard ERP roles]]></DESCRIPTION>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <HELP><![CDATA[This dataset contains the following roles with their access to corresponding Openbravo entities - windows, reports, actions.
 * Employee - Any person of the enterprise
--- a/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--148A000EE9A04A3CA653B1296A00B8E6-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--148A000EE9A04A3CA653B1296A00B8E6-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--30F966407A6F4E15965821BAEE34D25B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--30F966407A6F4E15965821BAEE34D25B-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--30F966407A6F4E15965821BAEE34D25B-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--F93CE30003B24F8F8886510B0065EECC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <AD_DEPENDENT_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_DEPENDENT_MODULE_ID>
-<!--F93CE30003B24F8F8886510B0065EECC-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--F93CE30003B24F8F8886510B0065EECC-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <DEPENDANT_MODULE_NAME><![CDATA[Orders Awaiting Delivery]]></DEPENDANT_MODULE_NAME>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <NAME><![CDATA[Openbravo 3.0 Framework]]></NAME>
-<!--7E48CDD73B7E493A8BED4F7253E7C989-->  <VERSION><![CDATA[2.1.26297]]></VERSION>
+<!--7E48CDD73B7E493A8BED4F7253E7C989-->  <VERSION><![CDATA[2.1.26651]]></VERSION>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <DESCRIPTION><![CDATA[Openbravo 3.0 Framework]]></DESCRIPTION>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <HELP><![CDATA[Contains all the components required to run the Openbravo 3.0 framework]]></HELP>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravov30framework]]></URL>
--- a/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--01E1BCCEC9114DE0960538DF34E30E6F-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--01E1BCCEC9114DE0960538DF34E30E6F-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--025B181F63CA47B48A920F6983242390-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--025B181F63CA47B48A920F6983242390-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--025B181F63CA47B48A920F6983242390-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--025B181F63CA47B48A920F6983242390-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--025B181F63CA47B48A920F6983242390-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--025B181F63CA47B48A920F6983242390-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--025B181F63CA47B48A920F6983242390-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--025B181F63CA47B48A920F6983242390-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--054B4FEAF919478AA3FF27098A46D1D6-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--054B4FEAF919478AA3FF27098A46D1D6-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_DEPENDENT_MODULE_ID>
-<!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <STARTVERSION><![CDATA[1.0.26297]]></STARTVERSION>
+<!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <STARTVERSION><![CDATA[1.0.26651]]></STARTVERSION>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <DEPENDANT_MODULE_NAME><![CDATA[Query/List Widget]]></DEPENDANT_MODULE_NAME>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--224754C3EF674C93B0D468F47BAAB824-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <AD_DEPENDENT_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_DEPENDENT_MODULE_ID>
-<!--224754C3EF674C93B0D468F47BAAB824-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--224754C3EF674C93B0D468F47BAAB824-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Selector]]></DEPENDANT_MODULE_NAME>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--5B72D24032DD4879A950194139D961B6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--5B72D24032DD4879A950194139D961B6-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--5B72D24032DD4879A950194139D961B6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--5B72D24032DD4879A950194139D961B6-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--5B72D24032DD4879A950194139D961B6-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--5B72D24032DD4879A950194139D961B6-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--5B72D24032DD4879A950194139D961B6-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--5B72D24032DD4879A950194139D961B6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -91,7 +91,7 @@
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <AD_DEPENDENT_MODULE_ID><![CDATA[D393BE6F22BB44B7B728259B34FC795A]]></AD_DEPENDENT_MODULE_ID>
-<!--8730CA6A4224439D82E0DD31B3806E36-->  <STARTVERSION><![CDATA[1.0.26297]]></STARTVERSION>
+<!--8730CA6A4224439D82E0DD31B3806E36-->  <STARTVERSION><![CDATA[1.0.26651]]></STARTVERSION>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <DEPENDANT_MODULE_NAME><![CDATA[HTML Widget]]></DEPENDANT_MODULE_NAME>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -105,7 +105,7 @@
 <!--98C47FF058F8413B8A2B26036061446E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--98C47FF058F8413B8A2B26036061446E-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--98C47FF058F8413B8A2B26036061446E-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--98C47FF058F8413B8A2B26036061446E-->  <STARTVERSION><![CDATA[8.1.26297]]></STARTVERSION>
+<!--98C47FF058F8413B8A2B26036061446E-->  <STARTVERSION><![CDATA[8.1.26651]]></STARTVERSION>
 <!--98C47FF058F8413B8A2B26036061446E-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--98C47FF058F8413B8A2B26036061446E-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--98C47FF058F8413B8A2B26036061446E-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -119,7 +119,7 @@
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <AD_DEPENDENT_MODULE_ID><![CDATA[96998CBC42744B3DBEE28AC8095C9335]]></AD_DEPENDENT_MODULE_ID>
-<!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <STARTVERSION><![CDATA[2.0.26297]]></STARTVERSION>
+<!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <STARTVERSION><![CDATA[2.0.26651]]></STARTVERSION>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <DEPENDANT_MODULE_NAME><![CDATA[2.50 to 3.00 Compatibility Skin]]></DEPENDANT_MODULE_NAME>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -133,7 +133,7 @@
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--A9CB99330AF34944877F889DD8A0AB3C-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--A9CB99330AF34944877F889DD8A0AB3C-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -147,7 +147,7 @@
 <!--E72A053A403C4A98A189C105B850ADB0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--E72A053A403C4A98A189C105B850ADB0-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--E72A053A403C4A98A189C105B850ADB0-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -161,7 +161,7 @@
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <STARTVERSION><![CDATA[2.0.26297]]></STARTVERSION>
+<!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <STARTVERSION><![CDATA[2.0.26651]]></STARTVERSION>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml	Wed May 20 09:24:44 2015 +0200
@@ -6,7 +6,7 @@
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <NAME><![CDATA[Openbravo 3.0]]></NAME>
-<!--0138E7A89B5E4DC3932462252801FFBC-->  <VERSION><![CDATA[3.0.26297]]></VERSION>
+<!--0138E7A89B5E4DC3932462252801FFBC-->  <VERSION><![CDATA[3.0.26651]]></VERSION>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <DESCRIPTION><![CDATA[Openbravo 3.0 distribution template]]></DESCRIPTION>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <HELP><![CDATA[Openbravo 3.0 is a collection (distribution) of modules. This template is a container of all the modules and configuration changes that compose Openbravo 3.0.]]></HELP>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <URL><![CDATA[http://forge.openbravo.com/projects/vthree]]></URL>
--- a/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue May 19 12:36:46 2015 +0200
+++ b/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed May 20 09:24:44 2015 +0200
@@ -7,7 +7,7 @@
 <!--4D11E3A70650475381139522373CD191-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4D11E3A70650475381139522373CD191-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--4D11E3A70650475381139522373CD191-->  <AD_DEPENDENT_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_DEPENDENT_MODULE_ID>
-<!--4D11E3A70650475381139522373CD191-->  <STARTVERSION><![CDATA[2.1.26297]]></STARTVERSION>
+<!--4D11E3A70650475381139522373CD191-->  <STARTVERSION><![CDATA[2.1.26651]]></STARTVERSION>
 <!--4D11E3A70650475381139522373CD191-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--4D11E3A70650475381139522373CD191-->  <DEPENDANT_MODULE_NAME><![CDATA[Openbravo 3.0 Framework]]></DEPENDANT_MODULE_NAME>
 <!--4D11E3A70650475381139522373CD191-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2A5EE903D7974AC298C0504FBC4501A7]]></AD_DEPENDENT_MODULE_ID>
-<!--52CE523C40634C47A99C6EBBD9C3125C-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--52CE523C40634C47A99C6EBBD9C3125C-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <DEPENDANT_MODULE_NAME><![CDATA[Payment Report]]></DEPENDANT_MODULE_NAME>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--60834727BB114764ACEF019F40A34562-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--60834727BB114764ACEF019F40A34562-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--60834727BB114764ACEF019F40A34562-->  <AD_DEPENDENT_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_DEPENDENT_MODULE_ID>
-<!--60834727BB114764ACEF019F40A34562-->  <STARTVERSION><![CDATA[1.1.26297]]></STARTVERSION>
+<!--60834727BB114764ACEF019F40A34562-->  <STARTVERSION><![CDATA[1.1.26651]]></STARTVERSION>
 <!--60834727BB114764ACEF019F40A34562-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--60834727BB114764ACEF019F40A34562-->  <DEPENDANT_MODULE_NAME><![CDATA[Orders Awaiting Delivery]]></DEPENDANT_MODULE_NAME>
 <!--60834727BB114764ACEF019F40A34562-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--8418885E97D643138B6D907671351E3D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8418885E97D643138B6D907671351E3D-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--8418885E97D643138B6D907671351E3D-->  <AD_DEPENDENT_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_DEPENDENT_MODULE_ID>
-<!--8418885E97D643138B6D907671351E3D-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--8418885E97D643138B6D907671351E3D-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--8418885E97D643138B6D907671351E3D-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--8418885E97D643138B6D907671351E3D-->  <DEPENDANT_MODULE_NAME><![CDATA[Standard Roles]]></DEPENDANT_MODULE_NAME>
 <!--8418885E97D643138B6D907671351E3D-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--A32F3279B3374FC0A6CFEA2368BB7053-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--A32F3279B3374FC0A6CFEA2368BB7053-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MINOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <STARTVERSION><![CDATA[3.0.26297]]></STARTVERSION>
+<!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <STARTVERSION><![CDATA[3.0.26651]]></STARTVERSION>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -91,41 +91,13 @@
 <!--FEF6E40F244A4061B7C62CB755663712-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <AD_DEPENDENT_MODULE_ID><![CDATA[8A34B301DC524EA3A07513DF9F42CC90]]></AD_DEPENDENT_MODULE_ID>
-<!--FEF6E40F244A4061B7C62CB755663712-->  <STARTVERSION><![CDATA[1.0.26297]]></STARTVERSION>
+<!--FEF6E40F244A4061B7C62CB755663712-->  <STARTVERSION><![CDATA[1.0.26651]]></STARTVERSION>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <DEPENDANT_MODULE_NAME><![CDATA[Log Clean Up Utility]]></DEPENDANT_MODULE_NAME>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
 <!--FEF6E40F244A4061B7C62CB755663712-->  <USER_EDITABLE_ENFORCEMENT><![CDATA[N]]></USER_EDITABLE_ENFORCEMENT>
 <!--FEF6E40F244A4061B7C62CB755663712--></AD_MODULE_DEPENDENCY>
 
-<!--FF8080813189932B013189B45B59003A--><AD_MODULE_DEPENDENCY>
-<!--FF8080813189932B013189B45B59003A-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[FF8080813189932B013189B45B59003A]]></AD_MODULE_DEPENDENCY_ID>
-<!--FF8080813189932B013189B45B59003A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813189932B013189B45B59003A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813189932B013189B45B59003A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813189932B013189B45B59003A-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
-<!--FF8080813189932B013189B45B59003A-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813189932B013189B45B59003A-->  <STARTVERSION><![CDATA[0.1.26297]]></STARTVERSION>
-<!--FF8080813189932B013189B45B59003A-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
-<!--FF8080813189932B013189B45B59003A-->  <DEPENDANT_MODULE_NAME><![CDATA[OpenID Service Integration]]></DEPENDANT_MODULE_NAME>
-<!--FF8080813189932B013189B45B59003A-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
-<!--FF8080813189932B013189B45B59003A-->  <USER_EDITABLE_ENFORCEMENT><![CDATA[N]]></USER_EDITABLE_ENFORCEMENT>
-<!--FF8080813189932B013189B45B59003A--></AD_MODULE_DEPENDENCY>
-
-<!--FF8080813189932B013189B4C00F003D--><AD_MODULE_DEPENDENCY>
-<!--FF8080813189932B013189B4C00F003D-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[FF8080813189932B013189B4C00F003D]]></AD_MODULE_DEPENDENCY_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--FF8080813189932B013189B4C00F003D-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <STARTVERSION><![CDATA[0.1.26297]]></STARTVERSION>
-<!--FF8080813189932B013189B4C00F003D-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
-<!--FF8080813189932B013189B4C00F003D-->  <DEPENDANT_MODULE_NAME><![CDATA[Integration with Google APIs]]></DEPENDANT_MODULE_NAME>
-<!--FF8080813189932B013189B4C00F003D-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
-<!--FF8080813189932B013189B4C00F003D-->  <USER_EDITABLE_ENFORCEMENT><![CDATA[N]]></USER_EDITABLE_ENFORCEMENT>
-<!--FF8080813189932B013189B4C00F003D--></AD_MODULE_DEPENDENCY>
-
 <!--FF8081812E2F6F3C012E2F750109001C--><AD_MODULE_DEPENDENCY>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_MODULE_DEPENDENCY_ID><![CDATA[FF8081812E2F6F3C012E2F750109001C]]></AD_MODULE_DEPENDENCY_ID>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -133,7 +105,7 @@
 <!--FF8081812E2F6F3C012E2F750109001C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080812D842086012D844F3CC0003E]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8081812E2F6F3C012E2F750109001C-->  <STARTVERSION><![CDATA[0.0.26297]]></STARTVERSION>
+<!--FF8081812E2F6F3C012E2F750109001C-->  <STARTVERSION><![CDATA[0.0.26651]]></STARTVERSION>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <DEPENDANT_MODULE_NAME><![CDATA[Widgets Collection]]></DEPENDANT_MODULE_NAME>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/referencedata/sampledata/F_B_International_Group/AD_WINDOW_ACCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/F_B_International_Group/AD_WINDOW_ACCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -2227,20 +2227,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[141DF565932C45A497FC54235429A02A]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[0D4689364DDB473BB3023E4E554C8762]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.842]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.842]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[1426809B6A42477EA4536C058F02B5A5]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[107]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
@@ -6049,34 +6035,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[39F10E93329A4C72B5A3DC94CCC776BD]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.829]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.829]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[39F74516EC5A4211BEB19A0A7C0408A9]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[6EFB8443A1C64F3D926CE42A0E40631C]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.829]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.829]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[39FFC80B0E184457864752A12496DF96]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[1002100003]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[0D4689364DDB473BB3023E4E554C8762]]></AD_ROLE_ID>
@@ -6665,20 +6623,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[3F523C58D9BB460F9407ED212FD11933]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[6DCC4F942CE944F997596B9EA51A4FEB]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.828]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.828]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[3F7BC8C12CBA45FF9C56298293BEA5F1]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[3596042B422E4F049F9E4AAED238C219]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
@@ -10305,20 +10249,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[612E075C39494665AA643CAEC7E94053]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.816]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.816]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[6137D70436F24AE697BF9EB9CD7393E4]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[800060]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
@@ -11313,20 +11243,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[6987735A25314FF089D615EEC430B116]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[9A2D4EC760704A79BAFF8FF244FE0273]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.813]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.813]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[69892AC9CE0748498AFCB7475FD9FBD1]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[FC6A51DF5F32451987C0C84D7B338B94]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[6DCC4F942CE944F997596B9EA51A4FEB]]></AD_ROLE_ID>
@@ -12251,20 +12167,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[73228AA045764054B083AF1ED1AF53ED]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[F77D70601AD549B19DE47965F6D48D12]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.81]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.81]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[735E5F3825704F31A28BFA8765EA367E]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[800066]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
@@ -14253,20 +14155,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[8713EF46FAD8436EABF163CD3C2E2E42]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[8CB7726D1DCD435FAF7D1654C9560F81]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.804]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.804]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[87383F424DCC4F7B84C04F978B49E785]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[137]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
@@ -23213,20 +23101,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[D9E50FAC77F34DA5A060AA6873288162]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.778]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.778]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[D9EEAD5412AB46B69CCF03D21D1BE654]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[191]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
@@ -23409,20 +23283,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[DB388E2FBB7944B5A7C96B438CD99C0D]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[1CAE17A7848D4F0BAAF21FEB17045B88]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.778]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.778]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[DB48386099F64A5C8FA0C55262A9C043]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[210]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[0D4689364DDB473BB3023E4E554C8762]]></AD_ROLE_ID>
@@ -25481,20 +25341,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[F088FDD985574F5BAB83DA8C2D60A15E]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:47.772]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:47.772]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[F0B82CA9C951421A82B849AF96124A65]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[129]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[F77D70601AD549B19DE47965F6D48D12]]></AD_ROLE_ID>
--- a/referencedata/sampledata/F_B_International_Group/OBUIAPP_VIEW_ROLE_ACCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/F_B_International_Group/OBUIAPP_VIEW_ROLE_ACCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -14,32 +14,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[06C7513956684F7AAD8FE8A3361ADA08]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[0D4689364DDB473BB3023E4E554C8762]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[07118FD604A2494AB0CF0A81B946D7D3]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[42D0EEB1C66F497A90DD526DC597E6F0]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[07E176A7287E4B5BA46ED04074C9D4B4]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -66,19 +40,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[19C65E9F76544DCBBB4BC035E3C659B6]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[F77D70601AD549B19DE47965F6D48D12]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[345342DCE896406EAA565EE2010FCEA0]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -118,19 +79,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[3F011D01E7D1474883B919CA494B1BD3]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[8CB7726D1DCD435FAF7D1654C9560F81]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[4FBFCF5BAEE84CC6903446D32055417C]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -170,19 +118,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[5D794F95CEA5421DA04990CC6A4AC638]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[1CAE17A7848D4F0BAAF21FEB17045B88]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[5D8F310BB14F41CE936809187CE11372]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -235,19 +170,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[72F205826FFF49FAA4B3D0ECE4AD58C3]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[6DCC4F942CE944F997596B9EA51A4FEB]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[75C70A2579ED4134AC6EF293ECC45DD6]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -274,32 +196,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[91AB97F274364DD8B67941D36C9A6B2F]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[F3196A30B53A42778727B2852FF90C24]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[CEF890275073480DBA252F4367090111]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[E669860946664B24BD1AE1ACDF2F5FC3]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[D269E1F1038F434797F5C3ABCC2323CE]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -339,19 +235,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[E4FFFC7D73B94EE38A8D3664A564E6F9]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[9A2D4EC760704A79BAFF8FF244FE0273]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[E7FE9B7F974747D68395AD57E864D3BE]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
@@ -365,19 +248,6 @@
 </OBUIAPP_VIEW_ROLE_ACCESS>
 
 <OBUIAPP_VIEW_ROLE_ACCESS>
-  <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[F06A5292541B46F58B689B5A0B77D7B6]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
-  <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <OBUIAPP_VIEW_IMPL_ID><![CDATA[FF808081314D5BAC01314D64B9920013]]></OBUIAPP_VIEW_IMPL_ID>
-  <AD_ROLE_ID><![CDATA[DB6660F6713A4DCFA320A502B4A0E670]]></AD_ROLE_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:45:48.348]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:45:48.348]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-</OBUIAPP_VIEW_ROLE_ACCESS>
-
-<OBUIAPP_VIEW_ROLE_ACCESS>
   <OBUIAPP_VIEW_ROLE_ACCESS_ID><![CDATA[FA1B619209E5411CAEAB65E73E155CC7]]></OBUIAPP_VIEW_ROLE_ACCESS_ID>
   <AD_CLIENT_ID><![CDATA[23C59575B9CF467C9620760EB255B389]]></AD_CLIENT_ID>
   <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
--- a/referencedata/sampledata/QA_Testing/AD_WINDOW_ACCESS.xml	Tue May 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/AD_WINDOW_ACCESS.xml	Wed May 20 09:24:44 2015 +0200
@@ -295,20 +295,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[08F4243C36764925B843C1C39201DACE]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[CC6AB5B4C4B54CB79103C96AD2B90750]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:18.045]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.045]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[09A02EE3F62C41279BD2505E1897F559]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[AB30B4B4C94540849D221C4BC31A9816]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
@@ -4117,20 +4103,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[758C1AD109724E3097ED975157B30B0D]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:18.031]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.031]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[7603BE6F0ED245D98B6F9F3BA2825BD2]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[81BAC97FE7754C669254C9CF4FA20292]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
@@ -5531,20 +5503,6 @@
 </AD_WINDOW_ACCESS>
 
 <AD_WINDOW_ACCESS>
-  <AD_WINDOW_ACCESS_ID><![CDATA[9EE1417381E1417F969D6D5B9B6B7F00]]></AD_WINDOW_ACCESS_ID>
-  <AD_WINDOW_ID><![CDATA[FF8080813161A3D301316208017A0011]]></AD_WINDOW_ID>
-  <AD_ROLE_ID><![CDATA[4028E6C72959682B01295A071429011E]]></AD_ROLE_ID>
-  <AD_CLIENT_ID><![CDATA[4028E6C72959682B01295A070852010D]]></AD_CLIENT_ID>
-  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-  <CREATED><![CDATA[2013-07-04 23:38:18.026]]></CREATED>
-  <CREATEDBY><![CDATA[0]]></CREATEDBY>
-  <UPDATED><![CDATA[2013-07-04 23:38:18.026]]></UPDATED>
-  <UPDATEDBY><![CDATA[0]]></UPDATEDBY>
-  <ISREADWRITE><![CDATA[Y]]></ISREADWRITE>
-</AD_WINDOW_ACCESS>
-
-<AD_WINDOW_ACCESS>
   <AD_WINDOW_ACCESS_ID><![CDATA[9F114635D481408F84DBB2E7915E6F14]]></AD_WINDOW_ACCESS_ID>
   <AD_WINDOW_ID><![CDATA[242]]></AD_WINDOW_ID>
   <AD_ROLE_ID><![CDATA[0256D4272D82412C9CDF41B67E362599]]></AD_ROLE_ID>
--- a/referencedata/sampledata/QA_Testing/C_CONVERSION_RATE.xml	Tue May 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_CONVERSION_RATE.xml	Wed May 20 09:24:44 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	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_INVOICE.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_INVOICELINE.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_INVOICELINETAX.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_INVOICETAX.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_ORDER.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_ORDERLINE.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_ORDERTAX.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/C_UOM.xml	Wed May 20 09:24:44 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 19 12:36:46 2015 +0200
+++ b/referencedata/sampledata/QA_Testing/FACT_ACCT.xml	Wed May 20 09:24:44 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>