[roles] pi merge
authorAsier Lostalé <asier.lostale@openbravo.com>
Fri, 11 Nov 2011 17:17:39 +0100
changeset 15289 939a9b504792
parent 15288 69d2933838c8 (current diff)
parent 14223 694f4e57c9ee (diff)
child 15290 de03c6530c1f
[roles] pi merge
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_TAB.xml
src-db/database/sourcedata/AD_TABLE.xml
--- a/.hgignore	Fri Nov 04 19:18:10 2011 -0500
+++ b/.hgignore	Fri Nov 11 17:17:39 2011 +0100
@@ -38,6 +38,7 @@
 
 *.bak
 *.swp
+
 Thumbs.db
 
 sources
--- a/.hgsigs	Fri Nov 04 19:18:10 2011 -0500
+++ b/.hgsigs	Fri Nov 11 17:17:39 2011 +0100
@@ -38,3 +38,10 @@
 e1095f432296d2d007a16592ce903c611e32a8ca 0 iEYEABECAAYFAk4fNVoACgkQCX/oGf+2qkM/vACeMJuEyh0KlU/iUOd+GOJu+23MMasAni7f8YASwyBpy8Rhq6hseH9jl+QP
 298c364b00dfafd8d14f39e4c46582666b63b792 0 iEYEABECAAYFAk5FBE8ACgkQCX/oGf+2qkMLLwCg5owJffX+FRvdAhcx5lu98a+bczMAoOrxERXMnWJcjrPiRsHe9uK2rbEB
 73cf94540eee261735546af235c022b6629c60b4 0 iEYEABECAAYFAk5km6QACgkQCX/oGf+2qkMg+QCfSxJaCXo3RB98Em77DE2wTgMdIrsAn3lvr6yVFui+ZIn81ELLNg6+hjTY
+de6ba33247c6a6fe40c8091880ca88371e62f9e5 0 iEYEABECAAYFAk5uEmIACgkQCX/oGf+2qkMqYwCeOiBUc3Bbsscvh17YA3xEium84OsAoNuBTpQKw5uNm0oE7YgIYfxislr9
+1337fbe9577f700323ed7dca2830832d4c767c24 0 iEYEABECAAYFAk58b5AACgkQCX/oGf+2qkOhuwCfcZb9pTthMp2BXE6xcKVquD27R7MAnidzwSvbx4rJK2XvWht0B35hELV4
+819660861fcf70114fd97793de78cec4cc3ef63b 0 iEYEABECAAYFAk6ZYrAACgkQCX/oGf+2qkODfgCeNU807u8Lz0PaEwb/4hkZzwHn8l8AoLwXed7lxTH/jybwSSOGvGMde+M/
+36fbd0e92534c9261754d500e9ef0d1a45744b59 0 iEYEABECAAYFAk6B2kgACgkQCX/oGf+2qkPXrwCghp9G3HStth7Hc4vevflmiJsaL/sAoLKnTFUyu4ZX8mlLusps5zAiWNjT
+851d60ba120c48644beb5b9469acff1dbdb7368c 0 iEYEABECAAYFAk6daREACgkQCX/oGf+2qkN7twCg2ekW1o6w98p9Bvacblx2q3zOBYIAoJihfu3/n4If7/CHg4um1nqYvBvC
+19fb1243d437ff7490e6ad44018c4e403cf18af4 0 iEYEABECAAYFAk6YPpEACgkQCX/oGf+2qkO6NwCeJdcbggzlqxYL7K1NG98pjnWjH60AoL/aHl5Qi1e2UvFGbAeFcJZmR2AH
+6f5b96ecdf0cb377597c0abad63dc98aacfa3b6d 0 iEYEABECAAYFAk6gfrgACgkQCX/oGf+2qkN7WQCg/WowvRSY1dn1vXn2NRNWg/vL+YIAmwbYIbwrsnLS/rPFsoUDWsEMX2U6
--- a/.hgtags	Fri Nov 04 19:18:10 2011 -0500
+++ b/.hgtags	Fri Nov 11 17:17:39 2011 +0100
@@ -49,3 +49,10 @@
 c7557e3684a44b84a633889ad597e689715bc57f 3.0MP1
 e303b38f24e9a12a4b8fdf0b2408055a2ab040d7 3.0MP2
 7ab6e81dcecb181d85885103d32f2f6ccac8b0a1 3.0MP2.1
+d08117cade69fcc9ac91619661a6b5071db6af16 3.0MP2.2
+74d95de540d0f428ab9c53303fa45ac6c192885c 3.0MP2.3
+e67ea53b0101e8a09ede8823ebf90cfb6f01a60c 3.0MP2.4
+c7a189353e46e28e320809a2e8aaaaac8c6f67e2 3.0MP3
+90cf0099c87c7edc0fe925ffc5df21ea55449186 3.0MP3.1
+4e9fa8e7edbc01b25ebaa4aefb7b9cff61a91f98 3.0MP4
+f7371a7182533fe4717596b18262d42176fefe40 3.0MP4.1
Binary file modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments.class has changed
Binary file modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.class has changed
Binary file modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateReconciliationProcessButtonValue.class has changed
Binary file modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdateReconciliationProcessButtonValueData.class has changed
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -549,7 +549,7 @@
         AND isactive = 'Y';
         
         IF (v_payment_desc IS NOT NULL AND v_payment_desc='Supplier Reference' 
-            AND coalesce(length(v_poreference), 0)>0) THEN
+            AND v_IsSOTrx ='N' AND coalesce(length(v_poreference), 0)>0) THEN
           v_documentno := v_poreference;
         END IF;
         
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/FIN_FINACC_TRANSACTION.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/FIN_FINACC_TRANSACTION.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -5,5 +5,9 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="EM_APRM_MODIFY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
     </table>
   </database>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/FIN_RECONCILIATION.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/FIN_RECONCILIATION.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -5,5 +5,19 @@
         <default><![CDATA[P]]></default>
         <onCreateDefault/>
       </column>
+      <column name="EM_APRM_PRINTDETAILED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="EM_APRM_PRINTSUMMARY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="EM_APRM_PROCESS_REC" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default><![CDATA[P]]></default>
+        <onCreateDefault/>
+      </column>
+      <check name="EM_APRM_REC_PRINTDET_CHK"><![CDATA[EM_APRM_PRINTDETAILED IN ('Y', 'N')]]></check>
+      <check name="EM_APRM_REC_PRINTSUM_CHK"><![CDATA[EM_APRM_PRINTSUMMARY IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/model/views/APRM_FINACC_TRANSACTION_V.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/views/APRM_FINACC_TRANSACTION_V.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
   <database name="VIEW APRM_FINACC_TRANSACTION_V">
-    <view name="APRM_FINACC_TRANSACTION_V"><![CDATA[SELECT trx.fin_finacc_transaction_id AS aprm_finacc_transaction_v_id, trx.fin_finacc_transaction_id, trx.ad_client_id, trx.ad_org_id, trx.isactive, trx.created, trx.createdby, trx.updated, trx.updatedby, trx.fin_financial_account_id, trx.line, trx.description, trx.statementdate, trx.trxtype, trx.fin_payment_id, trx.c_glitem_id, trx.depositamt, trx.paymentamt, trx.c_currency_id, trx.fin_reconciliation_id, trx.status, trx.createdbyalgorithm, trx.posted, trx.dateacct, trx.processed, trx.processing, trx.user1_id, trx.user2_id, trx.c_activity_id, trx.c_campaign_id, trx.c_project_id, trx.foreign_currency_id, trx.foreign_amount, trx.foreign_convert_rate, 
+    <view name="APRM_FINACC_TRANSACTION_V"><![CDATA[SELECT trx.fin_finacc_transaction_id AS aprm_finacc_transaction_v_id, trx.fin_finacc_transaction_id, trx.ad_client_id, trx.ad_org_id, trx.isactive, trx.created, trx.createdby, trx.updated, trx.updatedby, trx.fin_financial_account_id, trx.line, trx.description, trx.statementdate, trx.trxtype, trx.fin_payment_id, trx.c_glitem_id, trx.depositamt, trx.paymentamt, trx.c_currency_id, trx.fin_reconciliation_id, trx.status, trx.createdbyalgorithm, trx.posted, trx.dateacct, trx.processed, trx.processing, trx.user1_id, trx.user2_id, trx.c_activity_id, trx.c_campaign_id, trx.c_project_id, trx.foreign_currency_id, trx.foreign_amount, trx.em_aprm_modify, trx.foreign_convert_rate, 
 CASE trx.status
 WHEN 'RPPC' THEN 'Y'
 ELSE 'N'
-END AS cleared, p.c_bpartner_id, p.documentno AS paymentdocno, COALESCE(r.processed, 'N') AS reconciled, 'N' AS delete_btn, (SELECT ad_table.ad_table_id
+END AS cleared, COALESCE(trx.c_bpartner_id, p.c_bpartner_id) AS c_bpartner_id, trx.m_product_id, trx.c_salesregion_id, p.documentno AS paymentdocno, COALESCE(r.processed, 'N') AS reconciled, 'N' AS delete_btn, (SELECT ad_table.ad_table_id
 FROM ad_table
 WHERE lower(ad_table.tablename) = 'fin_finacc_transaction') AS forced_table_id
 FROM fin_finacc_transaction trx
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/model/views/APRM_RECONCILIATION_V.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/views/APRM_RECONCILIATION_V.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -23,8 +23,8 @@
 ELSE 1
 END), 0) AS deposit_no, COALESCE(sum(fin_finacc_transaction.depositamt), 0) AS deposit_amt
 FROM fin_finacc_transaction, fin_reconciliation
-WHERE (fin_finacc_transaction.fin_reconciliation_id IS NULL OR (fin_finacc_transaction.fin_reconciliation_id IN (SELECT r.fin_reconciliation_id
+WHERE (fin_finacc_transaction.fin_reconciliation_id IS NULL OR (EXISTS (SELECT 1
 FROM fin_reconciliation r
-WHERE r.dateto > fin_reconciliation.dateto))) AND fin_finacc_transaction.statementdate <= fin_reconciliation.dateto AND fin_finacc_transaction.fin_financial_account_id = fin_reconciliation.fin_financial_account_id
+WHERE r.dateto > fin_reconciliation.dateto AND fin_finacc_transaction.fin_reconciliation_id = r.fin_reconciliation_id))) AND fin_finacc_transaction.statementdate <= fin_reconciliation.dateto AND fin_finacc_transaction.fin_financial_account_id = fin_reconciliation.fin_financial_account_id
 GROUP BY fin_reconciliation.fin_reconciliation_id) outstanding ON fin_reconciliation.fin_reconciliation_id = outstanding.fin_reconciliation_id]]></view>
   </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/model/views/APRM_REC_DETAIL_V.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+  <database name="VIEW APRM_REC_DETAIL_V">
+    <view name="APRM_REC_DETAIL_V"><![CDATA[((SELECT get_uuid() AS aprm_rec_detail_v_id, to_char('APRM_Reconciled') AS type, fin_finacc_transaction.fin_reconciliation_id, COALESCE(count(*), 0) AS item_no, COALESCE(sum(fin_finacc_transaction.depositamt - fin_finacc_transaction.paymentamt), 0) AS item_amt, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive
+FROM fin_finacc_transaction, fin_reconciliation
+WHERE fin_finacc_transaction.fin_reconciliation_id = fin_reconciliation.fin_reconciliation_id
+GROUP BY fin_finacc_transaction.fin_reconciliation_id, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive
+UNION ALL 
+SELECT get_uuid() AS aprm_rec_detail_v_id, to_char('APRM_UnReconciled') AS type, fin_reconciliation.fin_reconciliation_id, COALESCE(count(*), 0) AS item_no, COALESCE(sum(fin_bankstatementline.cramount - fin_bankstatementline.dramount), 0) AS item_amt, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive
+FROM fin_bankstatementline, fin_bankstatement, fin_reconciliation
+WHERE (fin_bankstatementline.fin_finacc_transaction_id IS NULL OR (EXISTS (SELECT 1
+FROM fin_finacc_transaction, fin_reconciliation rec
+WHERE fin_finacc_transaction.fin_reconciliation_id = rec.fin_reconciliation_id AND fin_bankstatementline.fin_finacc_transaction_id = fin_finacc_transaction.fin_finacc_transaction_id AND fin_finacc_transaction.fin_financial_account_id = fin_bankstatement.fin_financial_account_id AND rec.created > fin_reconciliation.created))) AND fin_bankstatementline.datetrx <= fin_reconciliation.dateto AND fin_bankstatement.fin_bankstatement_id = fin_bankstatementline.fin_bankstatement_id AND fin_bankstatement.fin_financial_account_id = fin_reconciliation.fin_financial_account_id
+GROUP BY fin_reconciliation.fin_reconciliation_id, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive)
+UNION ALL 
+SELECT get_uuid() AS aprm_rec_detail_v_id, to_char('APRM_OutstandingPayments') AS type, fin_reconciliation.fin_reconciliation_id, COALESCE(sum(
+CASE COALESCE(fin_finacc_transaction.paymentamt, 0)
+WHEN 0 THEN 0
+ELSE 1
+END), 0) AS item_no, COALESCE(sum(fin_finacc_transaction.paymentamt), 0) AS item_amt, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive
+FROM fin_finacc_transaction, fin_reconciliation
+WHERE (fin_finacc_transaction.fin_reconciliation_id IS NULL OR (EXISTS (SELECT 1
+FROM fin_reconciliation r
+WHERE r.dateto > fin_reconciliation.dateto AND fin_finacc_transaction.fin_reconciliation_id = r.fin_reconciliation_id))) AND fin_finacc_transaction.statementdate <= fin_reconciliation.dateto AND fin_finacc_transaction.fin_financial_account_id = fin_reconciliation.fin_financial_account_id
+GROUP BY fin_reconciliation.fin_reconciliation_id, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive)
+UNION ALL 
+SELECT get_uuid() AS aprm_rec_detail_v_id, to_char('APRM_OutstandingDeposits') AS type, fin_reconciliation.fin_reconciliation_id, COALESCE(sum(
+CASE COALESCE(fin_finacc_transaction.depositamt, 0)
+WHEN 0 THEN 0
+ELSE 1
+END), 0) AS item_no, COALESCE(sum(fin_finacc_transaction.depositamt), 0) AS item_amt, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive
+FROM fin_finacc_transaction, fin_reconciliation
+WHERE (fin_finacc_transaction.fin_reconciliation_id IS NULL OR (EXISTS (SELECT 1
+FROM fin_reconciliation r
+WHERE r.dateto > fin_reconciliation.dateto AND fin_finacc_transaction.fin_reconciliation_id = r.fin_reconciliation_id))) AND fin_finacc_transaction.statementdate <= fin_reconciliation.dateto AND fin_finacc_transaction.fin_financial_account_id = fin_reconciliation.fin_financial_account_id
+GROUP BY fin_reconciliation.fin_reconciliation_id, fin_reconciliation.ad_client_id, fin_reconciliation.ad_org_id, fin_reconciliation.created, fin_reconciliation.createdby, fin_reconciliation.updated, fin_reconciliation.updatedby, fin_reconciliation.isactive]]></view>
+  </database>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_AUXILIARINPUT.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_AUXILIARINPUT.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -1,5 +1,16 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <data>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2--><AD_AUXILIARINPUT>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <AD_AUXILIARINPUT_ID><![CDATA[21943DF0B89F4AE3AF14A9C06F1181C2]]></AD_AUXILIARINPUT_ID>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <NAME><![CDATA[Forced_Table_ID]]></NAME>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <CODE><![CDATA[@AD_TABLE_ID@]]></CODE>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--21943DF0B89F4AE3AF14A9C06F1181C2--></AD_AUXILIARINPUT>
+
 <!--9D630C9E4C734361BFB09B153EEE3BCB--><AD_AUXILIARINPUT>
 <!--9D630C9E4C734361BFB09B153EEE3BCB-->  <AD_AUXILIARINPUT_ID><![CDATA[9D630C9E4C734361BFB09B153EEE3BCB]]></AD_AUXILIARINPUT_ID>
 <!--9D630C9E4C734361BFB09B153EEE3BCB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -31,6 +31,7 @@
 <!--046498C716474A6EAAEA0CA26E09C69D-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--046498C716474A6EAAEA0CA26E09C69D-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--046498C716474A6EAAEA0CA26E09C69D-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--046498C716474A6EAAEA0CA26E09C69D-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--046498C716474A6EAAEA0CA26E09C69D--></AD_COLUMN>
 
 <!--04DCCC7AAEDF4296941DD5ACB9164734--><AD_COLUMN>
@@ -66,6 +67,7 @@
 <!--04DCCC7AAEDF4296941DD5ACB9164734-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--04DCCC7AAEDF4296941DD5ACB9164734-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--04DCCC7AAEDF4296941DD5ACB9164734-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--04DCCC7AAEDF4296941DD5ACB9164734-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--04DCCC7AAEDF4296941DD5ACB9164734--></AD_COLUMN>
 
 <!--09A1C598D8134CAC92CB30E476A213B0--><AD_COLUMN>
@@ -99,8 +101,45 @@
 <!--09A1C598D8134CAC92CB30E476A213B0-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--09A1C598D8134CAC92CB30E476A213B0-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--09A1C598D8134CAC92CB30E476A213B0-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--09A1C598D8134CAC92CB30E476A213B0-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--09A1C598D8134CAC92CB30E476A213B0--></AD_COLUMN>
 
+<!--09A973768AD449FCBDB2B78580BAE637--><AD_COLUMN>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_COLUMN_ID><![CDATA[09A973768AD449FCBDB2B78580BAE637]]></AD_COLUMN_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <NAME><![CDATA[Active]]></NAME>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <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>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <POSITION><![CDATA[12]]></POSITION>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--09A973768AD449FCBDB2B78580BAE637-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--09A973768AD449FCBDB2B78580BAE637--></AD_COLUMN>
+
 <!--0CE41B7829C54AF3B7193B1FA52B3C62--><AD_COLUMN>
 <!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <AD_COLUMN_ID><![CDATA[0CE41B7829C54AF3B7193B1FA52B3C62]]></AD_COLUMN_ID>
 <!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -132,6 +171,7 @@
 <!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--0CE41B7829C54AF3B7193B1FA52B3C62-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--0CE41B7829C54AF3B7193B1FA52B3C62--></AD_COLUMN>
 
 <!--1309F42BE35D4E71A2185623688E5628--><AD_COLUMN>
@@ -165,6 +205,7 @@
 <!--1309F42BE35D4E71A2185623688E5628-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--1309F42BE35D4E71A2185623688E5628-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--1309F42BE35D4E71A2185623688E5628-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1309F42BE35D4E71A2185623688E5628-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--1309F42BE35D4E71A2185623688E5628--></AD_COLUMN>
 
 <!--1336389E95FA4A2B801DEE8DE3D7C3D3--><AD_COLUMN>
@@ -199,6 +240,7 @@
 <!--1336389E95FA4A2B801DEE8DE3D7C3D3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--1336389E95FA4A2B801DEE8DE3D7C3D3-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--1336389E95FA4A2B801DEE8DE3D7C3D3-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1336389E95FA4A2B801DEE8DE3D7C3D3-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--1336389E95FA4A2B801DEE8DE3D7C3D3--></AD_COLUMN>
 
 <!--137DEB7F4BAF46A783F86044A1817D66--><AD_COLUMN>
@@ -234,8 +276,43 @@
 <!--137DEB7F4BAF46A783F86044A1817D66-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--137DEB7F4BAF46A783F86044A1817D66-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--137DEB7F4BAF46A783F86044A1817D66-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--137DEB7F4BAF46A783F86044A1817D66-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--137DEB7F4BAF46A783F86044A1817D66--></AD_COLUMN>
 
+<!--1485BE46BB7E48D78834C85C8E970D00--><AD_COLUMN>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_COLUMN_ID><![CDATA[1485BE46BB7E48D78834C85C8E970D00]]></AD_COLUMN_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <NAME><![CDATA[Type]]></NAME>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <DESCRIPTION><![CDATA[A distinct item characteristic used for processes and sometimes grouped within a category.]]></DESCRIPTION>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <HELP><![CDATA[The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.]]></HELP>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <COLUMNNAME><![CDATA[Type]]></COLUMNNAME>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <FIELDLENGTH><![CDATA[-5]]></FIELDLENGTH>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_ELEMENT_ID><![CDATA[600]]></AD_ELEMENT_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <POSITION><![CDATA[2]]></POSITION>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1485BE46BB7E48D78834C85C8E970D00-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--1485BE46BB7E48D78834C85C8E970D00--></AD_COLUMN>
+
 <!--1678A44C2B7543DD8393C8E4E32D6F3E--><AD_COLUMN>
 <!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <AD_COLUMN_ID><![CDATA[1678A44C2B7543DD8393C8E4E32D6F3E]]></AD_COLUMN_ID>
 <!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -267,6 +344,7 @@
 <!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1678A44C2B7543DD8393C8E4E32D6F3E-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--1678A44C2B7543DD8393C8E4E32D6F3E--></AD_COLUMN>
 
 <!--168A9EBEED3B444FAA83EDCCAE7716A9--><AD_COLUMN>
@@ -300,6 +378,7 @@
 <!--168A9EBEED3B444FAA83EDCCAE7716A9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--168A9EBEED3B444FAA83EDCCAE7716A9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--168A9EBEED3B444FAA83EDCCAE7716A9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--168A9EBEED3B444FAA83EDCCAE7716A9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--168A9EBEED3B444FAA83EDCCAE7716A9--></AD_COLUMN>
 
 <!--18096D8809024E67A36E636EA0D9D0E7--><AD_COLUMN>
@@ -308,10 +387,10 @@
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <NAME><![CDATA[EM_APRM_Payment Description]]></NAME>
-<!--18096D8809024E67A36E636EA0D9D0E7-->  <DESCRIPTION><![CDATA[Invoice's Reference to be automatically included into the Payment Description]]></DESCRIPTION>
-<!--18096D8809024E67A36E636EA0D9D0E7-->  <HELP><![CDATA[Invoice's reference to be automatically included into the payment description. Possible values are:
-- Invoice document number (default)
-- Supplier reference, which is defined in the invoice's header]]></HELP>
+<!--18096D8809024E67A36E636EA0D9D0E7-->  <DESCRIPTION><![CDATA[Purchase Invoice's Reference to be automatically included into the Payment Description.]]></DESCRIPTION>
+<!--18096D8809024E67A36E636EA0D9D0E7-->  <HELP><![CDATA[Purchase Invoice's reference to be automatically included into the payment description. Possible values are:
+- Invoice document number (default).
+- Supplier reference, which is defined in the invoice's header.]]></HELP>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <COLUMNNAME><![CDATA[EM_Aprm_Payment_Desc]]></COLUMNNAME>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <AD_TABLE_ID><![CDATA[228]]></AD_TABLE_ID>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
@@ -337,6 +416,7 @@
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--18096D8809024E67A36E636EA0D9D0E7-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--18096D8809024E67A36E636EA0D9D0E7-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--18096D8809024E67A36E636EA0D9D0E7--></AD_COLUMN>
 
 <!--1CDAC09BBD9A46AE8FD9D5249092B6EF--><AD_COLUMN>
@@ -370,6 +450,7 @@
 <!--1CDAC09BBD9A46AE8FD9D5249092B6EF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--1CDAC09BBD9A46AE8FD9D5249092B6EF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--1CDAC09BBD9A46AE8FD9D5249092B6EF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1CDAC09BBD9A46AE8FD9D5249092B6EF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--1CDAC09BBD9A46AE8FD9D5249092B6EF--></AD_COLUMN>
 
 <!--1D64AD4366EF4A209F2A462A8DE42735--><AD_COLUMN>
@@ -403,6 +484,7 @@
 <!--1D64AD4366EF4A209F2A462A8DE42735-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--1D64AD4366EF4A209F2A462A8DE42735-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--1D64AD4366EF4A209F2A462A8DE42735-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--1D64AD4366EF4A209F2A462A8DE42735-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--1D64AD4366EF4A209F2A462A8DE42735--></AD_COLUMN>
 
 <!--20F9FCA0D27C496EA46CDD4A7E5F56B9--><AD_COLUMN>
@@ -436,6 +518,7 @@
 <!--20F9FCA0D27C496EA46CDD4A7E5F56B9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--20F9FCA0D27C496EA46CDD4A7E5F56B9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--20F9FCA0D27C496EA46CDD4A7E5F56B9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--20F9FCA0D27C496EA46CDD4A7E5F56B9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--20F9FCA0D27C496EA46CDD4A7E5F56B9--></AD_COLUMN>
 
 <!--248F6C6C2AF2435BA1AEDBEDFDEBC794--><AD_COLUMN>
@@ -469,6 +552,7 @@
 <!--248F6C6C2AF2435BA1AEDBEDFDEBC794-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--248F6C6C2AF2435BA1AEDBEDFDEBC794-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--248F6C6C2AF2435BA1AEDBEDFDEBC794-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--248F6C6C2AF2435BA1AEDBEDFDEBC794-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--248F6C6C2AF2435BA1AEDBEDFDEBC794--></AD_COLUMN>
 
 <!--24F844751D19499CA1215A76C9BC2543--><AD_COLUMN>
@@ -501,6 +585,7 @@
 <!--24F844751D19499CA1215A76C9BC2543-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--24F844751D19499CA1215A76C9BC2543-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--24F844751D19499CA1215A76C9BC2543-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--24F844751D19499CA1215A76C9BC2543-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--24F844751D19499CA1215A76C9BC2543--></AD_COLUMN>
 
 <!--26E3702BD6F345FB802CD410C12FC6EE--><AD_COLUMN>
@@ -534,6 +619,7 @@
 <!--26E3702BD6F345FB802CD410C12FC6EE-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--26E3702BD6F345FB802CD410C12FC6EE-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--26E3702BD6F345FB802CD410C12FC6EE-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--26E3702BD6F345FB802CD410C12FC6EE-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--26E3702BD6F345FB802CD410C12FC6EE--></AD_COLUMN>
 
 <!--289B006128184E18AD737308CE7C6981--><AD_COLUMN>
@@ -567,6 +653,7 @@
 <!--289B006128184E18AD737308CE7C6981-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--289B006128184E18AD737308CE7C6981-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--289B006128184E18AD737308CE7C6981-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--289B006128184E18AD737308CE7C6981-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--289B006128184E18AD737308CE7C6981--></AD_COLUMN>
 
 <!--28CE1AD2A23148A99EBE54CD7A4AA943--><AD_COLUMN>
@@ -600,6 +687,7 @@
 <!--28CE1AD2A23148A99EBE54CD7A4AA943-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--28CE1AD2A23148A99EBE54CD7A4AA943-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--28CE1AD2A23148A99EBE54CD7A4AA943-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--28CE1AD2A23148A99EBE54CD7A4AA943-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--28CE1AD2A23148A99EBE54CD7A4AA943--></AD_COLUMN>
 
 <!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3--><AD_COLUMN>
@@ -633,6 +721,7 @@
 <!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2AB8A3D42A4B4F2581FBFB9C9C4CA5D3--></AD_COLUMN>
 
 <!--2AED8917359B404BB2FA91998B9DE185--><AD_COLUMN>
@@ -666,6 +755,7 @@
 <!--2AED8917359B404BB2FA91998B9DE185-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2AED8917359B404BB2FA91998B9DE185-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2AED8917359B404BB2FA91998B9DE185-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2AED8917359B404BB2FA91998B9DE185-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2AED8917359B404BB2FA91998B9DE185--></AD_COLUMN>
 
 <!--2B2E0238A7E443D9BD24FB5D15B1DD4A--><AD_COLUMN>
@@ -699,6 +789,7 @@
 <!--2B2E0238A7E443D9BD24FB5D15B1DD4A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2B2E0238A7E443D9BD24FB5D15B1DD4A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2B2E0238A7E443D9BD24FB5D15B1DD4A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2B2E0238A7E443D9BD24FB5D15B1DD4A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2B2E0238A7E443D9BD24FB5D15B1DD4A--></AD_COLUMN>
 
 <!--2B54EC3D70D743FBB55192C0EE3832A3--><AD_COLUMN>
@@ -732,6 +823,7 @@
 <!--2B54EC3D70D743FBB55192C0EE3832A3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2B54EC3D70D743FBB55192C0EE3832A3-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2B54EC3D70D743FBB55192C0EE3832A3-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2B54EC3D70D743FBB55192C0EE3832A3-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2B54EC3D70D743FBB55192C0EE3832A3--></AD_COLUMN>
 
 <!--2B609CEE0C4E4DFBA000FFAFBC24917F--><AD_COLUMN>
@@ -763,6 +855,7 @@
 <!--2B609CEE0C4E4DFBA000FFAFBC24917F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2B609CEE0C4E4DFBA000FFAFBC24917F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2B609CEE0C4E4DFBA000FFAFBC24917F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2B609CEE0C4E4DFBA000FFAFBC24917F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2B609CEE0C4E4DFBA000FFAFBC24917F--></AD_COLUMN>
 
 <!--2DC02F74DA62406AACF3C3911C2AD807--><AD_COLUMN>
@@ -796,6 +889,7 @@
 <!--2DC02F74DA62406AACF3C3911C2AD807-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--2DC02F74DA62406AACF3C3911C2AD807-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--2DC02F74DA62406AACF3C3911C2AD807-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2DC02F74DA62406AACF3C3911C2AD807-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--2DC02F74DA62406AACF3C3911C2AD807--></AD_COLUMN>
 
 <!--3A586ACEBE4B4367B81088F1C796FF2E--><AD_COLUMN>
@@ -830,6 +924,7 @@
 <!--3A586ACEBE4B4367B81088F1C796FF2E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3A586ACEBE4B4367B81088F1C796FF2E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3A586ACEBE4B4367B81088F1C796FF2E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3A586ACEBE4B4367B81088F1C796FF2E-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3A586ACEBE4B4367B81088F1C796FF2E--></AD_COLUMN>
 
 <!--3B8D3FA314954D4C806DBD1184FCD854--><AD_COLUMN>
@@ -863,6 +958,7 @@
 <!--3B8D3FA314954D4C806DBD1184FCD854-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3B8D3FA314954D4C806DBD1184FCD854-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3B8D3FA314954D4C806DBD1184FCD854-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3B8D3FA314954D4C806DBD1184FCD854-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3B8D3FA314954D4C806DBD1184FCD854--></AD_COLUMN>
 
 <!--3D63C1DAB18C459B8E2F8BCA88D15B87--><AD_COLUMN>
@@ -896,6 +992,7 @@
 <!--3D63C1DAB18C459B8E2F8BCA88D15B87-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3D63C1DAB18C459B8E2F8BCA88D15B87-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3D63C1DAB18C459B8E2F8BCA88D15B87-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3D63C1DAB18C459B8E2F8BCA88D15B87-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3D63C1DAB18C459B8E2F8BCA88D15B87--></AD_COLUMN>
 
 <!--3DA11F5BFCC849D28FE29D70F4B20AA9--><AD_COLUMN>
@@ -930,6 +1027,7 @@
 <!--3DA11F5BFCC849D28FE29D70F4B20AA9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3DA11F5BFCC849D28FE29D70F4B20AA9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3DA11F5BFCC849D28FE29D70F4B20AA9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3DA11F5BFCC849D28FE29D70F4B20AA9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3DA11F5BFCC849D28FE29D70F4B20AA9--></AD_COLUMN>
 
 <!--3E146CEFE938427E8F8A15B89B4CF946--><AD_COLUMN>
@@ -963,6 +1061,7 @@
 <!--3E146CEFE938427E8F8A15B89B4CF946-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3E146CEFE938427E8F8A15B89B4CF946-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3E146CEFE938427E8F8A15B89B4CF946-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3E146CEFE938427E8F8A15B89B4CF946-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3E146CEFE938427E8F8A15B89B4CF946--></AD_COLUMN>
 
 <!--3F41C500ECEB40D09089FEA4C3793F29--><AD_COLUMN>
@@ -996,8 +1095,43 @@
 <!--3F41C500ECEB40D09089FEA4C3793F29-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--3F41C500ECEB40D09089FEA4C3793F29-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--3F41C500ECEB40D09089FEA4C3793F29-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--3F41C500ECEB40D09089FEA4C3793F29-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--3F41C500ECEB40D09089FEA4C3793F29--></AD_COLUMN>
 
+<!--406EE714C6B645909609BA820A112F2C--><AD_COLUMN>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_COLUMN_ID><![CDATA[406EE714C6B645909609BA820A112F2C]]></AD_COLUMN_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--406EE714C6B645909609BA820A112F2C-->  <NAME><![CDATA[Updated]]></NAME>
+<!--406EE714C6B645909609BA820A112F2C-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--406EE714C6B645909609BA820A112F2C-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--406EE714C6B645909609BA820A112F2C-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--406EE714C6B645909609BA820A112F2C-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--406EE714C6B645909609BA820A112F2C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--406EE714C6B645909609BA820A112F2C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--406EE714C6B645909609BA820A112F2C-->  <POSITION><![CDATA[10]]></POSITION>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--406EE714C6B645909609BA820A112F2C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--406EE714C6B645909609BA820A112F2C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--406EE714C6B645909609BA820A112F2C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--406EE714C6B645909609BA820A112F2C--></AD_COLUMN>
+
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39--><AD_COLUMN>
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <AD_COLUMN_ID><![CDATA[40E02E5A0DCA4C7EA2CADBFA06D8EA39]]></AD_COLUMN_ID>
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1029,6 +1163,7 @@
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--40E02E5A0DCA4C7EA2CADBFA06D8EA39-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--40E02E5A0DCA4C7EA2CADBFA06D8EA39--></AD_COLUMN>
 
 <!--42C6FD4ECBF6451F9D570317F4472FD7--><AD_COLUMN>
@@ -1062,6 +1197,7 @@
 <!--42C6FD4ECBF6451F9D570317F4472FD7-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--42C6FD4ECBF6451F9D570317F4472FD7-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--42C6FD4ECBF6451F9D570317F4472FD7-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--42C6FD4ECBF6451F9D570317F4472FD7-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--42C6FD4ECBF6451F9D570317F4472FD7--></AD_COLUMN>
 
 <!--437AA9021406408BA74FA0710375ECA5--><AD_COLUMN>
@@ -1096,8 +1232,43 @@
 <!--437AA9021406408BA74FA0710375ECA5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--437AA9021406408BA74FA0710375ECA5-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--437AA9021406408BA74FA0710375ECA5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--437AA9021406408BA74FA0710375ECA5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--437AA9021406408BA74FA0710375ECA5--></AD_COLUMN>
 
+<!--46B2EF2686C849CF8ACAC56810041AEB--><AD_COLUMN>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_COLUMN_ID><![CDATA[46B2EF2686C849CF8ACAC56810041AEB]]></AD_COLUMN_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <POSITION><![CDATA[8]]></POSITION>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--46B2EF2686C849CF8ACAC56810041AEB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--46B2EF2686C849CF8ACAC56810041AEB--></AD_COLUMN>
+
 <!--49BEE6AEC60D4C61922B2B2DB42D7918--><AD_COLUMN>
 <!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <AD_COLUMN_ID><![CDATA[49BEE6AEC60D4C61922B2B2DB42D7918]]></AD_COLUMN_ID>
 <!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1130,6 +1301,7 @@
 <!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--49BEE6AEC60D4C61922B2B2DB42D7918-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--49BEE6AEC60D4C61922B2B2DB42D7918--></AD_COLUMN>
 
 <!--4AE64134057846AFB053090561EA31D2--><AD_COLUMN>
@@ -1163,6 +1335,7 @@
 <!--4AE64134057846AFB053090561EA31D2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--4AE64134057846AFB053090561EA31D2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--4AE64134057846AFB053090561EA31D2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--4AE64134057846AFB053090561EA31D2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--4AE64134057846AFB053090561EA31D2--></AD_COLUMN>
 
 <!--4B98FCB4357B49DA9DB7D79FD28838AF--><AD_COLUMN>
@@ -1196,8 +1369,45 @@
 <!--4B98FCB4357B49DA9DB7D79FD28838AF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--4B98FCB4357B49DA9DB7D79FD28838AF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--4B98FCB4357B49DA9DB7D79FD28838AF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--4B98FCB4357B49DA9DB7D79FD28838AF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--4B98FCB4357B49DA9DB7D79FD28838AF--></AD_COLUMN>
 
+<!--50301A7B213B468F9CFEBE289F6BA2B1--><AD_COLUMN>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_COLUMN_ID><![CDATA[50301A7B213B468F9CFEBE289F6BA2B1]]></AD_COLUMN_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <NAME><![CDATA[EM_APRM_PrintDetailed]]></NAME>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <DESCRIPTION><![CDATA[Print Detailed reconciliation report]]></DESCRIPTION>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <HELP><![CDATA[Print Detailed reconciliation report]]></HELP>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <COLUMNNAME><![CDATA[EM_APRM_PrintDetailed]]></COLUMNNAME>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <SEQNO><![CDATA[250]]></SEQNO>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_ELEMENT_ID><![CDATA[DB85AA94D6DF4D7CB29CE7999B15F9C7]]></AD_ELEMENT_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_PROCESS_ID><![CDATA[3C4A5FB206B74C3CA9FE20116FCA0464]]></AD_PROCESS_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <POSITION><![CDATA[24]]></POSITION>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--50301A7B213B468F9CFEBE289F6BA2B1-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--50301A7B213B468F9CFEBE289F6BA2B1--></AD_COLUMN>
+
 <!--50D9D2D098E54FB7B5109C4BAA8977A5--><AD_COLUMN>
 <!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <AD_COLUMN_ID><![CDATA[50D9D2D098E54FB7B5109C4BAA8977A5]]></AD_COLUMN_ID>
 <!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1229,6 +1439,7 @@
 <!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--50D9D2D098E54FB7B5109C4BAA8977A5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--50D9D2D098E54FB7B5109C4BAA8977A5--></AD_COLUMN>
 
 <!--50F34D54648C483EB809647CB65D9368--><AD_COLUMN>
@@ -1262,6 +1473,7 @@
 <!--50F34D54648C483EB809647CB65D9368-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--50F34D54648C483EB809647CB65D9368-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--50F34D54648C483EB809647CB65D9368-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--50F34D54648C483EB809647CB65D9368-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--50F34D54648C483EB809647CB65D9368--></AD_COLUMN>
 
 <!--528EE4D486444C08A1CE90CAA066BA48--><AD_COLUMN>
@@ -1296,6 +1508,7 @@
 <!--528EE4D486444C08A1CE90CAA066BA48-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--528EE4D486444C08A1CE90CAA066BA48-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--528EE4D486444C08A1CE90CAA066BA48-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--528EE4D486444C08A1CE90CAA066BA48-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--528EE4D486444C08A1CE90CAA066BA48--></AD_COLUMN>
 
 <!--57D5BC1D263243128DCD16E2836AE3E1--><AD_COLUMN>
@@ -1327,6 +1540,7 @@
 <!--57D5BC1D263243128DCD16E2836AE3E1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--57D5BC1D263243128DCD16E2836AE3E1-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--57D5BC1D263243128DCD16E2836AE3E1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--57D5BC1D263243128DCD16E2836AE3E1-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--57D5BC1D263243128DCD16E2836AE3E1--></AD_COLUMN>
 
 <!--59B17ED569B444C5A27232D87DBFDC20--><AD_COLUMN>
@@ -1360,6 +1574,7 @@
 <!--59B17ED569B444C5A27232D87DBFDC20-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--59B17ED569B444C5A27232D87DBFDC20-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--59B17ED569B444C5A27232D87DBFDC20-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--59B17ED569B444C5A27232D87DBFDC20-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--59B17ED569B444C5A27232D87DBFDC20--></AD_COLUMN>
 
 <!--5B278C5EA0AC4FDAB225F6A7A61FC094--><AD_COLUMN>
@@ -1393,8 +1608,43 @@
 <!--5B278C5EA0AC4FDAB225F6A7A61FC094-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5B278C5EA0AC4FDAB225F6A7A61FC094-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5B278C5EA0AC4FDAB225F6A7A61FC094-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5B278C5EA0AC4FDAB225F6A7A61FC094-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5B278C5EA0AC4FDAB225F6A7A61FC094--></AD_COLUMN>
 
+<!--5B783EC445B04714B33004F9993EBB07--><AD_COLUMN>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_COLUMN_ID><![CDATA[5B783EC445B04714B33004F9993EBB07]]></AD_COLUMN_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--5B783EC445B04714B33004F9993EBB07-->  <NAME><![CDATA[Reconciliation]]></NAME>
+<!--5B783EC445B04714B33004F9993EBB07-->  <DESCRIPTION><![CDATA[Reconciliation events related to the financial account]]></DESCRIPTION>
+<!--5B783EC445B04714B33004F9993EBB07-->  <HELP><![CDATA[Reconciliation events related to the financial account]]></HELP>
+<!--5B783EC445B04714B33004F9993EBB07-->  <COLUMNNAME><![CDATA[FIN_Reconciliation_ID]]></COLUMNNAME>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--5B783EC445B04714B33004F9993EBB07-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_ELEMENT_ID><![CDATA[8189F57B424789CBE040007F01003EE0]]></AD_ELEMENT_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--5B783EC445B04714B33004F9993EBB07-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--5B783EC445B04714B33004F9993EBB07-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--5B783EC445B04714B33004F9993EBB07-->  <POSITION><![CDATA[3]]></POSITION>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--5B783EC445B04714B33004F9993EBB07-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--5B783EC445B04714B33004F9993EBB07-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5B783EC445B04714B33004F9993EBB07-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--5B783EC445B04714B33004F9993EBB07--></AD_COLUMN>
+
 <!--5D8DC67BCE524D33B008CBC108394C9A--><AD_COLUMN>
 <!--5D8DC67BCE524D33B008CBC108394C9A-->  <AD_COLUMN_ID><![CDATA[5D8DC67BCE524D33B008CBC108394C9A]]></AD_COLUMN_ID>
 <!--5D8DC67BCE524D33B008CBC108394C9A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1426,6 +1676,7 @@
 <!--5D8DC67BCE524D33B008CBC108394C9A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5D8DC67BCE524D33B008CBC108394C9A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5D8DC67BCE524D33B008CBC108394C9A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5D8DC67BCE524D33B008CBC108394C9A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5D8DC67BCE524D33B008CBC108394C9A--></AD_COLUMN>
 
 <!--5DB8B25CF75A4C24B87A2B3995F4913F--><AD_COLUMN>
@@ -1459,6 +1710,7 @@
 <!--5DB8B25CF75A4C24B87A2B3995F4913F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5DB8B25CF75A4C24B87A2B3995F4913F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5DB8B25CF75A4C24B87A2B3995F4913F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5DB8B25CF75A4C24B87A2B3995F4913F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5DB8B25CF75A4C24B87A2B3995F4913F--></AD_COLUMN>
 
 <!--5E793CD24F2F4368858AB44CBADC39C2--><AD_COLUMN>
@@ -1492,6 +1744,7 @@
 <!--5E793CD24F2F4368858AB44CBADC39C2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5E793CD24F2F4368858AB44CBADC39C2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5E793CD24F2F4368858AB44CBADC39C2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5E793CD24F2F4368858AB44CBADC39C2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5E793CD24F2F4368858AB44CBADC39C2--></AD_COLUMN>
 
 <!--5F948F4973FD48719C2DE257132BE64B--><AD_COLUMN>
@@ -1525,6 +1778,7 @@
 <!--5F948F4973FD48719C2DE257132BE64B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5F948F4973FD48719C2DE257132BE64B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5F948F4973FD48719C2DE257132BE64B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5F948F4973FD48719C2DE257132BE64B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5F948F4973FD48719C2DE257132BE64B--></AD_COLUMN>
 
 <!--5FFA3BD7042D408289D0CA90D5DDA232--><AD_COLUMN>
@@ -1559,6 +1813,7 @@
 <!--5FFA3BD7042D408289D0CA90D5DDA232-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--5FFA3BD7042D408289D0CA90D5DDA232-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--5FFA3BD7042D408289D0CA90D5DDA232-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--5FFA3BD7042D408289D0CA90D5DDA232-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--5FFA3BD7042D408289D0CA90D5DDA232--></AD_COLUMN>
 
 <!--60E27C6694554EC5A5477D20D0ACDDB5--><AD_COLUMN>
@@ -1592,6 +1847,7 @@
 <!--60E27C6694554EC5A5477D20D0ACDDB5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--60E27C6694554EC5A5477D20D0ACDDB5-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--60E27C6694554EC5A5477D20D0ACDDB5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--60E27C6694554EC5A5477D20D0ACDDB5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--60E27C6694554EC5A5477D20D0ACDDB5--></AD_COLUMN>
 
 <!--63454E73F07B4C908EB1268C41F5DE8A--><AD_COLUMN>
@@ -1627,6 +1883,7 @@
 <!--63454E73F07B4C908EB1268C41F5DE8A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--63454E73F07B4C908EB1268C41F5DE8A-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
 <!--63454E73F07B4C908EB1268C41F5DE8A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--63454E73F07B4C908EB1268C41F5DE8A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--63454E73F07B4C908EB1268C41F5DE8A--></AD_COLUMN>
 
 <!--68C853FD393C4620A3947EC34C416B9A--><AD_COLUMN>
@@ -1660,6 +1917,7 @@
 <!--68C853FD393C4620A3947EC34C416B9A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--68C853FD393C4620A3947EC34C416B9A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--68C853FD393C4620A3947EC34C416B9A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--68C853FD393C4620A3947EC34C416B9A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--68C853FD393C4620A3947EC34C416B9A--></AD_COLUMN>
 
 <!--6BBCB749C7C640A08F573BF86D270171--><AD_COLUMN>
@@ -1693,6 +1951,7 @@
 <!--6BBCB749C7C640A08F573BF86D270171-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--6BBCB749C7C640A08F573BF86D270171-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--6BBCB749C7C640A08F573BF86D270171-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--6BBCB749C7C640A08F573BF86D270171-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--6BBCB749C7C640A08F573BF86D270171--></AD_COLUMN>
 
 <!--6D279BA0C51142638249D649BD51AC34--><AD_COLUMN>
@@ -1728,6 +1987,7 @@
 <!--6D279BA0C51142638249D649BD51AC34-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--6D279BA0C51142638249D649BD51AC34-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--6D279BA0C51142638249D649BD51AC34-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--6D279BA0C51142638249D649BD51AC34-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--6D279BA0C51142638249D649BD51AC34--></AD_COLUMN>
 
 <!--6DE1A3BDE4AA4FE0846DCA436691F0BA--><AD_COLUMN>
@@ -1762,6 +2022,7 @@
 <!--6DE1A3BDE4AA4FE0846DCA436691F0BA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--6DE1A3BDE4AA4FE0846DCA436691F0BA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--6DE1A3BDE4AA4FE0846DCA436691F0BA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--6DE1A3BDE4AA4FE0846DCA436691F0BA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--6DE1A3BDE4AA4FE0846DCA436691F0BA--></AD_COLUMN>
 
 <!--6E9AB8CEF87240259FCB550A547D301B--><AD_COLUMN>
@@ -1796,6 +2057,7 @@
 <!--6E9AB8CEF87240259FCB550A547D301B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--6E9AB8CEF87240259FCB550A547D301B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--6E9AB8CEF87240259FCB550A547D301B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--6E9AB8CEF87240259FCB550A547D301B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--6E9AB8CEF87240259FCB550A547D301B--></AD_COLUMN>
 
 <!--7185C283E1AE417F8B6F47BCCB502DF6--><AD_COLUMN>
@@ -1829,6 +2091,7 @@
 <!--7185C283E1AE417F8B6F47BCCB502DF6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7185C283E1AE417F8B6F47BCCB502DF6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7185C283E1AE417F8B6F47BCCB502DF6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7185C283E1AE417F8B6F47BCCB502DF6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7185C283E1AE417F8B6F47BCCB502DF6--></AD_COLUMN>
 
 <!--76A20548884B489E88D731480658E2D1--><AD_COLUMN>
@@ -1862,6 +2125,7 @@
 <!--76A20548884B489E88D731480658E2D1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--76A20548884B489E88D731480658E2D1-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--76A20548884B489E88D731480658E2D1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--76A20548884B489E88D731480658E2D1-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--76A20548884B489E88D731480658E2D1--></AD_COLUMN>
 
 <!--76C4D6CDF96B4CB5B80967475AA3D2A9--><AD_COLUMN>
@@ -1895,6 +2159,7 @@
 <!--76C4D6CDF96B4CB5B80967475AA3D2A9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--76C4D6CDF96B4CB5B80967475AA3D2A9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--76C4D6CDF96B4CB5B80967475AA3D2A9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--76C4D6CDF96B4CB5B80967475AA3D2A9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--76C4D6CDF96B4CB5B80967475AA3D2A9--></AD_COLUMN>
 
 <!--78A3367822B35459E040007F01012510--><AD_COLUMN>
@@ -1930,6 +2195,7 @@
 <!--78A3367822B35459E040007F01012510-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--78A3367822B35459E040007F01012510-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--78A3367822B35459E040007F01012510-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--78A3367822B35459E040007F01012510-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--78A3367822B35459E040007F01012510--></AD_COLUMN>
 
 <!--7CBC01AEEA28472AA5A73CAB6ECAE824--><AD_COLUMN>
@@ -1963,6 +2229,7 @@
 <!--7CBC01AEEA28472AA5A73CAB6ECAE824-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7CBC01AEEA28472AA5A73CAB6ECAE824-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7CBC01AEEA28472AA5A73CAB6ECAE824-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7CBC01AEEA28472AA5A73CAB6ECAE824-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7CBC01AEEA28472AA5A73CAB6ECAE824--></AD_COLUMN>
 
 <!--7DC34559B3F2B45BE040007F0100784A--><AD_COLUMN>
@@ -1997,6 +2264,7 @@
 <!--7DC34559B3F2B45BE040007F0100784A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7DC34559B3F2B45BE040007F0100784A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7DC34559B3F2B45BE040007F0100784A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7DC34559B3F2B45BE040007F0100784A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7DC34559B3F2B45BE040007F0100784A--></AD_COLUMN>
 
 <!--7DC34559B3F3B45BE040007F0100784A--><AD_COLUMN>
@@ -2028,6 +2296,7 @@
 <!--7DC34559B3F3B45BE040007F0100784A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7DC34559B3F3B45BE040007F0100784A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7DC34559B3F3B45BE040007F0100784A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7DC34559B3F3B45BE040007F0100784A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7DC34559B3F3B45BE040007F0100784A--></AD_COLUMN>
 
 <!--7EAACC5726724D16B8C92BA732BB566B--><AD_COLUMN>
@@ -2061,6 +2330,7 @@
 <!--7EAACC5726724D16B8C92BA732BB566B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7EAACC5726724D16B8C92BA732BB566B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7EAACC5726724D16B8C92BA732BB566B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7EAACC5726724D16B8C92BA732BB566B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7EAACC5726724D16B8C92BA732BB566B--></AD_COLUMN>
 
 <!--7FCAAFE989BCA375E040007F01007F0A--><AD_COLUMN>
@@ -2093,6 +2363,7 @@
 <!--7FCAAFE989BCA375E040007F01007F0A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--7FCAAFE989BCA375E040007F01007F0A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--7FCAAFE989BCA375E040007F01007F0A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7FCAAFE989BCA375E040007F01007F0A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--7FCAAFE989BCA375E040007F01007F0A--></AD_COLUMN>
 
 <!--806198F4784445109D9067A0C868701C--><AD_COLUMN>
@@ -2126,6 +2397,7 @@
 <!--806198F4784445109D9067A0C868701C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--806198F4784445109D9067A0C868701C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--806198F4784445109D9067A0C868701C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--806198F4784445109D9067A0C868701C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--806198F4784445109D9067A0C868701C--></AD_COLUMN>
 
 <!--82EFB8E4043C19C9E040007F01003778--><AD_COLUMN>
@@ -2159,6 +2431,7 @@
 <!--82EFB8E4043C19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4043C19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
 <!--82EFB8E4043C19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4043C19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4043C19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4043D19C9E040007F01003778--><AD_COLUMN>
@@ -2194,6 +2467,7 @@
 <!--82EFB8E4043D19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4043D19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4043D19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4043D19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4043D19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4043E19C9E040007F01003778--><AD_COLUMN>
@@ -2229,6 +2503,7 @@
 <!--82EFB8E4043E19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4043E19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4043E19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4043E19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4043E19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4043F19C9E040007F01003778--><AD_COLUMN>
@@ -2262,6 +2537,7 @@
 <!--82EFB8E4043F19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4043F19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4043F19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4043F19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4043F19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044019C9E040007F01003778--><AD_COLUMN>
@@ -2295,6 +2571,7 @@
 <!--82EFB8E4044019C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044019C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044019C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044019C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044019C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044119C9E040007F01003778--><AD_COLUMN>
@@ -2328,6 +2605,7 @@
 <!--82EFB8E4044119C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044119C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044119C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044119C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044119C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044219C9E040007F01003778--><AD_COLUMN>
@@ -2361,6 +2639,7 @@
 <!--82EFB8E4044219C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044219C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044219C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044219C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044219C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044319C9E040007F01003778--><AD_COLUMN>
@@ -2396,6 +2675,7 @@
 <!--82EFB8E4044319C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044319C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044319C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044319C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044319C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044419C9E040007F01003778--><AD_COLUMN>
@@ -2429,6 +2709,7 @@
 <!--82EFB8E4044419C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044419C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044419C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044419C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044419C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044519C9E040007F01003778--><AD_COLUMN>
@@ -2462,6 +2743,7 @@
 <!--82EFB8E4044519C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044519C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044519C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044519C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044519C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044819C9E040007F01003778--><AD_COLUMN>
@@ -2497,6 +2779,7 @@
 <!--82EFB8E4044819C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044819C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044819C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044819C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044819C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044919C9E040007F01003778--><AD_COLUMN>
@@ -2530,6 +2813,7 @@
 <!--82EFB8E4044919C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044919C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044919C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044919C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044919C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044A19C9E040007F01003778--><AD_COLUMN>
@@ -2563,6 +2847,7 @@
 <!--82EFB8E4044A19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044A19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044A19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044A19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044A19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044B19C9E040007F01003778--><AD_COLUMN>
@@ -2596,6 +2881,7 @@
 <!--82EFB8E4044B19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044B19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044B19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044B19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044B19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044C19C9E040007F01003778--><AD_COLUMN>
@@ -2629,6 +2915,7 @@
 <!--82EFB8E4044C19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044C19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044C19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044C19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044C19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044D19C9E040007F01003778--><AD_COLUMN>
@@ -2663,6 +2950,7 @@
 <!--82EFB8E4044D19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044D19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044D19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044D19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044D19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044E19C9E040007F01003778--><AD_COLUMN>
@@ -2696,6 +2984,7 @@
 <!--82EFB8E4044E19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044E19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044E19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044E19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044E19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4044F19C9E040007F01003778--><AD_COLUMN>
@@ -2729,6 +3018,7 @@
 <!--82EFB8E4044F19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4044F19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4044F19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4044F19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4044F19C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045019C9E040007F01003778--><AD_COLUMN>
@@ -2763,6 +3053,7 @@
 <!--82EFB8E4045019C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045019C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
 <!--82EFB8E4045019C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045019C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045019C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045119C9E040007F01003778--><AD_COLUMN>
@@ -2797,6 +3088,7 @@
 <!--82EFB8E4045119C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045119C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
 <!--82EFB8E4045119C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045119C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045119C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045219C9E040007F01003778--><AD_COLUMN>
@@ -2831,6 +3123,7 @@
 <!--82EFB8E4045219C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045219C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
 <!--82EFB8E4045219C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045219C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045219C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045319C9E040007F01003778--><AD_COLUMN>
@@ -2862,6 +3155,7 @@
 <!--82EFB8E4045319C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045319C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045319C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045319C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045319C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045419C9E040007F01003778--><AD_COLUMN>
@@ -2893,6 +3187,7 @@
 <!--82EFB8E4045419C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045419C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045419C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045419C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045419C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045519C9E040007F01003778--><AD_COLUMN>
@@ -2924,6 +3219,7 @@
 <!--82EFB8E4045519C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045519C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045519C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045519C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045519C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045619C9E040007F01003778--><AD_COLUMN>
@@ -2955,6 +3251,7 @@
 <!--82EFB8E4045619C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045619C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045619C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045619C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045619C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045719C9E040007F01003778--><AD_COLUMN>
@@ -2986,6 +3283,7 @@
 <!--82EFB8E4045719C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045719C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045719C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045719C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045719C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045819C9E040007F01003778--><AD_COLUMN>
@@ -3017,6 +3315,7 @@
 <!--82EFB8E4045819C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045819C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045819C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045819C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045819C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045919C9E040007F01003778--><AD_COLUMN>
@@ -3048,6 +3347,7 @@
 <!--82EFB8E4045919C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045919C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045919C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045919C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045919C9E040007F01003778--></AD_COLUMN>
 
 <!--82EFB8E4045A19C9E040007F01003778--><AD_COLUMN>
@@ -3079,6 +3379,7 @@
 <!--82EFB8E4045A19C9E040007F01003778-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--82EFB8E4045A19C9E040007F01003778-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--82EFB8E4045A19C9E040007F01003778-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--82EFB8E4045A19C9E040007F01003778-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--82EFB8E4045A19C9E040007F01003778--></AD_COLUMN>
 
 <!--840B34007A574CD783BFF66781E95BAF--><AD_COLUMN>
@@ -3112,6 +3413,7 @@
 <!--840B34007A574CD783BFF66781E95BAF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--840B34007A574CD783BFF66781E95BAF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--840B34007A574CD783BFF66781E95BAF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--840B34007A574CD783BFF66781E95BAF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--840B34007A574CD783BFF66781E95BAF--></AD_COLUMN>
 
 <!--8448D679EF655513E040007F01001B17--><AD_COLUMN>
@@ -3146,6 +3448,7 @@
 <!--8448D679EF655513E040007F01001B17-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8448D679EF655513E040007F01001B17-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8448D679EF655513E040007F01001B17-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8448D679EF655513E040007F01001B17-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8448D679EF655513E040007F01001B17--></AD_COLUMN>
 
 <!--844A91AC221A39D5E040007F01003A12--><AD_COLUMN>
@@ -3177,8 +3480,45 @@
 <!--844A91AC221A39D5E040007F01003A12-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--844A91AC221A39D5E040007F01003A12-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--844A91AC221A39D5E040007F01003A12-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--844A91AC221A39D5E040007F01003A12-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--844A91AC221A39D5E040007F01003A12--></AD_COLUMN>
 
+<!--8505522E56C849E1B76AD10840AB2AA8--><AD_COLUMN>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_COLUMN_ID><![CDATA[8505522E56C849E1B76AD10840AB2AA8]]></AD_COLUMN_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <NAME><![CDATA[EM_APRM_PrintSummary]]></NAME>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <DESCRIPTION><![CDATA[Print Summary reconciliation report]]></DESCRIPTION>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <HELP><![CDATA[Print Summary reconciliation report]]></HELP>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <COLUMNNAME><![CDATA[EM_APRM_PrintSummary]]></COLUMNNAME>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <SEQNO><![CDATA[260]]></SEQNO>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_ELEMENT_ID><![CDATA[B0FA9EF3D10E46FF9D402AB44056363B]]></AD_ELEMENT_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_PROCESS_ID><![CDATA[BBA11D1A061346459AF6148920FE6629]]></AD_PROCESS_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <POSITION><![CDATA[25]]></POSITION>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8505522E56C849E1B76AD10840AB2AA8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--8505522E56C849E1B76AD10840AB2AA8--></AD_COLUMN>
+
 <!--8593F1CA9C1B4F47B65B579DB308432D--><AD_COLUMN>
 <!--8593F1CA9C1B4F47B65B579DB308432D-->  <AD_COLUMN_ID><![CDATA[8593F1CA9C1B4F47B65B579DB308432D]]></AD_COLUMN_ID>
 <!--8593F1CA9C1B4F47B65B579DB308432D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3212,6 +3552,7 @@
 <!--8593F1CA9C1B4F47B65B579DB308432D-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8593F1CA9C1B4F47B65B579DB308432D-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8593F1CA9C1B4F47B65B579DB308432D-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8593F1CA9C1B4F47B65B579DB308432D-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8593F1CA9C1B4F47B65B579DB308432D--></AD_COLUMN>
 
 <!--8635C3EED34F4A28864E6F4C9A8FE957--><AD_COLUMN>
@@ -3245,6 +3586,7 @@
 <!--8635C3EED34F4A28864E6F4C9A8FE957-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8635C3EED34F4A28864E6F4C9A8FE957-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8635C3EED34F4A28864E6F4C9A8FE957-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8635C3EED34F4A28864E6F4C9A8FE957-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8635C3EED34F4A28864E6F4C9A8FE957--></AD_COLUMN>
 
 <!--87AA1068F10642CAE040007F010011D5--><AD_COLUMN>
@@ -3277,6 +3619,7 @@
 <!--87AA1068F10642CAE040007F010011D5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--87AA1068F10642CAE040007F010011D5-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--87AA1068F10642CAE040007F010011D5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--87AA1068F10642CAE040007F010011D5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--87AA1068F10642CAE040007F010011D5--></AD_COLUMN>
 
 <!--87E684342B43AC4CE040007F010047EE--><AD_COLUMN>
@@ -3309,6 +3652,7 @@
 <!--87E684342B43AC4CE040007F010047EE-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--87E684342B43AC4CE040007F010047EE-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--87E684342B43AC4CE040007F010047EE-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--87E684342B43AC4CE040007F010047EE-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--87E684342B43AC4CE040007F010047EE--></AD_COLUMN>
 
 <!--88BA3C1BFC7D43B2A223EE749A88C554--><AD_COLUMN>
@@ -3342,6 +3686,7 @@
 <!--88BA3C1BFC7D43B2A223EE749A88C554-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--88BA3C1BFC7D43B2A223EE749A88C554-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--88BA3C1BFC7D43B2A223EE749A88C554-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--88BA3C1BFC7D43B2A223EE749A88C554-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--88BA3C1BFC7D43B2A223EE749A88C554--></AD_COLUMN>
 
 <!--8B33BDCEC5CC255CE040007F01004CB5--><AD_COLUMN>
@@ -3376,6 +3721,7 @@
 <!--8B33BDCEC5CC255CE040007F01004CB5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8B33BDCEC5CC255CE040007F01004CB5-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8B33BDCEC5CC255CE040007F01004CB5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8B33BDCEC5CC255CE040007F01004CB5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8B33BDCEC5CC255CE040007F01004CB5--></AD_COLUMN>
 
 <!--8BBA8047E1852A2FE040007F010030DC--><AD_COLUMN>
@@ -3407,6 +3753,7 @@
 <!--8BBA8047E1852A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1852A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1852A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1852A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1852A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E1862A2FE040007F010030DC--><AD_COLUMN>
@@ -3442,6 +3789,7 @@
 <!--8BBA8047E1862A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1862A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1862A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1862A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1862A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E1872A2FE040007F010030DC--><AD_COLUMN>
@@ -3477,6 +3825,7 @@
 <!--8BBA8047E1872A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1872A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1872A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1872A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1872A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E1882A2FE040007F010030DC--><AD_COLUMN>
@@ -3511,6 +3860,7 @@
 <!--8BBA8047E1882A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1882A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1882A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1882A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1882A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E1892A2FE040007F010030DC--><AD_COLUMN>
@@ -3544,6 +3894,7 @@
 <!--8BBA8047E1892A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1892A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1892A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1892A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1892A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18A2A2FE040007F010030DC--><AD_COLUMN>
@@ -3578,6 +3929,7 @@
 <!--8BBA8047E18A2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18A2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18A2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18A2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18A2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18B2A2FE040007F010030DC--><AD_COLUMN>
@@ -3611,6 +3963,7 @@
 <!--8BBA8047E18B2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18B2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18B2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18B2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18B2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18C2A2FE040007F010030DC--><AD_COLUMN>
@@ -3647,6 +4000,7 @@
 <!--8BBA8047E18C2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18C2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18C2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18C2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18C2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18D2A2FE040007F010030DC--><AD_COLUMN>
@@ -3680,6 +4034,7 @@
 <!--8BBA8047E18D2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18D2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18D2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18D2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18D2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18E2A2FE040007F010030DC--><AD_COLUMN>
@@ -3713,6 +4068,7 @@
 <!--8BBA8047E18E2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18E2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18E2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18E2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18E2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E18F2A2FE040007F010030DC--><AD_COLUMN>
@@ -3745,6 +4101,7 @@
 <!--8BBA8047E18F2A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E18F2A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E18F2A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E18F2A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E18F2A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BBA8047E1902A2FE040007F010030DC--><AD_COLUMN>
@@ -3779,6 +4136,7 @@
 <!--8BBA8047E1902A2FE040007F010030DC-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BBA8047E1902A2FE040007F010030DC-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BBA8047E1902A2FE040007F010030DC-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BBA8047E1902A2FE040007F010030DC-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BBA8047E1902A2FE040007F010030DC--></AD_COLUMN>
 
 <!--8BFE5B396F1743BBB9CDC7F821E5EF89--><AD_COLUMN>
@@ -3812,8 +4170,44 @@
 <!--8BFE5B396F1743BBB9CDC7F821E5EF89-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--8BFE5B396F1743BBB9CDC7F821E5EF89-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--8BFE5B396F1743BBB9CDC7F821E5EF89-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8BFE5B396F1743BBB9CDC7F821E5EF89-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--8BFE5B396F1743BBB9CDC7F821E5EF89--></AD_COLUMN>
 
+<!--9220C8010FFB4EAABB8B367633EA9454--><AD_COLUMN>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_COLUMN_ID><![CDATA[9220C8010FFB4EAABB8B367633EA9454]]></AD_COLUMN_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <NAME><![CDATA[Client]]></NAME>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <POSITION><![CDATA[6]]></POSITION>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9220C8010FFB4EAABB8B367633EA9454-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--9220C8010FFB4EAABB8B367633EA9454--></AD_COLUMN>
+
 <!--923F5B228E5F4D2D96C00C206D47BC63--><AD_COLUMN>
 <!--923F5B228E5F4D2D96C00C206D47BC63-->  <AD_COLUMN_ID><![CDATA[923F5B228E5F4D2D96C00C206D47BC63]]></AD_COLUMN_ID>
 <!--923F5B228E5F4D2D96C00C206D47BC63-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3845,6 +4239,7 @@
 <!--923F5B228E5F4D2D96C00C206D47BC63-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--923F5B228E5F4D2D96C00C206D47BC63-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--923F5B228E5F4D2D96C00C206D47BC63-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--923F5B228E5F4D2D96C00C206D47BC63-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--923F5B228E5F4D2D96C00C206D47BC63--></AD_COLUMN>
 
 <!--96221416E24540059B9BEFEC5F09D3FF--><AD_COLUMN>
@@ -3878,6 +4273,7 @@
 <!--96221416E24540059B9BEFEC5F09D3FF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--96221416E24540059B9BEFEC5F09D3FF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--96221416E24540059B9BEFEC5F09D3FF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--96221416E24540059B9BEFEC5F09D3FF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--96221416E24540059B9BEFEC5F09D3FF--></AD_COLUMN>
 
 <!--96D95B505F9A4FB69A8E0623DCA0B2F1--><AD_COLUMN>
@@ -3911,6 +4307,7 @@
 <!--96D95B505F9A4FB69A8E0623DCA0B2F1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--96D95B505F9A4FB69A8E0623DCA0B2F1-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--96D95B505F9A4FB69A8E0623DCA0B2F1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--96D95B505F9A4FB69A8E0623DCA0B2F1-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--96D95B505F9A4FB69A8E0623DCA0B2F1--></AD_COLUMN>
 
 <!--973EC2D699E948979150D33750F5D35D--><AD_COLUMN>
@@ -3945,6 +4342,7 @@
 <!--973EC2D699E948979150D33750F5D35D-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--973EC2D699E948979150D33750F5D35D-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--973EC2D699E948979150D33750F5D35D-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--973EC2D699E948979150D33750F5D35D-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--973EC2D699E948979150D33750F5D35D--></AD_COLUMN>
 
 <!--9C433E7381EA44DF921BB340EE41BDEA--><AD_COLUMN>
@@ -3978,6 +4376,7 @@
 <!--9C433E7381EA44DF921BB340EE41BDEA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--9C433E7381EA44DF921BB340EE41BDEA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--9C433E7381EA44DF921BB340EE41BDEA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9C433E7381EA44DF921BB340EE41BDEA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--9C433E7381EA44DF921BB340EE41BDEA--></AD_COLUMN>
 
 <!--9D382AE31EFB4496B0A531A0FD72E73B--><AD_COLUMN>
@@ -4011,8 +4410,43 @@
 <!--9D382AE31EFB4496B0A531A0FD72E73B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--9D382AE31EFB4496B0A531A0FD72E73B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--9D382AE31EFB4496B0A531A0FD72E73B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9D382AE31EFB4496B0A531A0FD72E73B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--9D382AE31EFB4496B0A531A0FD72E73B--></AD_COLUMN>
 
+<!--9DE9E45A80994A969AC623FA97A3C0E8--><AD_COLUMN>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_COLUMN_ID><![CDATA[9DE9E45A80994A969AC623FA97A3C0E8]]></AD_COLUMN_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <NAME><![CDATA[Created By]]></NAME>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <POSITION><![CDATA[9]]></POSITION>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9DE9E45A80994A969AC623FA97A3C0E8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--9DE9E45A80994A969AC623FA97A3C0E8--></AD_COLUMN>
+
 <!--A028C06E679F6F62E040007F01007206--><AD_COLUMN>
 <!--A028C06E679F6F62E040007F01007206-->  <AD_COLUMN_ID><![CDATA[A028C06E679F6F62E040007F01007206]]></AD_COLUMN_ID>
 <!--A028C06E679F6F62E040007F01007206-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -4045,6 +4479,7 @@
 <!--A028C06E679F6F62E040007F01007206-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A028C06E679F6F62E040007F01007206-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A028C06E679F6F62E040007F01007206-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A028C06E679F6F62E040007F01007206-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A028C06E679F6F62E040007F01007206--></AD_COLUMN>
 
 <!--A028C07508878CB9E040007F01007210--><AD_COLUMN>
@@ -4078,6 +4513,7 @@
 <!--A028C07508878CB9E040007F01007210-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A028C07508878CB9E040007F01007210-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A028C07508878CB9E040007F01007210-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A028C07508878CB9E040007F01007210-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A028C07508878CB9E040007F01007210--></AD_COLUMN>
 
 <!--A04179EAC69DF848E040007F01004523--><AD_COLUMN>
@@ -4110,6 +4546,7 @@
 <!--A04179EAC69DF848E040007F01004523-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A04179EAC69DF848E040007F01004523-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A04179EAC69DF848E040007F01004523-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A04179EAC69DF848E040007F01004523-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A04179EAC69DF848E040007F01004523--></AD_COLUMN>
 
 <!--A04179EAC69EF848E040007F01004523--><AD_COLUMN>
@@ -4142,6 +4579,7 @@
 <!--A04179EAC69EF848E040007F01004523-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A04179EAC69EF848E040007F01004523-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A04179EAC69EF848E040007F01004523-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A04179EAC69EF848E040007F01004523-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A04179EAC69EF848E040007F01004523--></AD_COLUMN>
 
 <!--A04179EAC69FF848E040007F01004523--><AD_COLUMN>
@@ -4175,8 +4613,43 @@
 <!--A04179EAC69FF848E040007F01004523-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A04179EAC69FF848E040007F01004523-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A04179EAC69FF848E040007F01004523-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A04179EAC69FF848E040007F01004523-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A04179EAC69FF848E040007F01004523--></AD_COLUMN>
 
+<!--A13138E3D6E44C72A7F24B7AA9365B37--><AD_COLUMN>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_COLUMN_ID><![CDATA[A13138E3D6E44C72A7F24B7AA9365B37]]></AD_COLUMN_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <NAME><![CDATA[Sales Region]]></NAME>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <DESCRIPTION><![CDATA[A defined section of the world where sales efforts will be focused.]]></DESCRIPTION>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <HELP><![CDATA[The Sales Region indicates a specific area of sales coverage.]]></HELP>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <COLUMNNAME><![CDATA[C_Salesregion_ID]]></COLUMNNAME>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_TABLE_ID><![CDATA[FF8080812FFEC82D012FFECCE3400030]]></AD_TABLE_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <SEQNO><![CDATA[430]]></SEQNO>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_ELEMENT_ID><![CDATA[210]]></AD_ELEMENT_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <POSITION><![CDATA[39]]></POSITION>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A13138E3D6E44C72A7F24B7AA9365B37-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--A13138E3D6E44C72A7F24B7AA9365B37--></AD_COLUMN>
+
 <!--A2622D5C7B194885A112B0FC5765C55E--><AD_COLUMN>
 <!--A2622D5C7B194885A112B0FC5765C55E-->  <AD_COLUMN_ID><![CDATA[A2622D5C7B194885A112B0FC5765C55E]]></AD_COLUMN_ID>
 <!--A2622D5C7B194885A112B0FC5765C55E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -4208,6 +4681,7 @@
 <!--A2622D5C7B194885A112B0FC5765C55E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A2622D5C7B194885A112B0FC5765C55E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A2622D5C7B194885A112B0FC5765C55E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A2622D5C7B194885A112B0FC5765C55E-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A2622D5C7B194885A112B0FC5765C55E--></AD_COLUMN>
 
 <!--A28B0A82995C87F5E040007F010067A0--><AD_COLUMN>
@@ -4242,6 +4716,7 @@
 <!--A28B0A82995C87F5E040007F010067A0-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A28B0A82995C87F5E040007F010067A0-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A28B0A82995C87F5E040007F010067A0-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A28B0A82995C87F5E040007F010067A0-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A28B0A82995C87F5E040007F010067A0--></AD_COLUMN>
 
 <!--A37C6F84AA1E3F50E040007F01006E35--><AD_COLUMN>
@@ -4264,7 +4739,7 @@
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[A37C6F84AA423F50E040007F01006E35]]></AD_ELEMENT_ID>
-<!--A37C6F84AA1E3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA1E3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -4273,6 +4748,7 @@
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA1E3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA1E3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA1E3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA1F3F50E040007F01006E35--><AD_COLUMN>
@@ -4304,6 +4780,7 @@
 <!--A37C6F84AA1F3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA1F3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA1F3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA1F3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA1F3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA203F50E040007F01006E35--><AD_COLUMN>
@@ -4338,6 +4815,7 @@
 <!--A37C6F84AA203F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA203F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA203F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA203F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA203F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA213F50E040007F01006E35--><AD_COLUMN>
@@ -4372,6 +4850,7 @@
 <!--A37C6F84AA213F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA213F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA213F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA213F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA213F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA223F50E040007F01006E35--><AD_COLUMN>
@@ -4407,6 +4886,7 @@
 <!--A37C6F84AA223F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA223F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA223F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA223F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA223F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA233F50E040007F01006E35--><AD_COLUMN>
@@ -4440,6 +4920,7 @@
 <!--A37C6F84AA233F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA233F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA233F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA233F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA233F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA243F50E040007F01006E35--><AD_COLUMN>
@@ -4473,6 +4954,7 @@
 <!--A37C6F84AA243F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA243F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA243F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA243F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA243F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA253F50E040007F01006E35--><AD_COLUMN>
@@ -4506,6 +4988,7 @@
 <!--A37C6F84AA253F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA253F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA253F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA253F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA253F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA263F50E040007F01006E35--><AD_COLUMN>
@@ -4539,6 +5022,7 @@
 <!--A37C6F84AA263F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA263F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA263F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA263F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA263F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA273F50E040007F01006E35--><AD_COLUMN>
@@ -4572,6 +5056,7 @@
 <!--A37C6F84AA273F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA273F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA273F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA273F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA273F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA283F50E040007F01006E35--><AD_COLUMN>
@@ -4606,6 +5091,7 @@
 <!--A37C6F84AA283F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA283F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA283F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA283F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA283F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA293F50E040007F01006E35--><AD_COLUMN>
@@ -4639,6 +5125,7 @@
 <!--A37C6F84AA293F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA293F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA293F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA293F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA293F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2A3F50E040007F01006E35--><AD_COLUMN>
@@ -4672,6 +5159,7 @@
 <!--A37C6F84AA2A3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2A3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2A3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2A3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2A3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2B3F50E040007F01006E35--><AD_COLUMN>
@@ -4706,6 +5194,7 @@
 <!--A37C6F84AA2B3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2B3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2B3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2B3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2B3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2C3F50E040007F01006E35--><AD_COLUMN>
@@ -4739,6 +5228,7 @@
 <!--A37C6F84AA2C3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2C3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2C3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2C3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2C3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2D3F50E040007F01006E35--><AD_COLUMN>
@@ -4763,7 +5253,7 @@
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[800080]]></AD_ELEMENT_ID>
-<!--A37C6F84AA2D3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA2D3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -4772,6 +5262,7 @@
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2D3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2D3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2D3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2E3F50E040007F01006E35--><AD_COLUMN>
@@ -4803,6 +5294,7 @@
 <!--A37C6F84AA2E3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2E3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2E3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2E3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2E3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA2F3F50E040007F01006E35--><AD_COLUMN>
@@ -4835,6 +5327,7 @@
 <!--A37C6F84AA2F3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA2F3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA2F3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA2F3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA2F3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA303F50E040007F01006E35--><AD_COLUMN>
@@ -4868,6 +5361,7 @@
 <!--A37C6F84AA303F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA303F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA303F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA303F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA303F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA313F50E040007F01006E35--><AD_COLUMN>
@@ -4901,6 +5395,7 @@
 <!--A37C6F84AA313F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA313F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA313F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA313F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA313F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA323F50E040007F01006E35--><AD_COLUMN>
@@ -4936,6 +5431,7 @@
 <!--A37C6F84AA323F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA323F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA323F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA323F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA323F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA333F50E040007F01006E35--><AD_COLUMN>
@@ -4969,6 +5465,7 @@
 <!--A37C6F84AA333F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA333F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA333F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA333F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA333F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA343F50E040007F01006E35--><AD_COLUMN>
@@ -5003,6 +5500,7 @@
 <!--A37C6F84AA343F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA343F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA343F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA343F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA343F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA353F50E040007F01006E35--><AD_COLUMN>
@@ -5036,6 +5534,7 @@
 <!--A37C6F84AA353F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA353F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA353F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA353F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA353F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA363F50E040007F01006E35--><AD_COLUMN>
@@ -5069,6 +5568,7 @@
 <!--A37C6F84AA363F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA363F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA363F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA363F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA363F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA373F50E040007F01006E35--><AD_COLUMN>
@@ -5102,6 +5602,7 @@
 <!--A37C6F84AA373F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA373F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA373F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA373F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA373F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA383F50E040007F01006E35--><AD_COLUMN>
@@ -5135,6 +5636,7 @@
 <!--A37C6F84AA383F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA383F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA383F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA383F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA383F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA393F50E040007F01006E35--><AD_COLUMN>
@@ -5168,6 +5670,7 @@
 <!--A37C6F84AA393F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA393F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA393F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA393F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA393F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3A3F50E040007F01006E35--><AD_COLUMN>
@@ -5192,7 +5695,7 @@
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[1005]]></AD_ELEMENT_ID>
-<!--A37C6F84AA3A3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA3A3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -5201,6 +5704,7 @@
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3A3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3A3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3A3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3B3F50E040007F01006E35--><AD_COLUMN>
@@ -5225,7 +5729,7 @@
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[550]]></AD_ELEMENT_ID>
-<!--A37C6F84AA3B3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA3B3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -5234,6 +5738,7 @@
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3B3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3B3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3B3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3C3F50E040007F01006E35--><AD_COLUMN>
@@ -5258,7 +5763,7 @@
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[208]]></AD_ELEMENT_ID>
-<!--A37C6F84AA3C3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA3C3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -5267,6 +5772,7 @@
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3C3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3C3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3C3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3D3F50E040007F01006E35--><AD_COLUMN>
@@ -5294,10 +5800,11 @@
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A37C6F84AA3D3F50E040007F01006E35-->  <POSITION><![CDATA[35]]></POSITION>
+<!--A37C6F84AA3D3F50E040007F01006E35-->  <POSITION><![CDATA[36]]></POSITION>
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3D3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3D3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3D3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3E3F50E040007F01006E35--><AD_COLUMN>
@@ -5323,15 +5830,16 @@
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[187]]></AD_ELEMENT_ID>
-<!--A37C6F84AA3E3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A37C6F84AA3E3F50E040007F01006E35-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A37C6F84AA3E3F50E040007F01006E35-->  <POSITION><![CDATA[36]]></POSITION>
+<!--A37C6F84AA3E3F50E040007F01006E35-->  <POSITION><![CDATA[37]]></POSITION>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3E3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3E3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3E3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA3F3F50E040007F01006E35--><AD_COLUMN>
@@ -5359,10 +5867,11 @@
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A37C6F84AA3F3F50E040007F01006E35-->  <POSITION><![CDATA[37]]></POSITION>
+<!--A37C6F84AA3F3F50E040007F01006E35-->  <POSITION><![CDATA[40]]></POSITION>
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA3F3F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA3F3F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA3F3F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA403F50E040007F01006E35--><AD_COLUMN>
@@ -5390,10 +5899,11 @@
 <!--A37C6F84AA403F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA403F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[DP]]></DEVELOPMENTSTATUS>
 <!--A37C6F84AA403F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A37C6F84AA403F50E040007F01006E35-->  <POSITION><![CDATA[38]]></POSITION>
+<!--A37C6F84AA403F50E040007F01006E35-->  <POSITION><![CDATA[41]]></POSITION>
 <!--A37C6F84AA403F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA403F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA403F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA403F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA403F50E040007F01006E35--></AD_COLUMN>
 
 <!--A37C6F84AA413F50E040007F01006E35--><AD_COLUMN>
@@ -5422,10 +5932,11 @@
 <!--A37C6F84AA413F50E040007F01006E35-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A37C6F84AA413F50E040007F01006E35-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--A37C6F84AA413F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A37C6F84AA413F50E040007F01006E35-->  <POSITION><![CDATA[39]]></POSITION>
+<!--A37C6F84AA413F50E040007F01006E35-->  <POSITION><![CDATA[42]]></POSITION>
 <!--A37C6F84AA413F50E040007F01006E35-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A37C6F84AA413F50E040007F01006E35-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A37C6F84AA413F50E040007F01006E35-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A37C6F84AA413F50E040007F01006E35-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A37C6F84AA413F50E040007F01006E35--></AD_COLUMN>
 
 <!--A3A1CA451F85C5FBE040007F0100386C--><AD_COLUMN>
@@ -5456,10 +5967,11 @@
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--A3A1CA451F85C5FBE040007F0100386C-->  <POSITION><![CDATA[40]]></POSITION>
+<!--A3A1CA451F85C5FBE040007F0100386C-->  <POSITION><![CDATA[43]]></POSITION>
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A3A1CA451F85C5FBE040007F0100386C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A3A1CA451F85C5FBE040007F0100386C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A3A1CA451F85C5FBE040007F0100386C--></AD_COLUMN>
 
 <!--A6B405E9791D4BC685220C11CCA916C0--><AD_COLUMN>
@@ -5493,6 +6005,7 @@
 <!--A6B405E9791D4BC685220C11CCA916C0-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A6B405E9791D4BC685220C11CCA916C0-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A6B405E9791D4BC685220C11CCA916C0-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A6B405E9791D4BC685220C11CCA916C0-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A6B405E9791D4BC685220C11CCA916C0--></AD_COLUMN>
 
 <!--A6F530DEA28844FE90B788AD0E437106--><AD_COLUMN>
@@ -5527,6 +6040,7 @@
 <!--A6F530DEA28844FE90B788AD0E437106-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A6F530DEA28844FE90B788AD0E437106-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A6F530DEA28844FE90B788AD0E437106-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A6F530DEA28844FE90B788AD0E437106-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A6F530DEA28844FE90B788AD0E437106--></AD_COLUMN>
 
 <!--A7AA3F7ABB27453795B97A175662F61A--><AD_COLUMN>
@@ -5558,6 +6072,7 @@
 <!--A7AA3F7ABB27453795B97A175662F61A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A7AA3F7ABB27453795B97A175662F61A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A7AA3F7ABB27453795B97A175662F61A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A7AA3F7ABB27453795B97A175662F61A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A7AA3F7ABB27453795B97A175662F61A--></AD_COLUMN>
 
 <!--A819E4C5C1D36FEFE040007F010005F9--><AD_COLUMN>
@@ -5589,6 +6104,7 @@
 <!--A819E4C5C1D36FEFE040007F010005F9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A819E4C5C1D36FEFE040007F010005F9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--A819E4C5C1D36FEFE040007F010005F9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A819E4C5C1D36FEFE040007F010005F9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--A819E4C5C1D36FEFE040007F010005F9--></AD_COLUMN>
 
 <!--AB67B03AC4A84D3F8CF236A16709D908--><AD_COLUMN>
@@ -5622,6 +6138,7 @@
 <!--AB67B03AC4A84D3F8CF236A16709D908-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--AB67B03AC4A84D3F8CF236A16709D908-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--AB67B03AC4A84D3F8CF236A16709D908-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--AB67B03AC4A84D3F8CF236A16709D908-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--AB67B03AC4A84D3F8CF236A16709D908--></AD_COLUMN>
 
 <!--AD49757BC503487E98EED911619FD63B--><AD_COLUMN>
@@ -5655,6 +6172,7 @@
 <!--AD49757BC503487E98EED911619FD63B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--AD49757BC503487E98EED911619FD63B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--AD49757BC503487E98EED911619FD63B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--AD49757BC503487E98EED911619FD63B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--AD49757BC503487E98EED911619FD63B--></AD_COLUMN>
 
 <!--AE840317B6694DBAA5DC6898969B8210--><AD_COLUMN>
@@ -5688,8 +6206,41 @@
 <!--AE840317B6694DBAA5DC6898969B8210-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--AE840317B6694DBAA5DC6898969B8210-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--AE840317B6694DBAA5DC6898969B8210-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--AE840317B6694DBAA5DC6898969B8210-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--AE840317B6694DBAA5DC6898969B8210--></AD_COLUMN>
 
+<!--B0140FD7843840979CB847D51E858ABA--><AD_COLUMN>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_COLUMN_ID><![CDATA[B0140FD7843840979CB847D51E858ABA]]></AD_COLUMN_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B0140FD7843840979CB847D51E858ABA-->  <NAME><![CDATA[Reconciled Items]]></NAME>
+<!--B0140FD7843840979CB847D51E858ABA-->  <COLUMNNAME><![CDATA[Item_No]]></COLUMNNAME>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <FIELDLENGTH><![CDATA[2]]></FIELDLENGTH>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B0140FD7843840979CB847D51E858ABA-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_ELEMENT_ID><![CDATA[82EFB8E4045E19C9E040007F01003778]]></AD_ELEMENT_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B0140FD7843840979CB847D51E858ABA-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B0140FD7843840979CB847D51E858ABA-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B0140FD7843840979CB847D51E858ABA-->  <POSITION><![CDATA[4]]></POSITION>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B0140FD7843840979CB847D51E858ABA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--B0140FD7843840979CB847D51E858ABA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B0140FD7843840979CB847D51E858ABA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B0140FD7843840979CB847D51E858ABA--></AD_COLUMN>
+
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8--><AD_COLUMN>
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <AD_COLUMN_ID><![CDATA[B01D6A5AF6F14FD6947BDEEF22C35CF8]]></AD_COLUMN_ID>
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5721,8 +6272,81 @@
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B01D6A5AF6F14FD6947BDEEF22C35CF8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B01D6A5AF6F14FD6947BDEEF22C35CF8--></AD_COLUMN>
 
+<!--B44BDBCFCEC243179D78A333FA0497A5--><AD_COLUMN>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_COLUMN_ID><![CDATA[B44BDBCFCEC243179D78A333FA0497A5]]></AD_COLUMN_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <NAME><![CDATA[Modify]]></NAME>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <DESCRIPTION><![CDATA[Modify existing transaction once created]]></DESCRIPTION>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <HELP><![CDATA[Process to modify transactions GL Item type once they have been created]]></HELP>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <COLUMNNAME><![CDATA[EM_APRM_Modify]]></COLUMNNAME>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_TABLE_ID><![CDATA[FF8080812FFEC82D012FFECCE3400030]]></AD_TABLE_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <SEQNO><![CDATA[410]]></SEQNO>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_ELEMENT_ID><![CDATA[91DD92021CFA438DBBF2ABAFCB2089C5]]></AD_ELEMENT_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <POSITION><![CDATA[34]]></POSITION>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B44BDBCFCEC243179D78A333FA0497A5-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B44BDBCFCEC243179D78A333FA0497A5--></AD_COLUMN>
+
+<!--B50241F11C4F404583CACB2A88CE875F--><AD_COLUMN>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_COLUMN_ID><![CDATA[B50241F11C4F404583CACB2A88CE875F]]></AD_COLUMN_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <NAME><![CDATA[EM_Aprm_Process_Rec]]></NAME>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <DESCRIPTION><![CDATA[Process Reconciliation Document]]></DESCRIPTION>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <HELP><![CDATA[Used to process and reactivate reconciliation documents]]></HELP>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <COLUMNNAME><![CDATA[EM_Aprm_Process_Rec]]></COLUMNNAME>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF8080812E443491012E443C053A001A]]></AD_REFERENCE_VALUE_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <DEFAULTVALUE><![CDATA[P]]></DEFAULTVALUE>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <SEQNO><![CDATA[270]]></SEQNO>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_ELEMENT_ID><![CDATA[FC780C136EFA4D98B2435A9448FA44AD]]></AD_ELEMENT_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_PROCESS_ID><![CDATA[FF8080812E2F8EAE012E2F94CF470014]]></AD_PROCESS_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <POSITION><![CDATA[26]]></POSITION>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B50241F11C4F404583CACB2A88CE875F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B50241F11C4F404583CACB2A88CE875F--></AD_COLUMN>
+
 <!--B6030F7885494DFC9B08C1649B388D5B--><AD_COLUMN>
 <!--B6030F7885494DFC9B08C1649B388D5B-->  <AD_COLUMN_ID><![CDATA[B6030F7885494DFC9B08C1649B388D5B]]></AD_COLUMN_ID>
 <!--B6030F7885494DFC9B08C1649B388D5B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5755,6 +6379,7 @@
 <!--B6030F7885494DFC9B08C1649B388D5B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B6030F7885494DFC9B08C1649B388D5B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B6030F7885494DFC9B08C1649B388D5B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B6030F7885494DFC9B08C1649B388D5B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B6030F7885494DFC9B08C1649B388D5B--></AD_COLUMN>
 
 <!--B6BE3D53F3334F04960A035C9F353752--><AD_COLUMN>
@@ -5788,6 +6413,7 @@
 <!--B6BE3D53F3334F04960A035C9F353752-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B6BE3D53F3334F04960A035C9F353752-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B6BE3D53F3334F04960A035C9F353752-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B6BE3D53F3334F04960A035C9F353752-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B6BE3D53F3334F04960A035C9F353752--></AD_COLUMN>
 
 <!--B7267890BB524DC1A09EDAAF7C63866C--><AD_COLUMN>
@@ -5821,6 +6447,7 @@
 <!--B7267890BB524DC1A09EDAAF7C63866C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B7267890BB524DC1A09EDAAF7C63866C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B7267890BB524DC1A09EDAAF7C63866C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B7267890BB524DC1A09EDAAF7C63866C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B7267890BB524DC1A09EDAAF7C63866C--></AD_COLUMN>
 
 <!--B75949E0E04D461CBACA1CBD00C9231F--><AD_COLUMN>
@@ -5854,6 +6481,7 @@
 <!--B75949E0E04D461CBACA1CBD00C9231F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B75949E0E04D461CBACA1CBD00C9231F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B75949E0E04D461CBACA1CBD00C9231F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B75949E0E04D461CBACA1CBD00C9231F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B75949E0E04D461CBACA1CBD00C9231F--></AD_COLUMN>
 
 <!--B88ABA24445C463A86300BBF6B6DE296--><AD_COLUMN>
@@ -5887,6 +6515,7 @@
 <!--B88ABA24445C463A86300BBF6B6DE296-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B88ABA24445C463A86300BBF6B6DE296-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B88ABA24445C463A86300BBF6B6DE296-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B88ABA24445C463A86300BBF6B6DE296-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B88ABA24445C463A86300BBF6B6DE296--></AD_COLUMN>
 
 <!--B9DAC6015F8F4F94965030A72199BC55--><AD_COLUMN>
@@ -5920,8 +6549,78 @@
 <!--B9DAC6015F8F4F94965030A72199BC55-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--B9DAC6015F8F4F94965030A72199BC55-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--B9DAC6015F8F4F94965030A72199BC55-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B9DAC6015F8F4F94965030A72199BC55-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--B9DAC6015F8F4F94965030A72199BC55--></AD_COLUMN>
 
+<!--BB2A987CBD534A18B91D77B7D43AF879--><AD_COLUMN>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_COLUMN_ID><![CDATA[BB2A987CBD534A18B91D77B7D43AF879]]></AD_COLUMN_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <POSITION><![CDATA[11]]></POSITION>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BB2A987CBD534A18B91D77B7D43AF879-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--BB2A987CBD534A18B91D77B7D43AF879--></AD_COLUMN>
+
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8--><AD_COLUMN>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_COLUMN_ID><![CDATA[BBA3DB68DBD844B29F1EEC9A04F112E8]]></AD_COLUMN_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <NAME><![CDATA[Product]]></NAME>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <COLUMNNAME><![CDATA[M_Product_ID]]></COLUMNNAME>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_TABLE_ID><![CDATA[FF8080812FFEC82D012FFECCE3400030]]></AD_TABLE_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_REFERENCE_VALUE_ID><![CDATA[800060]]></AD_REFERENCE_VALUE_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <SEQNO><![CDATA[420]]></SEQNO>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_ELEMENT_ID><![CDATA[454]]></AD_ELEMENT_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <POSITION><![CDATA[38]]></POSITION>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--BBA3DB68DBD844B29F1EEC9A04F112E8--></AD_COLUMN>
+
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA--><AD_COLUMN>
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <AD_COLUMN_ID><![CDATA[BBE36F9268AD4E4D9F8BD3E152E7D3BA]]></AD_COLUMN_ID>
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5954,8 +6653,45 @@
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BBE36F9268AD4E4D9F8BD3E152E7D3BA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--BBE36F9268AD4E4D9F8BD3E152E7D3BA--></AD_COLUMN>
 
+<!--BC78354AB2F7403FA9725CDF267C0A70--><AD_COLUMN>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_COLUMN_ID><![CDATA[BC78354AB2F7403FA9725CDF267C0A70]]></AD_COLUMN_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <NAME><![CDATA[EM_APRM_Modify]]></NAME>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <DESCRIPTION><![CDATA[Modify existing transaction once created]]></DESCRIPTION>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <HELP><![CDATA[Process to modify transactions GL Item type once they have been created]]></HELP>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <COLUMNNAME><![CDATA[EM_APRM_Modify]]></COLUMNNAME>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_TABLE_ID><![CDATA[4D8C3B3C31D1410DA046140C9F024D17]]></AD_TABLE_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <SEQNO><![CDATA[380]]></SEQNO>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_ELEMENT_ID><![CDATA[91DD92021CFA438DBBF2ABAFCB2089C5]]></AD_ELEMENT_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <POSITION><![CDATA[38]]></POSITION>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <ISAUTOSAVE><![CDATA[N]]></ISAUTOSAVE>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BC78354AB2F7403FA9725CDF267C0A70-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--BC78354AB2F7403FA9725CDF267C0A70--></AD_COLUMN>
+
 <!--BDFC6B326633430292F1C59CEF831534--><AD_COLUMN>
 <!--BDFC6B326633430292F1C59CEF831534-->  <AD_COLUMN_ID><![CDATA[BDFC6B326633430292F1C59CEF831534]]></AD_COLUMN_ID>
 <!--BDFC6B326633430292F1C59CEF831534-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5987,6 +6723,7 @@
 <!--BDFC6B326633430292F1C59CEF831534-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--BDFC6B326633430292F1C59CEF831534-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--BDFC6B326633430292F1C59CEF831534-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BDFC6B326633430292F1C59CEF831534-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--BDFC6B326633430292F1C59CEF831534--></AD_COLUMN>
 
 <!--BF61CD8A1E034B32B4F7770EDA6064DF--><AD_COLUMN>
@@ -6020,6 +6757,7 @@
 <!--BF61CD8A1E034B32B4F7770EDA6064DF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--BF61CD8A1E034B32B4F7770EDA6064DF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--BF61CD8A1E034B32B4F7770EDA6064DF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BF61CD8A1E034B32B4F7770EDA6064DF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--BF61CD8A1E034B32B4F7770EDA6064DF--></AD_COLUMN>
 
 <!--C2C87639AA9846F2955E7CB6862FA57B--><AD_COLUMN>
@@ -6054,6 +6792,7 @@
 <!--C2C87639AA9846F2955E7CB6862FA57B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--C2C87639AA9846F2955E7CB6862FA57B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--C2C87639AA9846F2955E7CB6862FA57B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--C2C87639AA9846F2955E7CB6862FA57B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--C2C87639AA9846F2955E7CB6862FA57B--></AD_COLUMN>
 
 <!--C40B1C60A6084CED9A9EF9D73DA2EC7B--><AD_COLUMN>
@@ -6088,6 +6827,7 @@
 <!--C40B1C60A6084CED9A9EF9D73DA2EC7B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--C40B1C60A6084CED9A9EF9D73DA2EC7B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--C40B1C60A6084CED9A9EF9D73DA2EC7B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--C40B1C60A6084CED9A9EF9D73DA2EC7B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--C40B1C60A6084CED9A9EF9D73DA2EC7B--></AD_COLUMN>
 
 <!--CBAF582C3F674FEEB1D38C2A10E03E2F--><AD_COLUMN>
@@ -6119,6 +6859,7 @@
 <!--CBAF582C3F674FEEB1D38C2A10E03E2F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--CBAF582C3F674FEEB1D38C2A10E03E2F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--CBAF582C3F674FEEB1D38C2A10E03E2F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CBAF582C3F674FEEB1D38C2A10E03E2F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--CBAF582C3F674FEEB1D38C2A10E03E2F--></AD_COLUMN>
 
 <!--D4C27D211DF9416DA498EEFB6C008B7B--><AD_COLUMN>
@@ -6152,6 +6893,7 @@
 <!--D4C27D211DF9416DA498EEFB6C008B7B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--D4C27D211DF9416DA498EEFB6C008B7B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--D4C27D211DF9416DA498EEFB6C008B7B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--D4C27D211DF9416DA498EEFB6C008B7B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--D4C27D211DF9416DA498EEFB6C008B7B--></AD_COLUMN>
 
 <!--D6A01A3BA0674CC49C7F17FA2251E7C6--><AD_COLUMN>
@@ -6185,8 +6927,41 @@
 <!--D6A01A3BA0674CC49C7F17FA2251E7C6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--D6A01A3BA0674CC49C7F17FA2251E7C6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--D6A01A3BA0674CC49C7F17FA2251E7C6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--D6A01A3BA0674CC49C7F17FA2251E7C6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--D6A01A3BA0674CC49C7F17FA2251E7C6--></AD_COLUMN>
 
+<!--DD5C635F60EF4CA6BD8395F81E8466AD--><AD_COLUMN>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_COLUMN_ID><![CDATA[DD5C635F60EF4CA6BD8395F81E8466AD]]></AD_COLUMN_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <NAME><![CDATA[APRM_Rec_Detail_V_ID]]></NAME>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <COLUMNNAME><![CDATA[APRM_Rec_Detail_V_ID]]></COLUMNNAME>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <FIELDLENGTH><![CDATA[-5]]></FIELDLENGTH>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_ELEMENT_ID><![CDATA[4AC57284C5C745EB9087C105222EDF02]]></AD_ELEMENT_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <POSITION><![CDATA[1]]></POSITION>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--DD5C635F60EF4CA6BD8395F81E8466AD--></AD_COLUMN>
+
 <!--E3E69DDF3725407BABA84827647EF002--><AD_COLUMN>
 <!--E3E69DDF3725407BABA84827647EF002-->  <AD_COLUMN_ID><![CDATA[E3E69DDF3725407BABA84827647EF002]]></AD_COLUMN_ID>
 <!--E3E69DDF3725407BABA84827647EF002-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6218,6 +6993,7 @@
 <!--E3E69DDF3725407BABA84827647EF002-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--E3E69DDF3725407BABA84827647EF002-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--E3E69DDF3725407BABA84827647EF002-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--E3E69DDF3725407BABA84827647EF002-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--E3E69DDF3725407BABA84827647EF002--></AD_COLUMN>
 
 <!--E6DB13E1516947B7A8DC5741D58A7AB2--><AD_COLUMN>
@@ -6251,8 +7027,41 @@
 <!--E6DB13E1516947B7A8DC5741D58A7AB2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--E6DB13E1516947B7A8DC5741D58A7AB2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--E6DB13E1516947B7A8DC5741D58A7AB2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--E6DB13E1516947B7A8DC5741D58A7AB2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--E6DB13E1516947B7A8DC5741D58A7AB2--></AD_COLUMN>
 
+<!--EA4E28B26B6A4157830C4D2C09F93DCB--><AD_COLUMN>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_COLUMN_ID><![CDATA[EA4E28B26B6A4157830C4D2C09F93DCB]]></AD_COLUMN_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <NAME><![CDATA[Reconciled Items Amount]]></NAME>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <COLUMNNAME><![CDATA[Item_Amt]]></COLUMNNAME>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_REFERENCE_ID><![CDATA[12]]></AD_REFERENCE_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <FIELDLENGTH><![CDATA[2]]></FIELDLENGTH>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_ELEMENT_ID><![CDATA[82EFB8E4045F19C9E040007F01003778]]></AD_ELEMENT_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <POSITION><![CDATA[5]]></POSITION>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--EA4E28B26B6A4157830C4D2C09F93DCB--></AD_COLUMN>
+
 <!--EBF40746D2584CCC991B1F592C3A5DB9--><AD_COLUMN>
 <!--EBF40746D2584CCC991B1F592C3A5DB9-->  <AD_COLUMN_ID><![CDATA[EBF40746D2584CCC991B1F592C3A5DB9]]></AD_COLUMN_ID>
 <!--EBF40746D2584CCC991B1F592C3A5DB9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6284,6 +7093,7 @@
 <!--EBF40746D2584CCC991B1F592C3A5DB9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--EBF40746D2584CCC991B1F592C3A5DB9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--EBF40746D2584CCC991B1F592C3A5DB9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--EBF40746D2584CCC991B1F592C3A5DB9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--EBF40746D2584CCC991B1F592C3A5DB9--></AD_COLUMN>
 
 <!--EEA71E7532134B6BB905BF22652377CD--><AD_COLUMN>
@@ -6318,6 +7128,7 @@
 <!--EEA71E7532134B6BB905BF22652377CD-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--EEA71E7532134B6BB905BF22652377CD-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--EEA71E7532134B6BB905BF22652377CD-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--EEA71E7532134B6BB905BF22652377CD-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--EEA71E7532134B6BB905BF22652377CD--></AD_COLUMN>
 
 <!--F30A5F00B30D407B8C05119E8B91A275--><AD_COLUMN>
@@ -6351,6 +7162,7 @@
 <!--F30A5F00B30D407B8C05119E8B91A275-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--F30A5F00B30D407B8C05119E8B91A275-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--F30A5F00B30D407B8C05119E8B91A275-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F30A5F00B30D407B8C05119E8B91A275-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--F30A5F00B30D407B8C05119E8B91A275--></AD_COLUMN>
 
 <!--F362B84F4718449EAD840F1C25667B37--><AD_COLUMN>
@@ -6363,7 +7175,7 @@
 <!--F362B84F4718449EAD840F1C25667B37-->  <HELP><![CDATA[Used to process and reactivate reconciliation documents]]></HELP>
 <!--F362B84F4718449EAD840F1C25667B37-->  <COLUMNNAME><![CDATA[EM_APRM_Process_Reconciliation]]></COLUMNNAME>
 <!--F362B84F4718449EAD840F1C25667B37-->  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
-<!--F362B84F4718449EAD840F1C25667B37-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--F362B84F4718449EAD840F1C25667B37-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
 <!--F362B84F4718449EAD840F1C25667B37-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF8080812E443491012E443C053A001A]]></AD_REFERENCE_VALUE_ID>
 <!--F362B84F4718449EAD840F1C25667B37-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
 <!--F362B84F4718449EAD840F1C25667B37-->  <DEFAULTVALUE><![CDATA[P]]></DEFAULTVALUE>
@@ -6383,10 +7195,11 @@
 <!--F362B84F4718449EAD840F1C25667B37-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--F362B84F4718449EAD840F1C25667B37-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--F362B84F4718449EAD840F1C25667B37-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--F362B84F4718449EAD840F1C25667B37-->  <POSITION><![CDATA[25]]></POSITION>
+<!--F362B84F4718449EAD840F1C25667B37-->  <POSITION><![CDATA[23]]></POSITION>
 <!--F362B84F4718449EAD840F1C25667B37-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--F362B84F4718449EAD840F1C25667B37-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--F362B84F4718449EAD840F1C25667B37-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F362B84F4718449EAD840F1C25667B37-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--F362B84F4718449EAD840F1C25667B37--></AD_COLUMN>
 
 <!--F66DB06B6E26437CAB8726D761F4B509--><AD_COLUMN>
@@ -6420,6 +7233,7 @@
 <!--F66DB06B6E26437CAB8726D761F4B509-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--F66DB06B6E26437CAB8726D761F4B509-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--F66DB06B6E26437CAB8726D761F4B509-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F66DB06B6E26437CAB8726D761F4B509-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--F66DB06B6E26437CAB8726D761F4B509--></AD_COLUMN>
 
 <!--F79D0173541B42CD9F41A58D53929BFA--><AD_COLUMN>
@@ -6453,8 +7267,44 @@
 <!--F79D0173541B42CD9F41A58D53929BFA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--F79D0173541B42CD9F41A58D53929BFA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--F79D0173541B42CD9F41A58D53929BFA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F79D0173541B42CD9F41A58D53929BFA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--F79D0173541B42CD9F41A58D53929BFA--></AD_COLUMN>
 
+<!--F860918881E54495981462670E8882BF--><AD_COLUMN>
+<!--F860918881E54495981462670E8882BF-->  <AD_COLUMN_ID><![CDATA[F860918881E54495981462670E8882BF]]></AD_COLUMN_ID>
+<!--F860918881E54495981462670E8882BF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F860918881E54495981462670E8882BF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F860918881E54495981462670E8882BF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F860918881E54495981462670E8882BF-->  <NAME><![CDATA[Organization]]></NAME>
+<!--F860918881E54495981462670E8882BF-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--F860918881E54495981462670E8882BF-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--F860918881E54495981462670E8882BF-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--F860918881E54495981462670E8882BF-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--F860918881E54495981462670E8882BF-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--F860918881E54495981462670E8882BF-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--F860918881E54495981462670E8882BF-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--F860918881E54495981462670E8882BF-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--F860918881E54495981462670E8882BF-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--F860918881E54495981462670E8882BF-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--F860918881E54495981462670E8882BF-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--F860918881E54495981462670E8882BF-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--F860918881E54495981462670E8882BF-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--F860918881E54495981462670E8882BF-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--F860918881E54495981462670E8882BF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--F860918881E54495981462670E8882BF-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--F860918881E54495981462670E8882BF-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--F860918881E54495981462670E8882BF-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--F860918881E54495981462670E8882BF-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--F860918881E54495981462670E8882BF-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--F860918881E54495981462670E8882BF-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--F860918881E54495981462670E8882BF-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--F860918881E54495981462670E8882BF-->  <POSITION><![CDATA[7]]></POSITION>
+<!--F860918881E54495981462670E8882BF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--F860918881E54495981462670E8882BF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--F860918881E54495981462670E8882BF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F860918881E54495981462670E8882BF-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--F860918881E54495981462670E8882BF--></AD_COLUMN>
+
 <!--FA5D73939D454F8E804DFACEE44D0C6E--><AD_COLUMN>
 <!--FA5D73939D454F8E804DFACEE44D0C6E-->  <AD_COLUMN_ID><![CDATA[FA5D73939D454F8E804DFACEE44D0C6E]]></AD_COLUMN_ID>
 <!--FA5D73939D454F8E804DFACEE44D0C6E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6486,6 +7336,7 @@
 <!--FA5D73939D454F8E804DFACEE44D0C6E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--FA5D73939D454F8E804DFACEE44D0C6E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--FA5D73939D454F8E804DFACEE44D0C6E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--FA5D73939D454F8E804DFACEE44D0C6E-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--FA5D73939D454F8E804DFACEE44D0C6E--></AD_COLUMN>
 
 <!--FDE1E0795CDC4A00AC9D587E0D98D319--><AD_COLUMN>
@@ -6514,10 +7365,11 @@
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <POSITION><![CDATA[34]]></POSITION>
+<!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <POSITION><![CDATA[35]]></POSITION>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--FDE1E0795CDC4A00AC9D587E0D98D319-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--FDE1E0795CDC4A00AC9D587E0D98D319--></AD_COLUMN>
 
 <!--FEB149D92A0E4F9E9532F0F78A16B0A8--><AD_COLUMN>
@@ -6551,6 +7403,7 @@
 <!--FEB149D92A0E4F9E9532F0F78A16B0A8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--FEB149D92A0E4F9E9532F0F78A16B0A8-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--FEB149D92A0E4F9E9532F0F78A16B0A8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--FEB149D92A0E4F9E9532F0F78A16B0A8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--FEB149D92A0E4F9E9532F0F78A16B0A8--></AD_COLUMN>
 
 <!--FF082FD594D64E958DB1CE24B011C97B--><AD_COLUMN>
@@ -6584,6 +7437,7 @@
 <!--FF082FD594D64E958DB1CE24B011C97B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--FF082FD594D64E958DB1CE24B011C97B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--FF082FD594D64E958DB1CE24B011C97B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--FF082FD594D64E958DB1CE24B011C97B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
 <!--FF082FD594D64E958DB1CE24B011C97B--></AD_COLUMN>
 
 </data>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -22,6 +22,17 @@
 <!--36C60E53F1274EDA827ED5146A2B13D1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--36C60E53F1274EDA827ED5146A2B13D1--></AD_ELEMENT>
 
+<!--4AC57284C5C745EB9087C105222EDF02--><AD_ELEMENT>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <AD_ELEMENT_ID><![CDATA[4AC57284C5C745EB9087C105222EDF02]]></AD_ELEMENT_ID>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <COLUMNNAME><![CDATA[APRM_Rec_Detail_V_ID]]></COLUMNNAME>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <NAME><![CDATA[APRM_Rec_Detail_V_ID]]></NAME>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <PRINTNAME><![CDATA[APRM_Rec_Detail_V_ID]]></PRINTNAME>
+<!--4AC57284C5C745EB9087C105222EDF02-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--4AC57284C5C745EB9087C105222EDF02--></AD_ELEMENT>
+
 <!--6037A140C2664B6991BFD4EC7561A662--><AD_ELEMENT>
 <!--6037A140C2664B6991BFD4EC7561A662-->  <AD_ELEMENT_ID><![CDATA[6037A140C2664B6991BFD4EC7561A662]]></AD_ELEMENT_ID>
 <!--6037A140C2664B6991BFD4EC7561A662-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -33,6 +44,28 @@
 <!--6037A140C2664B6991BFD4EC7561A662-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--6037A140C2664B6991BFD4EC7561A662--></AD_ELEMENT>
 
+<!--720C4FC08FBD43419FF7EACABECA6AE3--><AD_ELEMENT>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <AD_ELEMENT_ID><![CDATA[720C4FC08FBD43419FF7EACABECA6AE3]]></AD_ELEMENT_ID>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <COLUMNNAME><![CDATA[reconciliationId]]></COLUMNNAME>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <NAME><![CDATA[reconciliationId]]></NAME>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <PRINTNAME><![CDATA[reconciliationId]]></PRINTNAME>
+<!--720C4FC08FBD43419FF7EACABECA6AE3-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--720C4FC08FBD43419FF7EACABECA6AE3--></AD_ELEMENT>
+
+<!--77E12B7AAB9F45BF9D3263E5967A696A--><AD_ELEMENT>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <AD_ELEMENT_ID><![CDATA[77E12B7AAB9F45BF9D3263E5967A696A]]></AD_ELEMENT_ID>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <COLUMNNAME><![CDATA[language]]></COLUMNNAME>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <NAME><![CDATA[language]]></NAME>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <PRINTNAME><![CDATA[language]]></PRINTNAME>
+<!--77E12B7AAB9F45BF9D3263E5967A696A-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--77E12B7AAB9F45BF9D3263E5967A696A--></AD_ELEMENT>
+
 <!--78A3787B4823C096E040007F0101250E--><AD_ELEMENT>
 <!--78A3787B4823C096E040007F0101250E-->  <AD_ELEMENT_ID><![CDATA[78A3787B4823C096E040007F0101250E]]></AD_ELEMENT_ID>
 <!--78A3787B4823C096E040007F0101250E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -236,6 +269,19 @@
 <!--8BBA8342ED3C20FFE040007F01002E9B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--8BBA8342ED3C20FFE040007F01002E9B--></AD_ELEMENT>
 
+<!--91DD92021CFA438DBBF2ABAFCB2089C5--><AD_ELEMENT>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <AD_ELEMENT_ID><![CDATA[91DD92021CFA438DBBF2ABAFCB2089C5]]></AD_ELEMENT_ID>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <COLUMNNAME><![CDATA[EM_APRM_Modify]]></COLUMNNAME>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <NAME><![CDATA[Modify]]></NAME>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <PRINTNAME><![CDATA[Modify]]></PRINTNAME>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <DESCRIPTION><![CDATA[Modify existing transaction once created]]></DESCRIPTION>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <HELP><![CDATA[Process to modify transactions GL Item type once they have been created]]></HELP>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--91DD92021CFA438DBBF2ABAFCB2089C5--></AD_ELEMENT>
+
 <!--A0417A0E924ACA28E040007F01003C18--><AD_ELEMENT>
 <!--A0417A0E924ACA28E040007F01003C18-->  <AD_ELEMENT_ID><![CDATA[A0417A0E924ACA28E040007F01003C18]]></AD_ELEMENT_ID>
 <!--A0417A0E924ACA28E040007F01003C18-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -361,6 +407,19 @@
 <!--A37C6F84AA463F50E040007F01006E35-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--A37C6F84AA463F50E040007F01006E35--></AD_ELEMENT>
 
+<!--B0FA9EF3D10E46FF9D402AB44056363B--><AD_ELEMENT>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <AD_ELEMENT_ID><![CDATA[B0FA9EF3D10E46FF9D402AB44056363B]]></AD_ELEMENT_ID>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <COLUMNNAME><![CDATA[EM_APRM_PrintSummary]]></COLUMNNAME>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <NAME><![CDATA[Print Summary]]></NAME>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <PRINTNAME><![CDATA[Print Summary]]></PRINTNAME>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <DESCRIPTION><![CDATA[Print Summary reconciliation report]]></DESCRIPTION>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <HELP><![CDATA[Print Summary reconciliation report]]></HELP>
+<!--B0FA9EF3D10E46FF9D402AB44056363B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B0FA9EF3D10E46FF9D402AB44056363B--></AD_ELEMENT>
+
 <!--C8E8009C6BF5427EA930515F217F768E--><AD_ELEMENT>
 <!--C8E8009C6BF5427EA930515F217F768E-->  <AD_ELEMENT_ID><![CDATA[C8E8009C6BF5427EA930515F217F768E]]></AD_ELEMENT_ID>
 <!--C8E8009C6BF5427EA930515F217F768E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -380,13 +439,39 @@
 <!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <COLUMNNAME><![CDATA[EM_Aprm_Payment_Desc]]></COLUMNNAME>
-<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <NAME><![CDATA[Invoice's Reference for Payment Description]]></NAME>
-<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <PRINTNAME><![CDATA[Invoice's Reference for Payment Description]]></PRINTNAME>
-<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <DESCRIPTION><![CDATA[Invoice's Reference to be automatically included into the Payment Description]]></DESCRIPTION>
-<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <HELP><![CDATA[Invoice's reference to be automatically included into the payment description. Possible values are:
-- Invoice document number (default)
-- Supplier reference, which is defined in the invoice's header]]></HELP>
+<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <NAME><![CDATA[Purchase Invoice's Reference for Payment Description]]></NAME>
+<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <PRINTNAME><![CDATA[Purchase Invoice's Reference for Payment Description]]></PRINTNAME>
+<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <DESCRIPTION><![CDATA[Purchase Invoice's Reference to be automatically included into the Payment Description.]]></DESCRIPTION>
+<!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <HELP><![CDATA[Purchase Invoice's reference to be automatically included into the payment description. Possible values are:
+- Invoice document number (default).
+- Supplier reference, which is defined in the invoice's header.]]></HELP>
 <!--D2AC3F75FCDC4BC187A1F492C46D68D1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--D2AC3F75FCDC4BC187A1F492C46D68D1--></AD_ELEMENT>
 
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7--><AD_ELEMENT>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <AD_ELEMENT_ID><![CDATA[DB85AA94D6DF4D7CB29CE7999B15F9C7]]></AD_ELEMENT_ID>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <COLUMNNAME><![CDATA[EM_APRM_PrintDetailed]]></COLUMNNAME>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <NAME><![CDATA[Print Detailed]]></NAME>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <PRINTNAME><![CDATA[Print Detailed]]></PRINTNAME>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <DESCRIPTION><![CDATA[Print Detailed reconciliation report]]></DESCRIPTION>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <HELP><![CDATA[Print Detailed reconciliation report]]></HELP>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--DB85AA94D6DF4D7CB29CE7999B15F9C7--></AD_ELEMENT>
+
+<!--FC780C136EFA4D98B2435A9448FA44AD--><AD_ELEMENT>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <AD_ELEMENT_ID><![CDATA[FC780C136EFA4D98B2435A9448FA44AD]]></AD_ELEMENT_ID>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <COLUMNNAME><![CDATA[EM_Aprm_Process_Rec]]></COLUMNNAME>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <NAME><![CDATA[Process_Reconciliation]]></NAME>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <PRINTNAME><![CDATA[Process Reconciliation]]></PRINTNAME>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <DESCRIPTION><![CDATA[Process Reconciliation Document]]></DESCRIPTION>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <HELP><![CDATA[Used to process and reactivate reconciliation documents]]></HELP>
+<!--FC780C136EFA4D98B2435A9448FA44AD-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FC780C136EFA4D98B2435A9448FA44AD--></AD_ELEMENT>
+
 </data>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -25,6 +25,32 @@
 <!--0043803AB6914D9D90288DD4B4B29191-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--0043803AB6914D9D90288DD4B4B29191--></AD_FIELD>
 
+<!--0055340A334944A285A326395DC98BEC--><AD_FIELD>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_FIELD_ID><![CDATA[0055340A334944A285A326395DC98BEC]]></AD_FIELD_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0055340A334944A285A326395DC98BEC-->  <NAME><![CDATA[Financial Account]]></NAME>
+<!--0055340A334944A285A326395DC98BEC-->  <DESCRIPTION><![CDATA[Financial account used to deposit / withdrawal money such as bank accounts or petty cash]]></DESCRIPTION>
+<!--0055340A334944A285A326395DC98BEC-->  <HELP><![CDATA[Financial account used to deposit / withdrawal money such as bank accounts or petty cash]]></HELP>
+<!--0055340A334944A285A326395DC98BEC-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_COLUMN_ID><![CDATA[8189F49FFEDC6E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--0055340A334944A285A326395DC98BEC-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--0055340A334944A285A326395DC98BEC-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--0055340A334944A285A326395DC98BEC-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--0055340A334944A285A326395DC98BEC-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--0055340A334944A285A326395DC98BEC-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--0055340A334944A285A326395DC98BEC-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--0055340A334944A285A326395DC98BEC-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--0055340A334944A285A326395DC98BEC-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--0055340A334944A285A326395DC98BEC-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--0055340A334944A285A326395DC98BEC-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--0055340A334944A285A326395DC98BEC-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--0055340A334944A285A326395DC98BEC-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--0055340A334944A285A326395DC98BEC--></AD_FIELD>
+
 <!--0174043FCD4A4CA7BABADC8753A9FCFC--><AD_FIELD>
 <!--0174043FCD4A4CA7BABADC8753A9FCFC-->  <AD_FIELD_ID><![CDATA[0174043FCD4A4CA7BABADC8753A9FCFC]]></AD_FIELD_ID>
 <!--0174043FCD4A4CA7BABADC8753A9FCFC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1008,6 +1034,32 @@
 <!--2C3C6561C2DB4025A367330BB9070FCB-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--2C3C6561C2DB4025A367330BB9070FCB--></AD_FIELD>
 
+<!--2D59DEFAF52341F9814A2F071792B57C--><AD_FIELD>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_FIELD_ID><![CDATA[2D59DEFAF52341F9814A2F071792B57C]]></AD_FIELD_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <NAME><![CDATA[Print Detailed]]></NAME>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <DESCRIPTION><![CDATA[Print Detailed]]></DESCRIPTION>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <HELP><![CDATA[Print Detailed]]></HELP>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE96E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--2D59DEFAF52341F9814A2F071792B57C-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--2D59DEFAF52341F9814A2F071792B57C--></AD_FIELD>
+
 <!--2E37863A6E9246D8907247CB693F447F--><AD_FIELD>
 <!--2E37863A6E9246D8907247CB693F447F-->  <AD_FIELD_ID><![CDATA[2E37863A6E9246D8907247CB693F447F]]></AD_FIELD_ID>
 <!--2E37863A6E9246D8907247CB693F447F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1060,6 +1112,30 @@
 <!--2EBA471BFB9E426CA3F132BAE419F40C-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--2EBA471BFB9E426CA3F132BAE419F40C--></AD_FIELD>
 
+<!--2ED1B6259CE04EBE9EA73C51D365BE29--><AD_FIELD>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_FIELD_ID><![CDATA[2ED1B6259CE04EBE9EA73C51D365BE29]]></AD_FIELD_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <NAME><![CDATA[Reconciliation Summary]]></NAME>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_COLUMN_ID><![CDATA[8505522E56C849E1B76AD10840AB2AA8]]></AD_COLUMN_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--2ED1B6259CE04EBE9EA73C51D365BE29--></AD_FIELD>
+
 <!--2FF77BE337D74C23BE0AF89A815C2FD3--><AD_FIELD>
 <!--2FF77BE337D74C23BE0AF89A815C2FD3-->  <AD_FIELD_ID><![CDATA[2FF77BE337D74C23BE0AF89A815C2FD3]]></AD_FIELD_ID>
 <!--2FF77BE337D74C23BE0AF89A815C2FD3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1265,6 +1341,31 @@
 <!--36C4188FB51E4D608C0F6538C8C29199-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--36C4188FB51E4D608C0F6538C8C29199--></AD_FIELD>
 
+<!--375E1C0E1C31460EB1A775A9F16432B2--><AD_FIELD>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_FIELD_ID><![CDATA[375E1C0E1C31460EB1A775A9F16432B2]]></AD_FIELD_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <NAME><![CDATA[Client]]></NAME>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_COLUMN_ID><![CDATA[8189F49FFED56E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--375E1C0E1C31460EB1A775A9F16432B2-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--375E1C0E1C31460EB1A775A9F16432B2--></AD_FIELD>
+
 <!--37D8FDDFE9BC4EFBB06ADFFBCA025830--><AD_FIELD>
 <!--37D8FDDFE9BC4EFBB06ADFFBCA025830-->  <AD_FIELD_ID><![CDATA[37D8FDDFE9BC4EFBB06ADFFBCA025830]]></AD_FIELD_ID>
 <!--37D8FDDFE9BC4EFBB06ADFFBCA025830-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1368,6 +1469,32 @@
 <!--3A5B512C1F0F431DABDD963561229471-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--3A5B512C1F0F431DABDD963561229471--></AD_FIELD>
 
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2--><AD_FIELD>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_FIELD_ID><![CDATA[3A99ADE406FE4980B9B8E9F7EA5E6CE2]]></AD_FIELD_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <NAME><![CDATA[Organization]]></NAME>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_COLUMN_ID><![CDATA[8189F49FFED66E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--3A99ADE406FE4980B9B8E9F7EA5E6CE2--></AD_FIELD>
+
 <!--3CABD397F7344406B4E60AC69E2C2A5D--><AD_FIELD>
 <!--3CABD397F7344406B4E60AC69E2C2A5D-->  <AD_FIELD_ID><![CDATA[3CABD397F7344406B4E60AC69E2C2A5D]]></AD_FIELD_ID>
 <!--3CABD397F7344406B4E60AC69E2C2A5D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1416,6 +1543,32 @@
 <!--3E9C6405F0D641308A4377E3198600FE-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--3E9C6405F0D641308A4377E3198600FE--></AD_FIELD>
 
+<!--3ED73C4C57324E1BA3C85484F8228C34--><AD_FIELD>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_FIELD_ID><![CDATA[3ED73C4C57324E1BA3C85484F8228C34]]></AD_FIELD_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <NAME><![CDATA[Print Summary]]></NAME>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <DESCRIPTION><![CDATA[Print Summary]]></DESCRIPTION>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <HELP><![CDATA[Print Summary]]></HELP>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_COLUMN_ID><![CDATA[8189F49FFEEA6E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--3ED73C4C57324E1BA3C85484F8228C34-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--3ED73C4C57324E1BA3C85484F8228C34--></AD_FIELD>
+
 <!--3FD9A2F24FA84165AB5ACE9F2BF085FC--><AD_FIELD>
 <!--3FD9A2F24FA84165AB5ACE9F2BF085FC-->  <AD_FIELD_ID><![CDATA[3FD9A2F24FA84165AB5ACE9F2BF085FC]]></AD_FIELD_ID>
 <!--3FD9A2F24FA84165AB5ACE9F2BF085FC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1904,6 +2057,34 @@
 <!--474B4548A7914541B2A7EF676A46B460-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--474B4548A7914541B2A7EF676A46B460--></AD_FIELD>
 
+<!--4944B300EEDA47A98B1C05D951FF9AA9--><AD_FIELD>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_FIELD_ID><![CDATA[4944B300EEDA47A98B1C05D951FF9AA9]]></AD_FIELD_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <NAME><![CDATA[Active]]></NAME>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <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>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_COLUMN_ID><![CDATA[8189F49FFEDB6E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--4944B300EEDA47A98B1C05D951FF9AA9-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--4944B300EEDA47A98B1C05D951FF9AA9--></AD_FIELD>
+
 <!--49F7FA0508A441E9ABBF5F1C8208E10D--><AD_FIELD>
 <!--49F7FA0508A441E9ABBF5F1C8208E10D-->  <AD_FIELD_ID><![CDATA[49F7FA0508A441E9ABBF5F1C8208E10D]]></AD_FIELD_ID>
 <!--49F7FA0508A441E9ABBF5F1C8208E10D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1930,6 +2111,32 @@
 <!--49F7FA0508A441E9ABBF5F1C8208E10D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--49F7FA0508A441E9ABBF5F1C8208E10D--></AD_FIELD>
 
+<!--4C85D478837741C4A3AD74CFF852A470--><AD_FIELD>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_FIELD_ID><![CDATA[4C85D478837741C4A3AD74CFF852A470]]></AD_FIELD_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <NAME><![CDATA[Starting Balance]]></NAME>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <DESCRIPTION><![CDATA[Starting Balance]]></DESCRIPTION>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <HELP><![CDATA[Starting Balance]]></HELP>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE46E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--4C85D478837741C4A3AD74CFF852A470-->  <ISSHOWNINSTATUSBAR><![CDATA[Y]]></ISSHOWNINSTATUSBAR>
+<!--4C85D478837741C4A3AD74CFF852A470--></AD_FIELD>
+
 <!--4CBFECB0163F4D88A1EF2106B49BFE9D--><AD_FIELD>
 <!--4CBFECB0163F4D88A1EF2106B49BFE9D-->  <AD_FIELD_ID><![CDATA[4CBFECB0163F4D88A1EF2106B49BFE9D]]></AD_FIELD_ID>
 <!--4CBFECB0163F4D88A1EF2106B49BFE9D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2132,6 +2339,32 @@
 <!--5280E667A502462EBD6D493EBD4B129F-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--5280E667A502462EBD6D493EBD4B129F--></AD_FIELD>
 
+<!--5422F2DED3234598A429221281F8B61D--><AD_FIELD>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_FIELD_ID><![CDATA[5422F2DED3234598A429221281F8B61D]]></AD_FIELD_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--5422F2DED3234598A429221281F8B61D-->  <NAME><![CDATA[Reconcile]]></NAME>
+<!--5422F2DED3234598A429221281F8B61D-->  <DESCRIPTION><![CDATA[Manages processing of reconciliation documents]]></DESCRIPTION>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_COLUMN_ID><![CDATA[F362B84F4718449EAD840F1C25667B37]]></AD_COLUMN_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--5422F2DED3234598A429221281F8B61D-->  <DISPLAYLOGIC><![CDATA[@Processed@='Y']]></DISPLAYLOGIC>
+<!--5422F2DED3234598A429221281F8B61D-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--5422F2DED3234598A429221281F8B61D-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--5422F2DED3234598A429221281F8B61D-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--5422F2DED3234598A429221281F8B61D-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--5422F2DED3234598A429221281F8B61D-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--5422F2DED3234598A429221281F8B61D-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--5422F2DED3234598A429221281F8B61D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--5422F2DED3234598A429221281F8B61D--></AD_FIELD>
+
 <!--55E47437B52847D4AC6193187048D1D1--><AD_FIELD>
 <!--55E47437B52847D4AC6193187048D1D1-->  <AD_FIELD_ID><![CDATA[55E47437B52847D4AC6193187048D1D1]]></AD_FIELD_ID>
 <!--55E47437B52847D4AC6193187048D1D1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2574,6 +2807,32 @@
 <!--6376408E4B3B4208825144CBD72F54CA-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--6376408E4B3B4208825144CBD72F54CA--></AD_FIELD>
 
+<!--639E468CE4AC4875BE1CB10AB7E094A9--><AD_FIELD>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_FIELD_ID><![CDATA[639E468CE4AC4875BE1CB10AB7E094A9]]></AD_FIELD_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <NAME><![CDATA[Document Type]]></NAME>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <DESCRIPTION><![CDATA[A value defining what sequence and process setup are used to handle this document.]]></DESCRIPTION>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <HELP><![CDATA[The Document Type determines document sequence and processing rules]]></HELP>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE06E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--639E468CE4AC4875BE1CB10AB7E094A9-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--639E468CE4AC4875BE1CB10AB7E094A9--></AD_FIELD>
+
 <!--642FBD2AB83147E395BF96708345108D--><AD_FIELD>
 <!--642FBD2AB83147E395BF96708345108D-->  <AD_FIELD_ID><![CDATA[642FBD2AB83147E395BF96708345108D]]></AD_FIELD_ID>
 <!--642FBD2AB83147E395BF96708345108D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2677,6 +2936,31 @@
 <!--64A645D93D704FA080658916E4AA11BA-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--64A645D93D704FA080658916E4AA11BA--></AD_FIELD>
 
+<!--65BCA534FAC848298C8F156505618CDF--><AD_FIELD>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_FIELD_ID><![CDATA[65BCA534FAC848298C8F156505618CDF]]></AD_FIELD_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--65BCA534FAC848298C8F156505618CDF-->  <NAME><![CDATA[Reconciliation]]></NAME>
+<!--65BCA534FAC848298C8F156505618CDF-->  <DESCRIPTION><![CDATA[Reconciliation events related to the financial account]]></DESCRIPTION>
+<!--65BCA534FAC848298C8F156505618CDF-->  <HELP><![CDATA[Reconciliation events related to the financial account]]></HELP>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_COLUMN_ID><![CDATA[8189F49FFED46E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--65BCA534FAC848298C8F156505618CDF-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--65BCA534FAC848298C8F156505618CDF-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--65BCA534FAC848298C8F156505618CDF-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--65BCA534FAC848298C8F156505618CDF-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--65BCA534FAC848298C8F156505618CDF-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--65BCA534FAC848298C8F156505618CDF-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--65BCA534FAC848298C8F156505618CDF--></AD_FIELD>
+
 <!--662B721002DF4D81B1EFFD9C6CBF8BBA--><AD_FIELD>
 <!--662B721002DF4D81B1EFFD9C6CBF8BBA-->  <AD_FIELD_ID><![CDATA[662B721002DF4D81B1EFFD9C6CBF8BBA]]></AD_FIELD_ID>
 <!--662B721002DF4D81B1EFFD9C6CBF8BBA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -4873,6 +5157,8 @@
 <!--82F2E8A160DB472CE040007F01005324-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
 <!--82F2E8A160DB472CE040007F01005324-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
 <!--82F2E8A160DB472CE040007F01005324-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--82F2E8A160DB472CE040007F01005324-->  <EM_OBUIAPP_COLSPAN><![CDATA[2]]></EM_OBUIAPP_COLSPAN>
+<!--82F2E8A160DB472CE040007F01005324-->  <EM_OBUIAPP_ROWSPAN><![CDATA[8]]></EM_OBUIAPP_ROWSPAN>
 <!--82F2E8A160DB472CE040007F01005324--></AD_FIELD>
 
 <!--82F2E8A160DC472CE040007F01005324--><AD_FIELD>
@@ -6309,6 +6595,86 @@
 <!--8C43882A0A404DA29F4C6DA95802CA1B-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--8C43882A0A404DA29F4C6DA95802CA1B--></AD_FIELD>
 
+<!--8C679A6AD6294811B5936EE59035CE36--><AD_FIELD>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_FIELD_ID><![CDATA[8C679A6AD6294811B5936EE59035CE36]]></AD_FIELD_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <NAME><![CDATA[Document Status]]></NAME>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <DESCRIPTION><![CDATA[The Document Status indicates the status of a document at this time.]]></DESCRIPTION>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <HELP><![CDATA[The Document Status indicates the status of a document at this time.  To change the status of a document, use one of the buttons usually located at the bottom of the document window.]]></HELP>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE56E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--8C679A6AD6294811B5936EE59035CE36-->  <ISSHOWNINSTATUSBAR><![CDATA[Y]]></ISSHOWNINSTATUSBAR>
+<!--8C679A6AD6294811B5936EE59035CE36--></AD_FIELD>
+
+<!--8C8A4128A9384B3087CCD1759C603A0B--><AD_FIELD>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_FIELD_ID><![CDATA[8C8A4128A9384B3087CCD1759C603A0B]]></AD_FIELD_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <NAME><![CDATA[Product]]></NAME>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_TAB_ID><![CDATA[FF8080812F213146012F2135BC25000E]]></AD_TAB_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_COLUMN_ID><![CDATA[BBA3DB68DBD844B29F1EEC9A04F112E8]]></AD_COLUMN_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <GRID_SEQNO><![CDATA[0]]></GRID_SEQNO>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--8C8A4128A9384B3087CCD1759C603A0B-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--8C8A4128A9384B3087CCD1759C603A0B--></AD_FIELD>
+
+<!--8DAAD5774E07425B8B4A46FA3E4A5294--><AD_FIELD>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_FIELD_ID><![CDATA[8DAAD5774E07425B8B4A46FA3E4A5294]]></AD_FIELD_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <NAME><![CDATA[Posted]]></NAME>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <DESCRIPTION><![CDATA[An accounting status button that indicates if the transaction has already been posted to the general ledger or not.]]></DESCRIPTION>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <HELP><![CDATA[An accounting status button that indicates if the transaction has already been posted to the general ledger or not. When doing the accounting manually this button can be used to post or unpost the transaction from the general ledger by hand.]]></HELP>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE86E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <DISPLAYLOGIC><![CDATA[@Processed@='Y']]></DISPLAYLOGIC>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--8DAAD5774E07425B8B4A46FA3E4A5294--></AD_FIELD>
+
 <!--91FB8879BCD348639C394391C064B4CC--><AD_FIELD>
 <!--91FB8879BCD348639C394391C064B4CC-->  <AD_FIELD_ID><![CDATA[91FB8879BCD348639C394391C064B4CC]]></AD_FIELD_ID>
 <!--91FB8879BCD348639C394391C064B4CC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6640,6 +7006,32 @@
 <!--99CFB4D5C88347ED81E848FA57F3A00D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--99CFB4D5C88347ED81E848FA57F3A00D--></AD_FIELD>
 
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896--><AD_FIELD>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_FIELD_ID><![CDATA[9AAFA2F30B80413A9A0B2CEE6B79D896]]></AD_FIELD_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <NAME><![CDATA[Ending Balance]]></NAME>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <DESCRIPTION><![CDATA[Ending  or closing balance]]></DESCRIPTION>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <HELP><![CDATA[The Ending Balance is the result of adjusting the Beginning Balance by any payments or disbursements.]]></HELP>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE36E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896-->  <ISSHOWNINSTATUSBAR><![CDATA[Y]]></ISSHOWNINSTATUSBAR>
+<!--9AAFA2F30B80413A9A0B2CEE6B79D896--></AD_FIELD>
+
 <!--9D54A8A2EF224C4EB9FA053023445422--><AD_FIELD>
 <!--9D54A8A2EF224C4EB9FA053023445422-->  <AD_FIELD_ID><![CDATA[9D54A8A2EF224C4EB9FA053023445422]]></AD_FIELD_ID>
 <!--9D54A8A2EF224C4EB9FA053023445422-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -6665,6 +7057,32 @@
 <!--9D54A8A2EF224C4EB9FA053023445422-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--9D54A8A2EF224C4EB9FA053023445422--></AD_FIELD>
 
+<!--9D9B74D414F5496089D0921EA579BFAE--><AD_FIELD>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_FIELD_ID><![CDATA[9D9B74D414F5496089D0921EA579BFAE]]></AD_FIELD_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <NAME><![CDATA[Document No.]]></NAME>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <DESCRIPTION><![CDATA[An often automatically generated identifier for all documents.]]></DESCRIPTION>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <HELP><![CDATA[The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>". If the document type of your document has no automatic document sequence defined, the field will be empty when creating a new document. This is for documents which usually have an external number (like vendor invoice).  If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Document Sequence" window with the name "DocumentNo_<TableName>", where TableName is the actual name of the table inside the database (e.g. C_Order).]]></HELP>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_COLUMN_ID><![CDATA[8189F49FFEDD6E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <DISPLAYLENGTH><![CDATA[30]]></DISPLAYLENGTH>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--9D9B74D414F5496089D0921EA579BFAE-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--9D9B74D414F5496089D0921EA579BFAE--></AD_FIELD>
+
 <!--9E41C5369B034F2DB102624F5277353B--><AD_FIELD>
 <!--9E41C5369B034F2DB102624F5277353B-->  <AD_FIELD_ID><![CDATA[9E41C5369B034F2DB102624F5277353B]]></AD_FIELD_ID>
 <!--9E41C5369B034F2DB102624F5277353B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8251,6 +8669,30 @@
 <!--B2F1D76CA33240B69A4012D5CA370476-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--B2F1D76CA33240B69A4012D5CA370476--></AD_FIELD>
 
+<!--B44441304C1349479806A081D0CF1DC7--><AD_FIELD>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_FIELD_ID><![CDATA[B44441304C1349479806A081D0CF1DC7]]></AD_FIELD_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B44441304C1349479806A081D0CF1DC7-->  <NAME><![CDATA[Reconciliation Details]]></NAME>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_COLUMN_ID><![CDATA[50301A7B213B468F9CFEBE289F6BA2B1]]></AD_COLUMN_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--B44441304C1349479806A081D0CF1DC7-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--B44441304C1349479806A081D0CF1DC7-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B44441304C1349479806A081D0CF1DC7-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--B44441304C1349479806A081D0CF1DC7-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B44441304C1349479806A081D0CF1DC7-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--B44441304C1349479806A081D0CF1DC7-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--B44441304C1349479806A081D0CF1DC7-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--B44441304C1349479806A081D0CF1DC7--></AD_FIELD>
+
 <!--B4BC626AFBAE4F17AA54997C2796B534--><AD_FIELD>
 <!--B4BC626AFBAE4F17AA54997C2796B534-->  <AD_FIELD_ID><![CDATA[B4BC626AFBAE4F17AA54997C2796B534]]></AD_FIELD_ID>
 <!--B4BC626AFBAE4F17AA54997C2796B534-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8326,6 +8768,34 @@
 <!--B4F0216426D344DFA60D793E6AB6AB0B-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--B4F0216426D344DFA60D793E6AB6AB0B--></AD_FIELD>
 
+<!--B70F752A7A85454CAE13D6525C2361EE--><AD_FIELD>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_FIELD_ID><![CDATA[B70F752A7A85454CAE13D6525C2361EE]]></AD_FIELD_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <NAME><![CDATA[Modify]]></NAME>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <DESCRIPTION><![CDATA[Process to modify transactions GL Item type once they have been created]]></DESCRIPTION>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <HELP><![CDATA[Process to modify transactions GL Item type once they have been created]]></HELP>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_TAB_ID><![CDATA[FF8080812F213146012F2135BC25000E]]></AD_TAB_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_COLUMN_ID><![CDATA[B44BDBCFCEC243179D78A333FA0497A5]]></AD_COLUMN_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <DISPLAYLOGIC><![CDATA[@C_GLITEM_ID@!'']]></DISPLAYLOGIC>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <GRID_SEQNO><![CDATA[0]]></GRID_SEQNO>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--B70F752A7A85454CAE13D6525C2361EE-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--B70F752A7A85454CAE13D6525C2361EE--></AD_FIELD>
+
 <!--B739AFFFB5CC4E1C847EB25ABE62A233--><AD_FIELD>
 <!--B739AFFFB5CC4E1C847EB25ABE62A233-->  <AD_FIELD_ID><![CDATA[B739AFFFB5CC4E1C847EB25ABE62A233]]></AD_FIELD_ID>
 <!--B739AFFFB5CC4E1C847EB25ABE62A233-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8476,6 +8946,32 @@
 <!--B9CC8B543C234CBEAE9F59735EB5412B-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--B9CC8B543C234CBEAE9F59735EB5412B--></AD_FIELD>
 
+<!--BA17490995D14DB9A51C81BEB1A793DC--><AD_FIELD>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_FIELD_ID><![CDATA[BA17490995D14DB9A51C81BEB1A793DC]]></AD_FIELD_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <NAME><![CDATA[Processed]]></NAME>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <DESCRIPTION><![CDATA[A confirmation that the associated documents or requests are processed.]]></DESCRIPTION>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <HELP><![CDATA[The Processed checkbox indicates that a document has been processed.]]></HELP>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE76E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--BA17490995D14DB9A51C81BEB1A793DC-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--BA17490995D14DB9A51C81BEB1A793DC--></AD_FIELD>
+
 <!--BA2C09836C0D4E9298038CD62CC01982--><AD_FIELD>
 <!--BA2C09836C0D4E9298038CD62CC01982-->  <AD_FIELD_ID><![CDATA[BA2C09836C0D4E9298038CD62CC01982]]></AD_FIELD_ID>
 <!--BA2C09836C0D4E9298038CD62CC01982-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8758,6 +9254,32 @@
 <!--C2323D9D1E62481B879289D373E65E96-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--C2323D9D1E62481B879289D373E65E96--></AD_FIELD>
 
+<!--C2639FEBB29C4CB4A363DE376E294FD6--><AD_FIELD>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_FIELD_ID><![CDATA[C2639FEBB29C4CB4A363DE376E294FD6]]></AD_FIELD_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <NAME><![CDATA[Reconcile]]></NAME>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <DESCRIPTION><![CDATA[Manages processing of reconciliation documents]]></DESCRIPTION>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_COLUMN_ID><![CDATA[B50241F11C4F404583CACB2A88CE875F]]></AD_COLUMN_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <DISPLAYLOGIC><![CDATA[@Processed@='Y']]></DISPLAYLOGIC>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--C2639FEBB29C4CB4A363DE376E294FD6-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--C2639FEBB29C4CB4A363DE376E294FD6--></AD_FIELD>
+
 <!--C732681993E641238FE56E1BCD304344--><AD_FIELD>
 <!--C732681993E641238FE56E1BCD304344-->  <AD_FIELD_ID><![CDATA[C732681993E641238FE56E1BCD304344]]></AD_FIELD_ID>
 <!--C732681993E641238FE56E1BCD304344-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -8860,6 +9382,33 @@
 <!--CAAEE55F40DE45D49E2DB8EC95A4AC46-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--CAAEE55F40DE45D49E2DB8EC95A4AC46--></AD_FIELD>
 
+<!--CB9B7A7C9AB845E299BA3385935C33B5--><AD_FIELD>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_FIELD_ID><![CDATA[CB9B7A7C9AB845E299BA3385935C33B5]]></AD_FIELD_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <NAME><![CDATA[Sales Region]]></NAME>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <DESCRIPTION><![CDATA[A defined section of the world where sales efforts will be focused.]]></DESCRIPTION>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <HELP><![CDATA[The Sales Region indicates a specific area of sales coverage.]]></HELP>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_TAB_ID><![CDATA[FF8080812F213146012F2135BC25000E]]></AD_TAB_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_COLUMN_ID><![CDATA[A13138E3D6E44C72A7F24B7AA9365B37]]></AD_COLUMN_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISREADONLY><![CDATA[Y]]></ISREADONLY>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <GRID_SEQNO><![CDATA[0]]></GRID_SEQNO>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--CB9B7A7C9AB845E299BA3385935C33B5-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--CB9B7A7C9AB845E299BA3385935C33B5--></AD_FIELD>
+
 <!--CCEF625BE5004940A3FC98E1E4EE8CAC--><AD_FIELD>
 <!--CCEF625BE5004940A3FC98E1E4EE8CAC-->  <AD_FIELD_ID><![CDATA[CCEF625BE5004940A3FC98E1E4EE8CAC]]></AD_FIELD_ID>
 <!--CCEF625BE5004940A3FC98E1E4EE8CAC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -9322,6 +9871,32 @@
 <!--DDEEC90E7F5045BA8ECB998CD2ED812C-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--DDEEC90E7F5045BA8ECB998CD2ED812C--></AD_FIELD>
 
+<!--DF346651DA33487AA70650D7EF3190BC--><AD_FIELD>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_FIELD_ID><![CDATA[DF346651DA33487AA70650D7EF3190BC]]></AD_FIELD_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <NAME><![CDATA[Ending Date]]></NAME>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <DESCRIPTION><![CDATA[A parameter stating the ending time range related for a specified request, query, etc.]]></DESCRIPTION>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <HELP><![CDATA[The Date To indicates the end date of a range (inclusive)]]></HELP>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE16E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <DISPLAYLENGTH><![CDATA[19]]></DISPLAYLENGTH>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--DF346651DA33487AA70650D7EF3190BC-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--DF346651DA33487AA70650D7EF3190BC--></AD_FIELD>
+
 <!--DF519D8AAD4E4FA88A5A72EFDB9AAEC7--><AD_FIELD>
 <!--DF519D8AAD4E4FA88A5A72EFDB9AAEC7-->  <AD_FIELD_ID><![CDATA[DF519D8AAD4E4FA88A5A72EFDB9AAEC7]]></AD_FIELD_ID>
 <!--DF519D8AAD4E4FA88A5A72EFDB9AAEC7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -9786,6 +10361,32 @@
 <!--F421D6B6FDB14F5189A0128FBE173EE6-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--F421D6B6FDB14F5189A0128FBE173EE6--></AD_FIELD>
 
+<!--F62469397EEC4E4F9725C7856EACADA8--><AD_FIELD>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_FIELD_ID><![CDATA[F62469397EEC4E4F9725C7856EACADA8]]></AD_FIELD_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <NAME><![CDATA[Transaction Date]]></NAME>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <DESCRIPTION><![CDATA[The date the transaction is carried out and registered in the cash journal.]]></DESCRIPTION>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <HELP><![CDATA[The Statement Date field defines the date of the statement being processed.]]></HELP>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE26E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <DISPLAYLENGTH><![CDATA[19]]></DISPLAYLENGTH>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--F62469397EEC4E4F9725C7856EACADA8-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--F62469397EEC4E4F9725C7856EACADA8--></AD_FIELD>
+
 <!--F6AE914A90D64517A8B8C9C3B41424EB--><AD_FIELD>
 <!--F6AE914A90D64517A8B8C9C3B41424EB-->  <AD_FIELD_ID><![CDATA[F6AE914A90D64517A8B8C9C3B41424EB]]></AD_FIELD_ID>
 <!--F6AE914A90D64517A8B8C9C3B41424EB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -9842,11 +10443,11 @@
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--F848820D63394EB6AAABFC6B66101BCD-->  <NAME><![CDATA[Invoice's Reference for Payment Description]]></NAME>
-<!--F848820D63394EB6AAABFC6B66101BCD-->  <DESCRIPTION><![CDATA[Invoice's Reference to be automatically included into the Payment Description]]></DESCRIPTION>
-<!--F848820D63394EB6AAABFC6B66101BCD-->  <HELP><![CDATA[Invoice's reference to be automatically included into the payment description. Possible values are:
-- Invoice document number (default)
-- Supplier reference, which is defined in the invoice's header]]></HELP>
+<!--F848820D63394EB6AAABFC6B66101BCD-->  <NAME><![CDATA[Purchase Invoice's Reference for Payment Description]]></NAME>
+<!--F848820D63394EB6AAABFC6B66101BCD-->  <DESCRIPTION><![CDATA[Purchase Invoice's Reference to be automatically included into the Payment Description.]]></DESCRIPTION>
+<!--F848820D63394EB6AAABFC6B66101BCD-->  <HELP><![CDATA[Purchase Invoice's reference to be automatically included into the payment description. Possible values are:
+- Invoice document number (default).
+- Supplier reference, which is defined in the invoice's header.]]></HELP>
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <AD_TAB_ID><![CDATA[170]]></AD_TAB_ID>
 <!--F848820D63394EB6AAABFC6B66101BCD-->  <AD_COLUMN_ID><![CDATA[18096D8809024E67A36E636EA0D9D0E7]]></AD_COLUMN_ID>
@@ -9940,6 +10541,32 @@
 <!--FBED2B2835ED4230B93D4792FBAB4CC3-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--FBED2B2835ED4230B93D4792FBAB4CC3--></AD_FIELD>
 
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7--><AD_FIELD>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_FIELD_ID><![CDATA[FCC1AD72BB8F44D8B7766EA3530E49D7]]></AD_FIELD_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <NAME><![CDATA[Process Now]]></NAME>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <DESCRIPTION><![CDATA[A request to process the respective document or task.]]></DESCRIPTION>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <HELP><![CDATA[When this field is set as 'Y' a process is being performed on this record.]]></HELP>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_COLUMN_ID><![CDATA[8189F49FFEE66E56E040007F01003E83]]></AD_COLUMN_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--FCC1AD72BB8F44D8B7766EA3530E49D7--></AD_FIELD>
+
 <!--FD46676E44ED4D129AEE94D54D92814F--><AD_FIELD>
 <!--FD46676E44ED4D129AEE94D54D92814F-->  <AD_FIELD_ID><![CDATA[FD46676E44ED4D129AEE94D54D92814F]]></AD_FIELD_ID>
 <!--FD46676E44ED4D129AEE94D54D92814F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -304,7 +304,7 @@
 <!--7918E1E75DF84F499AD21A51F53F9A9B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--7918E1E75DF84F499AD21A51F53F9A9B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--7918E1E75DF84F499AD21A51F53F9A9B-->  <VALUE><![CDATA[APRM_NoBankFileAvailable]]></VALUE>
-<!--7918E1E75DF84F499AD21A51F53F9A9B-->  <MSGTEXT><![CDATA[No file import extension installed]]></MSGTEXT>
+<!--7918E1E75DF84F499AD21A51F53F9A9B-->  <MSGTEXT><![CDATA[No file import extension active]]></MSGTEXT>
 <!--7918E1E75DF84F499AD21A51F53F9A9B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
 <!--7918E1E75DF84F499AD21A51F53F9A9B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--7918E1E75DF84F499AD21A51F53F9A9B--></AD_MESSAGE>
@@ -386,6 +386,17 @@
 <!--8A4E2745545245ED81BFBC5324648833-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--8A4E2745545245ED81BFBC5324648833--></AD_MESSAGE>
 
+<!--92EC1935A8B947BA83EF82DBD169CA8B--><AD_MESSAGE>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <AD_MESSAGE_ID><![CDATA[92EC1935A8B947BA83EF82DBD169CA8B]]></AD_MESSAGE_ID>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <VALUE><![CDATA[APRM_CreditCurrency]]></VALUE>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <MSGTEXT><![CDATA[For credit generation and/or credit consumption payment currency should map business partner currency: %s]]></MSGTEXT>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--92EC1935A8B947BA83EF82DBD169CA8B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--92EC1935A8B947BA83EF82DBD169CA8B--></AD_MESSAGE>
+
 <!--9350C57F0C194634B4FC83028AC4D31D--><AD_MESSAGE>
 <!--9350C57F0C194634B4FC83028AC4D31D-->  <AD_MESSAGE_ID><![CDATA[9350C57F0C194634B4FC83028AC4D31D]]></AD_MESSAGE_ID>
 <!--9350C57F0C194634B4FC83028AC4D31D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -551,6 +562,17 @@
 <!--B6F8970C7470421FA5375E61D71A8E73-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--B6F8970C7470421FA5375E61D71A8E73--></AD_MESSAGE>
 
+<!--B9F31E06A19240DE87666454DB8A16E1--><AD_MESSAGE>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <AD_MESSAGE_ID><![CDATA[B9F31E06A19240DE87666454DB8A16E1]]></AD_MESSAGE_ID>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <VALUE><![CDATA[APRM_CreditWithoutBPartner]]></VALUE>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <MSGTEXT><![CDATA[Payments without a business partner can not generate/use credit]]></MSGTEXT>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--B9F31E06A19240DE87666454DB8A16E1-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B9F31E06A19240DE87666454DB8A16E1--></AD_MESSAGE>
+
 <!--BBB2F06979BA4A84BC67B134F9155862--><AD_MESSAGE>
 <!--BBB2F06979BA4A84BC67B134F9155862-->  <AD_MESSAGE_ID><![CDATA[BBB2F06979BA4A84BC67B134F9155862]]></AD_MESSAGE_ID>
 <!--BBB2F06979BA4A84BC67B134F9155862-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -645,7 +667,7 @@
 <!--E92C3899BD924A5C991A39B2CDA74D29-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--E92C3899BD924A5C991A39B2CDA74D29-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E92C3899BD924A5C991A39B2CDA74D29-->  <VALUE><![CDATA[APRM_NoBankFileAvailableInfo]]></VALUE>
-<!--E92C3899BD924A5C991A39B2CDA74D29-->  <MSGTEXT><![CDATA[System administrators can install extensions via Module Management > Add Modules]]></MSGTEXT>
+<!--E92C3899BD924A5C991A39B2CDA74D29-->  <MSGTEXT><![CDATA[In order to import bank statements, you need to have a file import module installed and its dataset applied. System administrators can install modules via Module Management > Add Modules.]]></MSGTEXT>
 <!--E92C3899BD924A5C991A39B2CDA74D29-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
 <!--E92C3899BD924A5C991A39B2CDA74D29-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--E92C3899BD924A5C991A39B2CDA74D29--></AD_MESSAGE>
@@ -683,6 +705,17 @@
 <!--F302E4040E1B45318BA270BDFA37179C-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--F302E4040E1B45318BA270BDFA37179C--></AD_MESSAGE>
 
+<!--F381A9CA5B51447286C117C68394C6BA--><AD_MESSAGE>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <AD_MESSAGE_ID><![CDATA[F381A9CA5B51447286C117C68394C6BA]]></AD_MESSAGE_ID>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <VALUE><![CDATA[APRM_CreditNoPricelistCurrency]]></VALUE>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <MSGTEXT><![CDATA[No currency in business partner's price list]]></MSGTEXT>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--F381A9CA5B51447286C117C68394C6BA-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--F381A9CA5B51447286C117C68394C6BA--></AD_MESSAGE>
+
 <!--F579E42461DC472AA4F21B14DD3D680B--><AD_MESSAGE>
 <!--F579E42461DC472AA4F21B14DD3D680B-->  <AD_MESSAGE_ID><![CDATA[F579E42461DC472AA4F21B14DD3D680B]]></AD_MESSAGE_ID>
 <!--F579E42461DC472AA4F21B14DD3D680B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -782,6 +815,50 @@
 <!--FF80808130D696DC0130D6B52ACB005E-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--FF80808130D696DC0130D6B52ACB005E--></AD_MESSAGE>
 
+<!--FF808081332719060133272C1D46003B--><AD_MESSAGE>
+<!--FF808081332719060133272C1D46003B-->  <AD_MESSAGE_ID><![CDATA[FF808081332719060133272C1D46003B]]></AD_MESSAGE_ID>
+<!--FF808081332719060133272C1D46003B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133272C1D46003B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133272C1D46003B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133272C1D46003B-->  <VALUE><![CDATA[APRM_Reconciled]]></VALUE>
+<!--FF808081332719060133272C1D46003B-->  <MSGTEXT><![CDATA[Reconciled]]></MSGTEXT>
+<!--FF808081332719060133272C1D46003B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--FF808081332719060133272C1D46003B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133272C1D46003B--></AD_MESSAGE>
+
+<!--FF808081332719060133272C92070040--><AD_MESSAGE>
+<!--FF808081332719060133272C92070040-->  <AD_MESSAGE_ID><![CDATA[FF808081332719060133272C92070040]]></AD_MESSAGE_ID>
+<!--FF808081332719060133272C92070040-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133272C92070040-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133272C92070040-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133272C92070040-->  <VALUE><![CDATA[APRM_OutstandingPayments]]></VALUE>
+<!--FF808081332719060133272C92070040-->  <MSGTEXT><![CDATA[Outstanding Payments]]></MSGTEXT>
+<!--FF808081332719060133272C92070040-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--FF808081332719060133272C92070040-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133272C92070040--></AD_MESSAGE>
+
+<!--FF808081332719060133272D1BE20044--><AD_MESSAGE>
+<!--FF808081332719060133272D1BE20044-->  <AD_MESSAGE_ID><![CDATA[FF808081332719060133272D1BE20044]]></AD_MESSAGE_ID>
+<!--FF808081332719060133272D1BE20044-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133272D1BE20044-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133272D1BE20044-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133272D1BE20044-->  <VALUE><![CDATA[APRM_OutstandingDeposits]]></VALUE>
+<!--FF808081332719060133272D1BE20044-->  <MSGTEXT><![CDATA[Outstanding Deposits]]></MSGTEXT>
+<!--FF808081332719060133272D1BE20044-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--FF808081332719060133272D1BE20044-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133272D1BE20044--></AD_MESSAGE>
+
+<!--FF808081332719060133272D70CE0048--><AD_MESSAGE>
+<!--FF808081332719060133272D70CE0048-->  <AD_MESSAGE_ID><![CDATA[FF808081332719060133272D70CE0048]]></AD_MESSAGE_ID>
+<!--FF808081332719060133272D70CE0048-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133272D70CE0048-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133272D70CE0048-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133272D70CE0048-->  <VALUE><![CDATA[APRM_UnReconciled]]></VALUE>
+<!--FF808081332719060133272D70CE0048-->  <MSGTEXT><![CDATA[Un-Reconciled]]></MSGTEXT>
+<!--FF808081332719060133272D70CE0048-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--FF808081332719060133272D70CE0048-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133272D70CE0048--></AD_MESSAGE>
+
 <!--FF80818130B6856A0130B6956220002D--><AD_MESSAGE>
 <!--FF80818130B6856A0130B6956220002D-->  <AD_MESSAGE_ID><![CDATA[FF80818130B6856A0130B6956220002D]]></AD_MESSAGE_ID>
 <!--FF80818130B6856A0130B6956220002D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -108,6 +108,18 @@
 <!--A7A562CD91CB42D9977E12B098CBC9EC-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--A7A562CD91CB42D9977E12B098CBC9EC--></AD_MODEL_OBJECT>
 
+<!--AA1C0D6D318943808A75A24F5781AEBF--><AD_MODEL_OBJECT>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <AD_MODEL_OBJECT_ID><![CDATA[AA1C0D6D318943808A75A24F5781AEBF]]></AD_MODEL_OBJECT_ID>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <ACTION><![CDATA[P]]></ACTION>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <CLASSNAME><![CDATA[org.openbravo.advpaymentmngt.process.FIN_TransactionModify]]></CLASSNAME>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--AA1C0D6D318943808A75A24F5781AEBF-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
+<!--AA1C0D6D318943808A75A24F5781AEBF--></AD_MODEL_OBJECT>
+
 <!--B18447439CAB419395BDA44287722832--><AD_MODEL_OBJECT>
 <!--B18447439CAB419395BDA44287722832-->  <AD_MODEL_OBJECT_ID><![CDATA[B18447439CAB419395BDA44287722832]]></AD_MODEL_OBJECT_ID>
 <!--B18447439CAB419395BDA44287722832-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -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.13664]]></VERSION>
+<!--A918E3331C404B889D69AA9BFAFB23AC-->  <VERSION><![CDATA[3.0.14182]]></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	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -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.13664]]></STARTVERSION>
+<!--89326AE95DAD449D85DFAB2C5B1C6683-->  <STARTVERSION><![CDATA[2.1.14182]]></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.13664]]></STARTVERSION>
+<!--B97FC854C6DD41E692161585645A900F-->  <STARTVERSION><![CDATA[3.0.14182]]></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	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -19,6 +19,26 @@
 <!--12016E2EDE0245B5A36B84CBA144DBDF-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
 <!--12016E2EDE0245B5A36B84CBA144DBDF--></AD_PROCESS>
 
+<!--15C8708DFC464C2D91286E59624FDD18--><AD_PROCESS>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <VALUE><![CDATA[APRM_TransactionModify]]></VALUE>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <NAME><![CDATA[Modify]]></NAME>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <DESCRIPTION><![CDATA[Process to modify transactions GL Item type once they have been created]]></DESCRIPTION>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <HELP><![CDATA[Process to modify transactions GL Item type once they have been created]]></HELP>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISREPORT><![CDATA[N]]></ISREPORT>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISJASPER><![CDATA[N]]></ISJASPER>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <ISEXTERNALSERVICE><![CDATA[N]]></ISEXTERNALSERVICE>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--15C8708DFC464C2D91286E59624FDD18-->  <UIPATTERN><![CDATA[S]]></UIPATTERN>
+<!--15C8708DFC464C2D91286E59624FDD18--></AD_PROCESS>
+
 <!--2EED9BC16DB34D2B80BA40A21564BECF--><AD_PROCESS>
 <!--2EED9BC16DB34D2B80BA40A21564BECF-->  <AD_PROCESS_ID><![CDATA[2EED9BC16DB34D2B80BA40A21564BECF]]></AD_PROCESS_ID>
 <!--2EED9BC16DB34D2B80BA40A21564BECF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -1,5 +1,68 @@
 <?xml version='1.0' encoding='UTF-8'?>
 <data>
+<!--1913962D2952412B84B8CDD3BC17026F--><AD_PROCESS_PARA>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_PROCESS_PARA_ID><![CDATA[1913962D2952412B84B8CDD3BC17026F]]></AD_PROCESS_PARA_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <NAME><![CDATA[Product]]></NAME>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF808181312DA8D801312DDDAA750008]]></AD_REFERENCE_VALUE_ID>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <COLUMNNAME><![CDATA[M_Product_ID]]></COLUMNNAME>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <DEFAULTVALUE><![CDATA[@M_Product_ID@]]></DEFAULTVALUE>
+<!--1913962D2952412B84B8CDD3BC17026F-->  <AD_ELEMENT_ID><![CDATA[454]]></AD_ELEMENT_ID>
+<!--1913962D2952412B84B8CDD3BC17026F--></AD_PROCESS_PARA>
+
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5--><AD_PROCESS_PARA>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_PROCESS_PARA_ID><![CDATA[4F5EE1017087464EAD95F3CCA4C5AFA5]]></AD_PROCESS_PARA_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <NAME><![CDATA[Project]]></NAME>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <DESCRIPTION><![CDATA[Identifier of a project defined within the Project & Service Management module.]]></DESCRIPTION>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <HELP><![CDATA[Identifier of a project defined within the Project & Service Management module.]]></HELP>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF808181312D569C01312D8FA681005A]]></AD_REFERENCE_VALUE_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <COLUMNNAME><![CDATA[C_Project_ID]]></COLUMNNAME>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <DEFAULTVALUE><![CDATA[@C_Project_ID@]]></DEFAULTVALUE>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5-->  <AD_ELEMENT_ID><![CDATA[208]]></AD_ELEMENT_ID>
+<!--4F5EE1017087464EAD95F3CCA4C5AFA5--></AD_PROCESS_PARA>
+
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8--><AD_PROCESS_PARA>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_PROCESS_PARA_ID><![CDATA[6EEE4A4DB1BA476BA7929EC7FCF285F8]]></AD_PROCESS_PARA_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <NAME><![CDATA[Business Partner]]></NAME>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <DESCRIPTION><![CDATA[Anyone who takes part in daily business operations by acting as a customer, employee, etc.]]></DESCRIPTION>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <HELP><![CDATA[A Business Partner is anyone with whom you transact.  This can include a customer, vendor, employee or any combination of these.]]></HELP>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_REFERENCE_VALUE_ID><![CDATA[56DEFF37A33F46D1AC918C97C4447EAF]]></AD_REFERENCE_VALUE_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <COLUMNNAME><![CDATA[C_BPartner_ID]]></COLUMNNAME>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <DEFAULTVALUE><![CDATA[@C_Bpartner_ID@]]></DEFAULTVALUE>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8-->  <AD_ELEMENT_ID><![CDATA[187]]></AD_ELEMENT_ID>
+<!--6EEE4A4DB1BA476BA7929EC7FCF285F8--></AD_PROCESS_PARA>
+
 <!--800BEB6BDA99409194CADF23988D7B6D--><AD_PROCESS_PARA>
 <!--800BEB6BDA99409194CADF23988D7B6D-->  <AD_PROCESS_PARA_ID><![CDATA[800BEB6BDA99409194CADF23988D7B6D]]></AD_PROCESS_PARA_ID>
 <!--800BEB6BDA99409194CADF23988D7B6D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -43,6 +106,90 @@
 <!--8A8E1C0D38F144D797698E48F464F97B-->  <AD_ELEMENT_ID><![CDATA[152]]></AD_ELEMENT_ID>
 <!--8A8E1C0D38F144D797698E48F464F97B--></AD_PROCESS_PARA>
 
+<!--8BEBA07E78124B2B92B764D9B452B209--><AD_PROCESS_PARA>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_PROCESS_PARA_ID><![CDATA[8BEBA07E78124B2B92B764D9B452B209]]></AD_PROCESS_PARA_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <NAME><![CDATA[G/L Item]]></NAME>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <DESCRIPTION><![CDATA[An alias for the Account Combination which can be commonly used in daily operations.]]></DESCRIPTION>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <HELP><![CDATA[General ledger item.]]></HELP>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_REFERENCE_VALUE_ID><![CDATA[1A6C5E0A5868417786ECCF3C02B17D65]]></AD_REFERENCE_VALUE_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <COLUMNNAME><![CDATA[C_GLItem_ID]]></COLUMNNAME>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <DEFAULTVALUE><![CDATA[@C_GLItem_ID@]]></DEFAULTVALUE>
+<!--8BEBA07E78124B2B92B764D9B452B209-->  <AD_ELEMENT_ID><![CDATA[800080]]></AD_ELEMENT_ID>
+<!--8BEBA07E78124B2B92B764D9B452B209--></AD_PROCESS_PARA>
+
+<!--9728F9CADE45497E9F583A76B7DE3BE6--><AD_PROCESS_PARA>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_PROCESS_PARA_ID><![CDATA[9728F9CADE45497E9F583A76B7DE3BE6]]></AD_PROCESS_PARA_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <NAME><![CDATA[Sales Campaign]]></NAME>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <DESCRIPTION><![CDATA[An advertising effort aimed at increasing sales.]]></DESCRIPTION>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <HELP><![CDATA[The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.]]></HELP>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF808181312D569C01312D8C837E003C]]></AD_REFERENCE_VALUE_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <COLUMNNAME><![CDATA[C_Campaign_ID]]></COLUMNNAME>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <DEFAULTVALUE><![CDATA[@C_Campaign_ID@]]></DEFAULTVALUE>
+<!--9728F9CADE45497E9F583A76B7DE3BE6-->  <AD_ELEMENT_ID><![CDATA[550]]></AD_ELEMENT_ID>
+<!--9728F9CADE45497E9F583A76B7DE3BE6--></AD_PROCESS_PARA>
+
+<!--A7B47A5637A74910ADC70CD66E6C6A29--><AD_PROCESS_PARA>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_PROCESS_PARA_ID><![CDATA[A7B47A5637A74910ADC70CD66E6C6A29]]></AD_PROCESS_PARA_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <NAME><![CDATA[Sales Region]]></NAME>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <DESCRIPTION><![CDATA[A defined section of the world where sales efforts will be focused.]]></DESCRIPTION>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <HELP><![CDATA[The Sales Region indicates a specific area of sales coverage.]]></HELP>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF808181312D569C01312D8E60800051]]></AD_REFERENCE_VALUE_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <COLUMNNAME><![CDATA[C_SalesRegion_ID]]></COLUMNNAME>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <DEFAULTVALUE><![CDATA[@C_Salesregion_ID@]]></DEFAULTVALUE>
+<!--A7B47A5637A74910ADC70CD66E6C6A29-->  <AD_ELEMENT_ID><![CDATA[210]]></AD_ELEMENT_ID>
+<!--A7B47A5637A74910ADC70CD66E6C6A29--></AD_PROCESS_PARA>
+
+<!--E2EB0EFA3CE741C1848590D270CEBE2B--><AD_PROCESS_PARA>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_PROCESS_PARA_ID><![CDATA[E2EB0EFA3CE741C1848590D270CEBE2B]]></AD_PROCESS_PARA_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <NAME><![CDATA[Activity]]></NAME>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <DESCRIPTION><![CDATA[A distinct activity defined and used in activity based management.]]></DESCRIPTION>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <HELP><![CDATA[Activities indicate tasks that are performed and used to utilize Activity based Costing]]></HELP>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_PROCESS_ID><![CDATA[15C8708DFC464C2D91286E59624FDD18]]></AD_PROCESS_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_REFERENCE_VALUE_ID><![CDATA[FF808181312D569C01312D846CC40032]]></AD_REFERENCE_VALUE_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <COLUMNNAME><![CDATA[C_Activity_ID]]></COLUMNNAME>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <FIELDLENGTH><![CDATA[100]]></FIELDLENGTH>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <DEFAULTVALUE><![CDATA[@C_Activity_ID@]]></DEFAULTVALUE>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B-->  <AD_ELEMENT_ID><![CDATA[1005]]></AD_ELEMENT_ID>
+<!--E2EB0EFA3CE741C1848590D270CEBE2B--></AD_PROCESS_PARA>
+
 <!--FF8080812E2F8EAE012E2F98D9680030--><AD_PROCESS_PARA>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_PROCESS_PARA_ID><![CDATA[FF8080812E2F8EAE012E2F98D9680030]]></AD_PROCESS_PARA_ID>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -55,7 +202,7 @@
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <SEQNO><![CDATA[10]]></SEQNO>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_REFERENCE_VALUE_ID><![CDATA[36972531DA994BB38ECB91993058282F]]></AD_REFERENCE_VALUE_ID>
-<!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_VAL_RULE_ID><![CDATA[FF8080812E448A62012E44943A160017]]></AD_VAL_RULE_ID>
+<!--FF8080812E2F8EAE012E2F98D9680030-->  <AD_VAL_RULE_ID><![CDATA[FF808081332719060133271E5BB1001B]]></AD_VAL_RULE_ID>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <COLUMNNAME><![CDATA[action]]></COLUMNNAME>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--FF8080812E2F8EAE012E2F98D9680030-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REFERENCE.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REFERENCE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -134,6 +134,18 @@
 <!--FF8080812E443491012E443C053A001A-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--FF8080812E443491012E443C053A001A--></AD_REFERENCE>
 
+<!--FF80808133186ADD01331B465E32002D--><AD_REFERENCE>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_REFERENCE_ID><![CDATA[FF80808133186ADD01331B465E32002D]]></AD_REFERENCE_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B465E32002D-->  <NAME><![CDATA[Reconciliation Detail Widget]]></NAME>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
+<!--FF80808133186ADD01331B465E32002D-->  <PARENTREFERENCE_ID><![CDATA[FF8080813123BF670131241C2BB30012]]></PARENTREFERENCE_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--FF80808133186ADD01331B465E32002D--></AD_REFERENCE>
+
 <!--FF808181312414380131241C5A41001F--><AD_REFERENCE>
 <!--FF808181312414380131241C5A41001F-->  <AD_REFERENCE_ID><![CDATA[FF808181312414380131241C5A41001F]]></AD_REFERENCE_ID>
 <!--FF808181312414380131241C5A41001F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TAB.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TAB.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -176,8 +176,8 @@
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <AD_TAB_ID><![CDATA[C095D2CC39704DBE8B906B7CD7710968]]></AD_TAB_ID>
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--C095D2CC39704DBE8B906B7CD7710968-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--C095D2CC39704DBE8B906B7CD7710968-->  <NAME><![CDATA[Reconciliations]]></NAME>
+<!--C095D2CC39704DBE8B906B7CD7710968-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
+<!--C095D2CC39704DBE8B906B7CD7710968-->  <NAME><![CDATA[Reconciliations old]]></NAME>
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <AD_TABLE_ID><![CDATA[0DFF5BACFB964FDABAA5042C8809C813]]></AD_TABLE_ID>
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
 <!--C095D2CC39704DBE8B906B7CD7710968-->  <SEQNO><![CDATA[50]]></SEQNO>
@@ -368,4 +368,27 @@
 <!--FF80808130BB89090130BB9A3A2B0043-->  <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
 <!--FF80808130BB89090130BB9A3A2B0043--></AD_TAB>
 
+<!--FF8080813320657F0133209DE21B0042--><AD_TAB>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_TAB_ID><![CDATA[FF8080813320657F0133209DE21B0042]]></AD_TAB_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF8080813320657F0133209DE21B0042-->  <NAME><![CDATA[Reconciliations]]></NAME>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_TABLE_ID><![CDATA[B1B7075C46934F0A9FD4C4D0F1457B42]]></AD_TABLE_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_WINDOW_ID><![CDATA[94EAA455D2644E04AB25D93BE5157B6D]]></AD_WINDOW_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <SEQNO><![CDATA[55]]></SEQNO>
+<!--FF8080813320657F0133209DE21B0042-->  <TABLEVEL><![CDATA[1]]></TABLEVEL>
+<!--FF8080813320657F0133209DE21B0042-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--FF8080813320657F0133209DE21B0042-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--FF8080813320657F0133209DE21B0042-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--FF8080813320657F0133209DE21B0042-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--FF8080813320657F0133209DE21B0042-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--FF8080813320657F0133209DE21B0042-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--FF8080813320657F0133209DE21B0042-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--FF8080813320657F0133209DE21B0042-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--FF8080813320657F0133209DE21B0042-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF8080813320657F0133209DE21B0042-->  <UIPATTERN><![CDATA[SR]]></UIPATTERN>
+<!--FF8080813320657F0133209DE21B0042-->  <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
+<!--FF8080813320657F0133209DE21B0042--></AD_TAB>
+
 </data>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TABLE.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TABLE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -109,4 +109,24 @@
 <!--FF80808130BB89090130BB8E3D7E0012-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
 <!--FF80808130BB89090130BB8E3D7E0012--></AD_TABLE>
 
+<!--FF808081331848750133184B38D20009--><AD_TABLE>
+<!--FF808081331848750133184B38D20009-->  <AD_TABLE_ID><![CDATA[FF808081331848750133184B38D20009]]></AD_TABLE_ID>
+<!--FF808081331848750133184B38D20009-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081331848750133184B38D20009-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081331848750133184B38D20009-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081331848750133184B38D20009-->  <NAME><![CDATA[APRM_Rec_Detail_v]]></NAME>
+<!--FF808081331848750133184B38D20009-->  <TABLENAME><![CDATA[APRM_Rec_Detail_v]]></TABLENAME>
+<!--FF808081331848750133184B38D20009-->  <CLASSNAME><![CDATA[ReconciliationDetail]]></CLASSNAME>
+<!--FF808081331848750133184B38D20009-->  <ISVIEW><![CDATA[Y]]></ISVIEW>
+<!--FF808081331848750133184B38D20009-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--FF808081331848750133184B38D20009-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--FF808081331848750133184B38D20009-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
+<!--FF808081331848750133184B38D20009-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--FF808081331848750133184B38D20009-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--FF808081331848750133184B38D20009-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--FF808081331848750133184B38D20009-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--FF808081331848750133184B38D20009-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--FF808081331848750133184B38D20009-->  <AD_PACKAGE_ID><![CDATA[AC33B2262748414A816510545755435A]]></AD_PACKAGE_ID>
+<!--FF808081331848750133184B38D20009--></AD_TABLE>
+
 </data>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_VAL_RULE.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_VAL_RULE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -44,4 +44,15 @@
 <!--FF8080812E448A62012E44943A160017-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--FF8080812E448A62012E44943A160017--></AD_VAL_RULE>
 
+<!--FF808081332719060133271E5BB1001B--><AD_VAL_RULE>
+<!--FF808081332719060133271E5BB1001B-->  <AD_VAL_RULE_ID><![CDATA[FF808081332719060133271E5BB1001B]]></AD_VAL_RULE_ID>
+<!--FF808081332719060133271E5BB1001B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133271E5BB1001B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133271E5BB1001B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133271E5BB1001B-->  <NAME><![CDATA[APRM_Process Reconciliation valid actions New]]></NAME>
+<!--FF808081332719060133271E5BB1001B-->  <TYPE><![CDATA[S]]></TYPE>
+<!--FF808081332719060133271E5BB1001B-->  <CODE><![CDATA[((@Processed@ = 'N' AND AD_Ref_List.value='P') OR (@Processed@ = 'Y' AND AD_Ref_List.value='R'))]]></CODE>
+<!--FF808081332719060133271E5BB1001B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133271E5BB1001B--></AD_VAL_RULE>
+
 </data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBCQL_QUERY_COLUMN.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF80808133186ADD01331B407CE5001D--><OBCQL_QUERY_COLUMN>
+<!--FF80808133186ADD01331B407CE5001D-->  <OBCQL_QUERY_COLUMN_ID><![CDATA[FF80808133186ADD01331B407CE5001D]]></OBCQL_QUERY_COLUMN_ID>
+<!--FF80808133186ADD01331B407CE5001D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B407CE5001D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B407CE5001D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B407CE5001D-->  <OBCQL_WIDGET_QUERY_ID><![CDATA[FF80808133186ADD01331B3B733B0011]]></OBCQL_WIDGET_QUERY_ID>
+<!--FF80808133186ADD01331B407CE5001D-->  <DISPLAY_EXPRESSION><![CDATA[regType]]></DISPLAY_EXPRESSION>
+<!--FF80808133186ADD01331B407CE5001D-->  <NAME><![CDATA[Item Type]]></NAME>
+<!--FF80808133186ADD01331B407CE5001D-->  <WIDTH><![CDATA[40]]></WIDTH>
+<!--FF80808133186ADD01331B407CE5001D-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--FF80808133186ADD01331B407CE5001D-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--FF80808133186ADD01331B407CE5001D-->  <INCLUDE_IN><![CDATA[W]]></INCLUDE_IN>
+<!--FF80808133186ADD01331B407CE5001D-->  <HAS_LINK><![CDATA[N]]></HAS_LINK>
+<!--FF80808133186ADD01331B407CE5001D-->  <CAN_BE_FILTERED><![CDATA[N]]></CAN_BE_FILTERED>
+<!--FF80808133186ADD01331B407CE5001D--></OBCQL_QUERY_COLUMN>
+
+<!--FF80808133186ADD01331B41475B0022--><OBCQL_QUERY_COLUMN>
+<!--FF80808133186ADD01331B41475B0022-->  <OBCQL_QUERY_COLUMN_ID><![CDATA[FF80808133186ADD01331B41475B0022]]></OBCQL_QUERY_COLUMN_ID>
+<!--FF80808133186ADD01331B41475B0022-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B41475B0022-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B41475B0022-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B41475B0022-->  <OBCQL_WIDGET_QUERY_ID><![CDATA[FF80808133186ADD01331B3B733B0011]]></OBCQL_WIDGET_QUERY_ID>
+<!--FF80808133186ADD01331B41475B0022-->  <DISPLAY_EXPRESSION><![CDATA[itemNo]]></DISPLAY_EXPRESSION>
+<!--FF80808133186ADD01331B41475B0022-->  <NAME><![CDATA[Item No]]></NAME>
+<!--FF80808133186ADD01331B41475B0022-->  <WIDTH><![CDATA[30]]></WIDTH>
+<!--FF80808133186ADD01331B41475B0022-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--FF80808133186ADD01331B41475B0022-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--FF80808133186ADD01331B41475B0022-->  <INCLUDE_IN><![CDATA[W]]></INCLUDE_IN>
+<!--FF80808133186ADD01331B41475B0022-->  <HAS_LINK><![CDATA[N]]></HAS_LINK>
+<!--FF80808133186ADD01331B41475B0022-->  <CAN_BE_FILTERED><![CDATA[N]]></CAN_BE_FILTERED>
+<!--FF80808133186ADD01331B41475B0022--></OBCQL_QUERY_COLUMN>
+
+<!--FF80808133186ADD01331B41D7830027--><OBCQL_QUERY_COLUMN>
+<!--FF80808133186ADD01331B41D7830027-->  <OBCQL_QUERY_COLUMN_ID><![CDATA[FF80808133186ADD01331B41D7830027]]></OBCQL_QUERY_COLUMN_ID>
+<!--FF80808133186ADD01331B41D7830027-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B41D7830027-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B41D7830027-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B41D7830027-->  <OBCQL_WIDGET_QUERY_ID><![CDATA[FF80808133186ADD01331B3B733B0011]]></OBCQL_WIDGET_QUERY_ID>
+<!--FF80808133186ADD01331B41D7830027-->  <DISPLAY_EXPRESSION><![CDATA[itemAmt]]></DISPLAY_EXPRESSION>
+<!--FF80808133186ADD01331B41D7830027-->  <NAME><![CDATA[Item Amount]]></NAME>
+<!--FF80808133186ADD01331B41D7830027-->  <WIDTH><![CDATA[30]]></WIDTH>
+<!--FF80808133186ADD01331B41D7830027-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--FF80808133186ADD01331B41D7830027-->  <AD_REFERENCE_ID><![CDATA[12]]></AD_REFERENCE_ID>
+<!--FF80808133186ADD01331B41D7830027-->  <INCLUDE_IN><![CDATA[W]]></INCLUDE_IN>
+<!--FF80808133186ADD01331B41D7830027-->  <HAS_LINK><![CDATA[N]]></HAS_LINK>
+<!--FF80808133186ADD01331B41D7830027-->  <CAN_BE_FILTERED><![CDATA[N]]></CAN_BE_FILTERED>
+<!--FF80808133186ADD01331B41D7830027--></OBCQL_QUERY_COLUMN>
+
+</data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBCQL_WIDGET_QUERY.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF80808133186ADD01331B3B733B0011--><OBCQL_WIDGET_QUERY>
+<!--FF80808133186ADD01331B3B733B0011-->  <OBCQL_WIDGET_QUERY_ID><![CDATA[FF80808133186ADD01331B3B733B0011]]></OBCQL_WIDGET_QUERY_ID>
+<!--FF80808133186ADD01331B3B733B0011-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B3B733B0011-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B3B733B0011-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B3B733B0011-->  <OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></OBKMO_WIDGET_CLASS_ID>
+<!--FF80808133186ADD01331B3B733B0011-->  <HQL><![CDATA[select m.messageText as regType, 
+a.reconciledItems as itemNo , a.reconciledItemsAmount as itemAmt 
+from APRM_Rec_Detail_v as a, ADMessageTrl as m
+where  a.type = m.message.searchKey and a.reconciliation.id =  :reconciliationId and m.language.language = :language]]></HQL>
+<!--FF80808133186ADD01331B3B733B0011--></OBCQL_WIDGET_QUERY>
+
+</data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBKMO_WIDGET_CLASS.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF80808133186ADD01331B3A932C000D--><OBKMO_WIDGET_CLASS>
+<!--FF80808133186ADD01331B3A932C000D-->  <OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></OBKMO_WIDGET_CLASS_ID>
+<!--FF80808133186ADD01331B3A932C000D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B3A932C000D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B3A932C000D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B3A932C000D-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF80808133186ADD01331B3A932C000D-->  <TITLE><![CDATA[Reconciliation Details]]></TITLE>
+<!--FF80808133186ADD01331B3A932C000D-->  <HEIGHT><![CDATA[300]]></HEIGHT>
+<!--FF80808133186ADD01331B3A932C000D-->  <ALLOW_ANONYMOUS_ACCESS><![CDATA[Y]]></ALLOW_ANONYMOUS_ACCESS>
+<!--FF80808133186ADD01331B3A932C000D-->  <ISSUPERCLASS><![CDATA[N]]></ISSUPERCLASS>
+<!--FF80808133186ADD01331B3A932C000D-->  <WIDGET_SUPERCLASS_ID><![CDATA[2A32CF26F3F64FE39C7F94E9D82497D1]]></WIDGET_SUPERCLASS_ID>
+<!--FF80808133186ADD01331B3A932C000D-->  <CAN_MAXIMIZE><![CDATA[N]]></CAN_MAXIMIZE>
+<!--FF80808133186ADD01331B3A932C000D-->  <ACCESSLEVEL><![CDATA[1]]></ACCESSLEVEL>
+<!--FF80808133186ADD01331B3A932C000D--></OBKMO_WIDGET_CLASS>
+
+</data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBKMO_WIDGET_REFERENCE.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF80808133186ADD01331B465E32002D--><OBKMO_WIDGET_REFERENCE>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_REFERENCE_ID><![CDATA[FF80808133186ADD01331B465E32002D]]></AD_REFERENCE_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80808133186ADD01331B465E32002D-->  <OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></OBKMO_WIDGET_CLASS_ID>
+<!--FF80808133186ADD01331B465E32002D-->  <SHOWFIELDTITLE><![CDATA[Y]]></SHOWFIELDTITLE>
+<!--FF80808133186ADD01331B465E32002D--></OBKMO_WIDGET_REFERENCE>
+
+</data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,83 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--><OBUIAPP_PARAMETER>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <OBUIAPP_PARAMETER_ID><![CDATA[0A9E075CCC6E4D59AAC37E3AEF1FE269]]></OBUIAPP_PARAMETER_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <NAME><![CDATA[Show all data]]></NAME>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <COLUMNNAME><![CDATA[showAll]]></COLUMNNAME>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <DEFAULTVALUE><![CDATA[false]]></DEFAULTVALUE>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <AD_ELEMENT_ID><![CDATA[9A0C92898CEE7AC8E040007F01003160]]></AD_ELEMENT_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <ISFIXED><![CDATA[N]]></ISFIXED>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269-->  <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
+<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--></OBUIAPP_PARAMETER>
+
+<!--2653B134344A4BBEBA417F6CFEDE8D91--><OBUIAPP_PARAMETER>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <OBUIAPP_PARAMETER_ID><![CDATA[2653B134344A4BBEBA417F6CFEDE8D91]]></OBUIAPP_PARAMETER_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <NAME><![CDATA[Number of Rows]]></NAME>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <SEQNO><![CDATA[0]]></SEQNO>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <COLUMNNAME><![CDATA[RowsNumber]]></COLUMNNAME>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <DEFAULTVALUE><![CDATA[4]]></DEFAULTVALUE>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <AD_ELEMENT_ID><![CDATA[9A0C92898CF17AC8E040007F01003160]]></AD_ELEMENT_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <ISFIXED><![CDATA[N]]></ISFIXED>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--2653B134344A4BBEBA417F6CFEDE8D91-->  <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
+<!--2653B134344A4BBEBA417F6CFEDE8D91--></OBUIAPP_PARAMETER>
+
+<!--FF808081331B5EE901331B68C4540018--><OBUIAPP_PARAMETER>
+<!--FF808081331B5EE901331B68C4540018-->  <OBUIAPP_PARAMETER_ID><![CDATA[FF808081331B5EE901331B68C4540018]]></OBUIAPP_PARAMETER_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081331B5EE901331B68C4540018-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <NAME><![CDATA[reconciliationId]]></NAME>
+<!--FF808081331B5EE901331B68C4540018-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--FF808081331B5EE901331B68C4540018-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <COLUMNNAME><![CDATA[reconciliationId]]></COLUMNNAME>
+<!--FF808081331B5EE901331B68C4540018-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--FF808081331B5EE901331B68C4540018-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--FF808081331B5EE901331B68C4540018-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--FF808081331B5EE901331B68C4540018-->  <DEFAULTVALUE><![CDATA[${formValues.id}]]></DEFAULTVALUE>
+<!--FF808081331B5EE901331B68C4540018-->  <AD_ELEMENT_ID><![CDATA[720C4FC08FBD43419FF7EACABECA6AE3]]></AD_ELEMENT_ID>
+<!--FF808081331B5EE901331B68C4540018-->  <ISFIXED><![CDATA[N]]></ISFIXED>
+<!--FF808081331B5EE901331B68C4540018-->  <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--FF808081331B5EE901331B68C4540018-->  <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
+<!--FF808081331B5EE901331B68C4540018--></OBUIAPP_PARAMETER>
+
+<!--FF808081332719060133276EBC680065--><OBUIAPP_PARAMETER>
+<!--FF808081332719060133276EBC680065-->  <OBUIAPP_PARAMETER_ID><![CDATA[FF808081332719060133276EBC680065]]></OBUIAPP_PARAMETER_ID>
+<!--FF808081332719060133276EBC680065-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808081332719060133276EBC680065-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808081332719060133276EBC680065-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808081332719060133276EBC680065-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--FF808081332719060133276EBC680065-->  <NAME><![CDATA[language]]></NAME>
+<!--FF808081332719060133276EBC680065-->  <SEQNO><![CDATA[0]]></SEQNO>
+<!--FF808081332719060133276EBC680065-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--FF808081332719060133276EBC680065-->  <COLUMNNAME><![CDATA[language]]></COLUMNNAME>
+<!--FF808081332719060133276EBC680065-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--FF808081332719060133276EBC680065-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--FF808081332719060133276EBC680065-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--FF808081332719060133276EBC680065-->  <AD_ELEMENT_ID><![CDATA[77E12B7AAB9F45BF9D3263E5967A696A]]></AD_ELEMENT_ID>
+<!--FF808081332719060133276EBC680065-->  <ISFIXED><![CDATA[Y]]></ISFIXED>
+<!--FF808081332719060133276EBC680065-->  <FIXEDVALUE><![CDATA[OB.getContext().getLanguage().getLanguage()]]></FIXEDVALUE>
+<!--FF808081332719060133276EBC680065-->  <EVALUATEFIXEDVALUE><![CDATA[Y]]></EVALUATEFIXEDVALUE>
+<!--FF808081332719060133276EBC680065-->  <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
+<!--FF808081332719060133276EBC680065--></OBUIAPP_PARAMETER>
+
+</data>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml	Fri Nov 11 17:17:39 2011 +0100
@@ -129,7 +129,7 @@
 <!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <SORTNO><![CDATA[5]]></SORTNO>
 <!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
-<!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <DEFAULT_EXPRESSION><![CDATA[if (OB.isSalesTransaction() == true) { '' } else {'true'}]]></DEFAULT_EXPRESSION>
+<!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <DEFAULT_EXPRESSION><![CDATA[if (OB.isSalesTransaction() == false) { 'true' } else {''}]]></DEFAULT_EXPRESSION>
 <!--583F20A11FD34C65BEC1F15D5DBF70BA-->  <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
 <!--583F20A11FD34C65BEC1F15D5DBF70BA--></OBUISEL_SELECTOR_FIELD>
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments.java	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,100 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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.advpaymentmngt.modulescript;
+
+import java.math.BigDecimal;
+
+import javax.servlet.ServletException;
+
+import org.apache.log4j.Logger;
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.modulescript.ModuleScript;
+
+public class LinkCreditPayments extends ModuleScript {
+  private static final Logger log4j = Logger.getLogger(LinkCreditPayments.class);
+
+  @Override
+  public void execute() {
+    try {
+      ConnectionProvider cp = getConnectionProvider();
+
+      final LinkCreditPaymentsData[] bPartners = LinkCreditPaymentsData.selectBusinessPartners(cp);
+      for (int i = 0; i < bPartners.length; i++) {
+        linkCreditPayments(cp, bPartners[i].cBpartnerId, bPartners[i].name, "Y");
+        linkCreditPayments(cp, bPartners[i].cBpartnerId, bPartners[i].name, "N");
+      }
+    } catch (Exception e) {
+      handleError(e);
+    }
+
+  }
+
+  private void linkCreditPayments(ConnectionProvider cp, String cbPartnerId, String cbPartnerName,
+      String isReceipt) throws ServletException {
+    LinkCreditPaymentsData[] paymentsUsingCredit = LinkCreditPaymentsData
+        .selectPaymentsUsingCredit(cp, isReceipt, cbPartnerId);
+    LinkCreditPaymentsData[] creditPayments = LinkCreditPaymentsData
+        .selectPaymentsGeneratingCredit(cp, isReceipt, cbPartnerId);
+    if (paymentsUsingCredit.length > 0 && creditPayments.length > 0) {
+      log4j.info("Linking Credit Payments for business Partner: " + cbPartnerName);
+      linkCreditPayment(cp, paymentsUsingCredit, creditPayments);
+    }
+  }
+
+  private void linkCreditPayment(ConnectionProvider cp,
+      LinkCreditPaymentsData[] paymentsUsingCredit, LinkCreditPaymentsData[] creditPayments)
+      throws ServletException {
+    int j = 0;
+    BigDecimal availableCreditPayment = new BigDecimal(creditPayments[j].usedCredit);
+    for (int i = 0; i < paymentsUsingCredit.length; i++) {
+      BigDecimal consumedCredit = new BigDecimal(paymentsUsingCredit[i].usedCredit);
+      while (j < creditPayments.length && consumedCredit.compareTo(BigDecimal.ZERO) > 0) {
+        log4j.info("Payment Using Credit: " + paymentsUsingCredit[i].documentno
+            + ". Pending amount to distribute: " + consumedCredit);
+        if (availableCreditPayment.compareTo(BigDecimal.ZERO) == 0) {
+          availableCreditPayment = new BigDecimal(creditPayments[j].usedCredit);
+        }
+        if (availableCreditPayment.compareTo(consumedCredit) >= 0) {
+          log4j.info("linking with credit payment " + creditPayments[j].documentno + ", amount: "
+              + consumedCredit);
+          LinkCreditPaymentsData.insertUsedCreditSource(cp, paymentsUsingCredit[i].adClientId,
+              paymentsUsingCredit[i].adOrgId, paymentsUsingCredit[i].finPaymentId,
+              creditPayments[j].finPaymentId, consumedCredit.toString(),
+              creditPayments[j].cCurrencyId);
+          availableCreditPayment = availableCreditPayment.subtract(consumedCredit);
+          consumedCredit = BigDecimal.ZERO;
+          log4j.info("(available credit in the payment: " + availableCreditPayment + ") ");
+        } else {
+          log4j.info("linking with credit payment " + creditPayments[j].documentno + ", amount: "
+              + availableCreditPayment);
+          LinkCreditPaymentsData.insertUsedCreditSource(cp, paymentsUsingCredit[i].adClientId,
+              paymentsUsingCredit[i].adOrgId, paymentsUsingCredit[i].finPaymentId,
+              creditPayments[j].finPaymentId, availableCreditPayment.toString(),
+              creditPayments[j].cCurrencyId);
+          consumedCredit = consumedCredit.subtract(availableCreditPayment);
+          availableCreditPayment = BigDecimal.ZERO;
+          log4j.info("(credit payment has been fully used)");
+        }
+        if (availableCreditPayment.compareTo(BigDecimal.ZERO) == 0) {
+          j++;
+        }
+      }
+    }
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments_data.xsql	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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):  ______________________________________.
+ *************************************************************************
+-->
+<SqlClass name="LinkCreditPaymentsData" package="org.openbravo.advpaymentmngt.modulescript">
+  <SqlClassComment></SqlClassComment>
+  <SqlMethod name="selectPaymentsUsingCredit" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT FIN_PAYMENT_ID, USED_CREDIT, C_CURRENCY_ID, AD_CLIENT_ID, AD_ORG_ID, C_BPARTNER_ID, DOCUMENTNO, '' AS NAME
+        FROM FIN_PAYMENT P
+        WHERE NOT EXISTS (SELECT 1 
+                          FROM FIN_PAYMENT_CREDIT PC
+                          WHERE PC.FIN_PAYMENT_ID = P.FIN_PAYMENT_ID
+                          )       
+        AND P.GENERATED_CREDIT = 0 AND P.USED_CREDIT > 0
+        AND P.ISRECEIPT = ?
+        AND P.C_BPARTNER_ID = ?
+        ORDER BY P.PAYMENTDATE, P.DOCUMENTNO
+      ]]>
+    </Sql>
+    <Parameter name="isReceipt"/>
+    <Parameter name="cbPartnerId"/>
+  </SqlMethod>
+  <SqlMethod name="selectPaymentsGeneratingCredit" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT FIN_PAYMENT_ID, USED_CREDIT, C_CURRENCY_ID, DOCUMENTNO
+        FROM FIN_PAYMENT P
+        WHERE GENERATED_CREDIT > 0 AND USED_CREDIT > 0
+        AND ISRECEIPT = ?
+        AND C_BPARTNER_ID = ?
+        ORDER BY PAYMENTDATE, DOCUMENTNO
+      ]]>
+    </Sql>
+    <Parameter name="isReceipt"/>
+    <Parameter name="cbPartnerId"/>
+  </SqlMethod>
+  <SqlMethod name="insertUsedCreditSource" type="preparedStatement" return="rowcount">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        INSERT INTO fin_payment_credit(
+            fin_payment_credit_id, ad_client_id, ad_org_id, created, createdby, 
+            updated, updatedby, isactive, fin_payment_id, fin_payment_id_used, 
+            amount, c_currency_id)
+        VALUES (get_uuid(), ?, ?, now(), '100',
+                now(), '100', 'Y', ?, ?, 
+                TO_NUMBER( ? ), ?)
+        
+      ]]>
+    </Sql>
+    <Parameter name="clientId"/>
+    <Parameter name="orgId"/>
+    <Parameter name="paymentId"/>
+    <Parameter name="creditpaymentId"/>
+    <Parameter name="amount"/>
+    <Parameter name="currencyId"/>
+  </SqlMethod>
+  <SqlMethod name="selectBusinessPartners" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        SELECT C_BPARTNER_ID, NAME
+        FROM C_BPARTNER BP
+        WHERE EXISTS (SELECT 1
+                      FROM FIN_PAYMENT P
+                      WHERE P.C_BPARTNER_ID = BP.C_BPARTNER_ID)
+      ]]>
+    </Sql>
+  </SqlMethod>
+</SqlClass>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateReconciliationProcessButtonValue.java	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,43 @@
+/* 
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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.advpaymentmngt.modulescript;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+import java.util.UUID;
+import org.apache.log4j.Logger;
+
+import javax.servlet.ServletException;
+
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.modulescript.ModuleScript;
+
+public class UpdateReconciliationProcessButtonValue extends ModuleScript {
+
+  @Override
+  // Initialize value for Process button column
+  public void execute() {
+    try {
+      ConnectionProvider cp = getConnectionProvider();
+      UpdateReconciliationProcessButtonValueData.update(cp);
+    } catch (Exception e) {
+      handleError(e);
+    }
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdateReconciliationProcessButtonValue_data.xsql	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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):  ______________________________________.
+ *************************************************************************
+-->
+<SqlClass name="UpdateReconciliationProcessButtonValueData" package="org.openbravo.advpaymentmngt.modulescript">
+   <SqlClassComment></SqlClassComment>
+   <SqlMethod name="select" type="preparedStatement" return="multiple">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        select 1 as name from dual
+      ]]>
+    </Sql>
+  </SqlMethod>
+   <SqlMethod name="update" type="preparedStatement" return="rowcount">
+    <SqlMethodComment></SqlMethodComment>
+    <Sql>
+      <![CDATA[
+        UPDATE FIN_RECONCILIATION SET EM_APRM_PROCESS_REC = EM_APRM_PROCESS_RECONCILIATION
+        WHERE EM_APRM_PROCESS_REC IS NULL
+        AND EM_APRM_PROCESS_RECONCILIATION IS NOT NULL
+      ]]>
+    </Sql>
+  </SqlMethod>
+</SqlClass>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.java	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,288 @@
+//Sqlc generated V1.O00-1
+package org.openbravo.advpaymentmngt.modulescript;
+
+import java.sql.*;
+
+import org.apache.log4j.Logger;
+
+import javax.servlet.ServletException;
+
+import org.openbravo.data.FieldProvider;
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.data.UtilSql;
+import java.util.*;
+
+class LinkCreditPaymentsData implements FieldProvider {
+static Logger log4j = Logger.getLogger(LinkCreditPaymentsData.class);
+  private String InitRecordNumber="0";
+  public String finPaymentId;
+  public String usedCredit;
+  public String cCurrencyId;
+  public String adClientId;
+  public String adOrgId;
+  public String cBpartnerId;
+  public String documentno;
+  public String name;
+
+  public String getInitRecordNumber() {
+    return InitRecordNumber;
+  }
+
+  public String getField(String fieldName) {
+    if (fieldName.equalsIgnoreCase("fin_payment_id") || fieldName.equals("finPaymentId"))
+      return finPaymentId;
+    else if (fieldName.equalsIgnoreCase("used_credit") || fieldName.equals("usedCredit"))
+      return usedCredit;
+    else if (fieldName.equalsIgnoreCase("c_currency_id") || fieldName.equals("cCurrencyId"))
+      return cCurrencyId;
+    else if (fieldName.equalsIgnoreCase("ad_client_id") || fieldName.equals("adClientId"))
+      return adClientId;
+    else if (fieldName.equalsIgnoreCase("ad_org_id") || fieldName.equals("adOrgId"))
+      return adOrgId;
+    else if (fieldName.equalsIgnoreCase("c_bpartner_id") || fieldName.equals("cBpartnerId"))
+      return cBpartnerId;
+    else if (fieldName.equalsIgnoreCase("documentno"))
+      return documentno;
+    else if (fieldName.equalsIgnoreCase("name"))
+      return name;
+   else {
+     log4j.debug("Field does not exist: " + fieldName);
+     return null;
+   }
+ }
+
+  public static LinkCreditPaymentsData[] selectPaymentsUsingCredit(ConnectionProvider connectionProvider, String isReceipt, String cbPartnerId)    throws ServletException {
+    return selectPaymentsUsingCredit(connectionProvider, isReceipt, cbPartnerId, 0, 0);
+  }
+
+  public static LinkCreditPaymentsData[] selectPaymentsUsingCredit(ConnectionProvider connectionProvider, String isReceipt, String cbPartnerId, int firstRegister, int numberRegisters)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        SELECT FIN_PAYMENT_ID, USED_CREDIT, C_CURRENCY_ID, AD_CLIENT_ID, AD_ORG_ID, C_BPARTNER_ID, DOCUMENTNO, '' AS NAME" +
+      "        FROM FIN_PAYMENT P" +
+      "        WHERE NOT EXISTS (SELECT 1 " +
+      "                          FROM FIN_PAYMENT_CREDIT PC" +
+      "                          WHERE PC.FIN_PAYMENT_ID = P.FIN_PAYMENT_ID" +
+      "                          )       " +
+      "        AND P.GENERATED_CREDIT = 0 AND P.USED_CREDIT > 0" +
+      "        AND P.ISRECEIPT = ?" +
+      "        AND P.C_BPARTNER_ID = ?" +
+      "        ORDER BY P.PAYMENTDATE, P.DOCUMENTNO";
+
+    ResultSet result;
+    Vector<java.lang.Object> vector = new Vector<java.lang.Object>(0);
+    PreparedStatement st = null;
+
+    int iParameter = 0;
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, isReceipt);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, cbPartnerId);
+
+      result = st.executeQuery();
+      long countRecord = 0;
+      long countRecordSkip = 1;
+      boolean continueResult = true;
+      while(countRecordSkip < firstRegister && continueResult) {
+        continueResult = result.next();
+        countRecordSkip++;
+      }
+      while(continueResult && result.next()) {
+        countRecord++;
+        LinkCreditPaymentsData objectLinkCreditPaymentsData = new LinkCreditPaymentsData();
+        objectLinkCreditPaymentsData.finPaymentId = UtilSql.getValue(result, "fin_payment_id");
+        objectLinkCreditPaymentsData.usedCredit = UtilSql.getValue(result, "used_credit");
+        objectLinkCreditPaymentsData.cCurrencyId = UtilSql.getValue(result, "c_currency_id");
+        objectLinkCreditPaymentsData.adClientId = UtilSql.getValue(result, "ad_client_id");
+        objectLinkCreditPaymentsData.adOrgId = UtilSql.getValue(result, "ad_org_id");
+        objectLinkCreditPaymentsData.cBpartnerId = UtilSql.getValue(result, "c_bpartner_id");
+        objectLinkCreditPaymentsData.documentno = UtilSql.getValue(result, "documentno");
+        objectLinkCreditPaymentsData.name = UtilSql.getValue(result, "name");
+        objectLinkCreditPaymentsData.InitRecordNumber = Integer.toString(firstRegister);
+        vector.addElement(objectLinkCreditPaymentsData);
+        if (countRecord >= numberRegisters && numberRegisters != 0) {
+          continueResult = false;
+        }
+      }
+      result.close();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    LinkCreditPaymentsData objectLinkCreditPaymentsData[] = new LinkCreditPaymentsData[vector.size()];
+    vector.copyInto(objectLinkCreditPaymentsData);
+    return(objectLinkCreditPaymentsData);
+  }
+
+  public static LinkCreditPaymentsData[] selectPaymentsGeneratingCredit(ConnectionProvider connectionProvider, String isReceipt, String cbPartnerId)    throws ServletException {
+    return selectPaymentsGeneratingCredit(connectionProvider, isReceipt, cbPartnerId, 0, 0);
+  }
+
+  public static LinkCreditPaymentsData[] selectPaymentsGeneratingCredit(ConnectionProvider connectionProvider, String isReceipt, String cbPartnerId, int firstRegister, int numberRegisters)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        SELECT FIN_PAYMENT_ID, USED_CREDIT, C_CURRENCY_ID, DOCUMENTNO" +
+      "        FROM FIN_PAYMENT P" +
+      "        WHERE GENERATED_CREDIT > 0 AND USED_CREDIT > 0" +
+      "        AND ISRECEIPT = ?" +
+      "        AND C_BPARTNER_ID = ?" +
+      "        ORDER BY PAYMENTDATE, DOCUMENTNO";
+
+    ResultSet result;
+    Vector<java.lang.Object> vector = new Vector<java.lang.Object>(0);
+    PreparedStatement st = null;
+
+    int iParameter = 0;
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, isReceipt);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, cbPartnerId);
+
+      result = st.executeQuery();
+      long countRecord = 0;
+      long countRecordSkip = 1;
+      boolean continueResult = true;
+      while(countRecordSkip < firstRegister && continueResult) {
+        continueResult = result.next();
+        countRecordSkip++;
+      }
+      while(continueResult && result.next()) {
+        countRecord++;
+        LinkCreditPaymentsData objectLinkCreditPaymentsData = new LinkCreditPaymentsData();
+        objectLinkCreditPaymentsData.finPaymentId = UtilSql.getValue(result, "fin_payment_id");
+        objectLinkCreditPaymentsData.usedCredit = UtilSql.getValue(result, "used_credit");
+        objectLinkCreditPaymentsData.cCurrencyId = UtilSql.getValue(result, "c_currency_id");
+        objectLinkCreditPaymentsData.documentno = UtilSql.getValue(result, "documentno");
+        objectLinkCreditPaymentsData.InitRecordNumber = Integer.toString(firstRegister);
+        vector.addElement(objectLinkCreditPaymentsData);
+        if (countRecord >= numberRegisters && numberRegisters != 0) {
+          continueResult = false;
+        }
+      }
+      result.close();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    LinkCreditPaymentsData objectLinkCreditPaymentsData[] = new LinkCreditPaymentsData[vector.size()];
+    vector.copyInto(objectLinkCreditPaymentsData);
+    return(objectLinkCreditPaymentsData);
+  }
+
+  public static int insertUsedCreditSource(ConnectionProvider connectionProvider, String clientId, String orgId, String paymentId, String creditpaymentId, String amount, String currencyId)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        INSERT INTO fin_payment_credit(" +
+      "            fin_payment_credit_id, ad_client_id, ad_org_id, created, createdby, " +
+      "            updated, updatedby, isactive, fin_payment_id, fin_payment_id_used, " +
+      "            amount, c_currency_id)" +
+      "        VALUES (get_uuid(), ?, ?, now(), '100'," +
+      "                now(), '100', 'Y', ?, ?, " +
+      "                TO_NUMBER( ? ), ?)";
+
+    int updateCount = 0;
+    PreparedStatement st = null;
+
+    int iParameter = 0;
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, clientId);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, orgId);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, paymentId);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, creditpaymentId);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, amount);
+      iParameter++; UtilSql.setValue(st, iParameter, 12, null, currencyId);
+
+      updateCount = st.executeUpdate();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    return(updateCount);
+  }
+
+  public static LinkCreditPaymentsData[] selectBusinessPartners(ConnectionProvider connectionProvider)    throws ServletException {
+    return selectBusinessPartners(connectionProvider, 0, 0);
+  }
+
+  public static LinkCreditPaymentsData[] selectBusinessPartners(ConnectionProvider connectionProvider, int firstRegister, int numberRegisters)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        SELECT C_BPARTNER_ID, NAME" +
+      "        FROM C_BPARTNER BP" +
+      "        WHERE EXISTS (SELECT 1" +
+      "                      FROM FIN_PAYMENT P" +
+      "                      WHERE P.C_BPARTNER_ID = BP.C_BPARTNER_ID)";
+
+    ResultSet result;
+    Vector<java.lang.Object> vector = new Vector<java.lang.Object>(0);
+    PreparedStatement st = null;
+
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+
+      result = st.executeQuery();
+      long countRecord = 0;
+      long countRecordSkip = 1;
+      boolean continueResult = true;
+      while(countRecordSkip < firstRegister && continueResult) {
+        continueResult = result.next();
+        countRecordSkip++;
+      }
+      while(continueResult && result.next()) {
+        countRecord++;
+        LinkCreditPaymentsData objectLinkCreditPaymentsData = new LinkCreditPaymentsData();
+        objectLinkCreditPaymentsData.cBpartnerId = UtilSql.getValue(result, "c_bpartner_id");
+        objectLinkCreditPaymentsData.name = UtilSql.getValue(result, "name");
+        objectLinkCreditPaymentsData.InitRecordNumber = Integer.toString(firstRegister);
+        vector.addElement(objectLinkCreditPaymentsData);
+        if (countRecord >= numberRegisters && numberRegisters != 0) {
+          continueResult = false;
+        }
+      }
+      result.close();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    LinkCreditPaymentsData objectLinkCreditPaymentsData[] = new LinkCreditPaymentsData[vector.size()];
+    vector.copyInto(objectLinkCreditPaymentsData);
+    return(objectLinkCreditPaymentsData);
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdateReconciliationProcessButtonValueData.java	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,115 @@
+//Sqlc generated V1.O00-1
+package org.openbravo.advpaymentmngt.modulescript;
+
+import java.sql.*;
+
+import org.apache.log4j.Logger;
+
+import javax.servlet.ServletException;
+
+import org.openbravo.data.FieldProvider;
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.data.UtilSql;
+import java.util.*;
+
+class UpdateReconciliationProcessButtonValueData implements FieldProvider {
+static Logger log4j = Logger.getLogger(UpdateReconciliationProcessButtonValueData.class);
+  private String InitRecordNumber="0";
+  public String name;
+
+  public String getInitRecordNumber() {
+    return InitRecordNumber;
+  }
+
+  public String getField(String fieldName) {
+    if (fieldName.equalsIgnoreCase("name"))
+      return name;
+   else {
+     log4j.debug("Field does not exist: " + fieldName);
+     return null;
+   }
+ }
+
+  public static UpdateReconciliationProcessButtonValueData[] select(ConnectionProvider connectionProvider)    throws ServletException {
+    return select(connectionProvider, 0, 0);
+  }
+
+  public static UpdateReconciliationProcessButtonValueData[] select(ConnectionProvider connectionProvider, int firstRegister, int numberRegisters)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        select 1 as name from dual";
+
+    ResultSet result;
+    Vector<java.lang.Object> vector = new Vector<java.lang.Object>(0);
+    PreparedStatement st = null;
+
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+
+      result = st.executeQuery();
+      long countRecord = 0;
+      long countRecordSkip = 1;
+      boolean continueResult = true;
+      while(countRecordSkip < firstRegister && continueResult) {
+        continueResult = result.next();
+        countRecordSkip++;
+      }
+      while(continueResult && result.next()) {
+        countRecord++;
+        UpdateReconciliationProcessButtonValueData objectUpdateReconciliationProcessButtonValueData = new UpdateReconciliationProcessButtonValueData();
+        objectUpdateReconciliationProcessButtonValueData.name = UtilSql.getValue(result, "name");
+        objectUpdateReconciliationProcessButtonValueData.InitRecordNumber = Integer.toString(firstRegister);
+        vector.addElement(objectUpdateReconciliationProcessButtonValueData);
+        if (countRecord >= numberRegisters && numberRegisters != 0) {
+          continueResult = false;
+        }
+      }
+      result.close();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    UpdateReconciliationProcessButtonValueData objectUpdateReconciliationProcessButtonValueData[] = new UpdateReconciliationProcessButtonValueData[vector.size()];
+    vector.copyInto(objectUpdateReconciliationProcessButtonValueData);
+    return(objectUpdateReconciliationProcessButtonValueData);
+  }
+
+  public static int update(ConnectionProvider connectionProvider)    throws ServletException {
+    String strSql = "";
+    strSql = strSql + 
+      "        UPDATE FIN_RECONCILIATION SET EM_APRM_PROCESS_REC = EM_APRM_PROCESS_RECONCILIATION" +
+      "        WHERE EM_APRM_PROCESS_REC IS NULL" +
+      "        AND EM_APRM_PROCESS_RECONCILIATION IS NOT NULL";
+
+    int updateCount = 0;
+    PreparedStatement st = null;
+
+    try {
+    st = connectionProvider.getPreparedStatement(strSql);
+
+      updateCount = st.executeUpdate();
+    } catch(SQLException e){
+      log4j.error("SQL error in query: " + strSql + "Exception:"+ e);
+      throw new ServletException("@CODE=" + Integer.toString(e.getErrorCode()) + "@" + e.getMessage());
+    } catch(Exception ex){
+      log4j.error("Exception in query: " + strSql + "Exception:"+ ex);
+      throw new ServletException("@CODE=@" + ex.getMessage());
+    } finally {
+      try {
+        connectionProvider.releasePreparedStatement(st);
+      } catch(Exception ignore){
+        ignore.printStackTrace();
+      }
+    }
+    return(updateCount);
+  }
+}
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.java	Fri Nov 11 17:17:39 2011 +0100
@@ -36,6 +36,7 @@
 import org.hibernate.criterion.Restrictions;
 import org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao;
 import org.openbravo.advpaymentmngt.dao.TransactionsDao;
+import org.openbravo.advpaymentmngt.process.FIN_TransactionProcess;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
 import org.openbravo.base.exception.OBException;
 import org.openbravo.base.filter.IsIDFilter;
@@ -46,6 +47,7 @@
 import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.data.FieldProvider;
+import org.openbravo.database.ConnectionProvider;
 import org.openbravo.erpCommon.utility.DateTimeData;
 import org.openbravo.erpCommon.utility.FieldProviderFactory;
 import org.openbravo.erpCommon.utility.OBError;
@@ -62,6 +64,7 @@
 import org.openbravo.model.materialmgmt.cost.ABCActivity;
 import org.openbravo.model.project.Project;
 import org.openbravo.model.sales.SalesRegion;
+import org.openbravo.scheduling.ProcessBundle;
 import org.openbravo.xmlEngine.XmlDocument;
 
 public class AddTransaction extends HttpSecureAppServlet {
@@ -162,7 +165,10 @@
                   : "PWNC", depositAmt, paymentAmt, null, null, null,
               p.isReceipt() ? "BPD" : "BPW", FIN_Utility.getDate(strTransactionDate), p
                   .getCurrency(), p.getFinancialTransactionConvertRate(), p.getAmount());
-          TransactionsDao.process(finTrans);
+          OBError processTransactionError = processTransaction(vars, this, "P", finTrans);
+          if (processTransactionError != null && "Error".equals(processTransactionError.getType())) {
+            throw new OBException(processTransactionError.getMessage());
+          }
           if (!"".equals(strFinBankStatementLineId)) {
             matchBankStatementLine(vars, finTrans, strFinBankStatementLineId);
           }
@@ -211,8 +217,10 @@
             glItemDepositAmt, glItemPaymentAmt, project, campaign, activity, isReceipt ? "BPD"
                 : "BPW", FIN_Utility.getDate(strTransactionDate), null, null, null,
             businessPartner, product, salesRegion);
-
-        TransactionsDao.process(finTrans);
+        OBError processTransactionError = processTransaction(vars, this, "P", finTrans);
+        if (processTransactionError != null && "Error".equals(processTransactionError.getType())) {
+          throw new OBException(processTransactionError.getMessage());
+        }
         strMessage = "1 " + "@RowsInserted@";
         if (!"".equals(strFinBankStatementLineId)) {
           matchBankStatementLine(vars, finTrans, strFinBankStatementLineId);
@@ -232,8 +240,10 @@
             FIN_Utility.getDate(strTransactionDate), null, isReceipt ? "RDNC" : "PWNC",
             feeDepositAmt, feePaymentAmt, null, null, null, "BF",
             FIN_Utility.getDate(strTransactionDate), null, null, null);
-
-        TransactionsDao.process(finTrans);
+        OBError processTransactionError = processTransaction(vars, this, "P", finTrans);
+        if (processTransactionError != null && "Error".equals(processTransactionError.getType())) {
+          throw new OBException(processTransactionError.getMessage());
+        }
         strMessage = "1 " + "@RowsInserted@";
         if (!"".equals(strFinBankStatementLineId)) {
           matchBankStatementLine(vars, finTrans, strFinBankStatementLineId);
@@ -408,8 +418,10 @@
           finTrans.getAccount(), "N");
       bsline.setMatchingtype("AD");
       bsline.setFinancialAccountTransaction(finTrans);
-      if (finTrans.getFinPayment() != null)
+      if (finTrans.getFinPayment() != null) {
         bsline.setBusinessPartner(finTrans.getFinPayment().getBusinessPartner());
+        finTrans.getFinPayment().setStatus("RPPC");
+      }
       finTrans.setReconciliation(reconciliation);
       finTrans.setStatus("RPPC");
       OBDal.getInstance().save(bsline);
@@ -418,6 +430,33 @@
     }
   }
 
+  /**
+   * It calls the Transaction Process for the given transaction and action.
+   * 
+   * @param vars
+   *          VariablesSecureApp with the session data.
+   * @param conn
+   *          ConnectionProvider with the connection being used.
+   * @param strAction
+   *          String with the action of the process. {P, D, R}
+   * @param transaction
+   *          FIN_FinaccTransaction that needs to be processed.
+   * @return a OBError with the result message of the process.
+   * @throws Exception
+   */
+  private OBError processTransaction(VariablesSecureApp vars, ConnectionProvider conn,
+      String strAction, FIN_FinaccTransaction transaction) throws Exception {
+    ProcessBundle pb = new ProcessBundle("F68F2890E96D4D85A1DEF0274D105BCE", vars).init(conn);
+    HashMap<String, Object> parameters = new HashMap<String, Object>();
+    parameters.put("action", strAction);
+    parameters.put("Fin_FinAcc_Transaction_ID", transaction.getId());
+    pb.setParams(parameters);
+    OBError myMessage = null;
+    new FIN_TransactionProcess().execute(pb);
+    myMessage = (OBError) pb.getResult();
+    return myMessage;
+  }
+
   public String getServletInfo() {
     return "This servlet adds transaction for a financial account";
   }
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.java	Fri Nov 11 17:17:39 2011 +0100
@@ -38,6 +38,7 @@
 import org.openbravo.advpaymentmngt.dao.MatchTransactionDao;
 import org.openbravo.advpaymentmngt.dao.TransactionsDao;
 import org.openbravo.advpaymentmngt.process.FIN_AddPayment;
+import org.openbravo.advpaymentmngt.process.FIN_TransactionProcess;
 import org.openbravo.advpaymentmngt.utility.FIN_MatchedTransaction;
 import org.openbravo.advpaymentmngt.utility.FIN_MatchingTransaction;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
@@ -71,15 +72,16 @@
 import org.openbravo.model.financialmgmt.payment.FIN_ReconciliationLineTemp;
 import org.openbravo.model.financialmgmt.payment.FIN_ReconciliationLine_v;
 import org.openbravo.model.financialmgmt.payment.MatchingAlgorithm;
-import org.openbravo.service.db.DalConnectionProvider;
+import org.openbravo.scheduling.ProcessBundle;
 import org.openbravo.xmlEngine.XmlDocument;
 
 public class MatchTransaction extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
+  VariablesSecureApp vars = null;
 
   public void doPost(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException {
-    VariablesSecureApp vars = new VariablesSecureApp(request);
+    vars = new VariablesSecureApp(request);
 
     if (vars.commandIn("DEFAULT")) {
       String strOrgId = vars.getRequestGlobalVariable("inpadOrgId", "MatchTransaction.adOrgId");
@@ -129,10 +131,6 @@
           updateReconciliation(vars, reconciliation.getId(), strFinancialAccountId, strTabId, false);
         }
 
-        // Force manually created bank statements to be processed
-        forceProcessManualBankStatements(OBDal.getInstance().get(FIN_FinancialAccount.class,
-            strFinancialAccountId));
-
         printPage(response, vars, strOrgId, strWindowId, strTabId, strPaymentTypeFilter,
             strFinancialAccountId, reconciliation.getId(), strShowCleared, strHideDate);
       }
@@ -305,6 +303,7 @@
       reconciliation.setProcessed(process);
       reconciliation.setDocumentStatus(process ? "CO" : "DR");
       reconciliation.setAPRMProcessReconciliation(process ? "R" : "P");
+      reconciliation.setAprmProcessRec(process ? "R" : "P");
       OBDal.getInstance().save(reconciliation);
       OBDal.getInstance().flush();
     } catch (Exception ex) {
@@ -915,10 +914,9 @@
       OBDal.getInstance().save(payment);
       OBDal.getInstance().flush();
       try {
-        ConnectionProvider conn = new DalConnectionProvider();
         FIN_AddPayment.processPayment(new VariablesSecureApp(OBContext.getOBContext().getUser()
             .getId(), OBContext.getOBContext().getCurrentClient().getId(), OBContext.getOBContext()
-            .getCurrentOrganization().getId(), OBContext.getOBContext().getRole().getId()), conn,
+            .getCurrentOrganization().getId(), OBContext.getOBContext().getRole().getId()), this,
             "P", payment);
       } catch (Exception e) {
         return null;
@@ -928,7 +926,13 @@
       transaction.setCreatedByAlgorithm(true);
       OBDal.getInstance().save(transaction);
       OBDal.getInstance().flush();
-      TransactionsDao.process(transaction);
+      try {
+        processTransaction(this, "P", transaction);
+      } catch (Exception e) {
+        OBError newError = Utility.translateError(this, vars, vars.getLanguage(),
+            FIN_Utility.getExceptionMessage(e));
+        throw new OBException(newError.getMessage());
+      }
       return transaction;
     }
   }
@@ -1153,17 +1157,29 @@
     return (obc.list().size() > 0);
   }
 
-  private void forceProcessManualBankStatements(FIN_FinancialAccount account) {
-    OBCriteria<FIN_BankStatement> obc = OBDal.getInstance().createCriteria(FIN_BankStatement.class);
-    obc.add(Restrictions.eq(FIN_BankStatement.PROPERTY_ACCOUNT, account));
-    obc.add(Restrictions.eq(FIN_BankStatement.PROPERTY_PROCESSED, false));
-    obc.add(Restrictions.isNotEmpty(FIN_BankStatement.PROPERTY_FINBANKSTATEMENTLINELIST));
-    for (FIN_BankStatement bs : obc.list()) {
-      bs.setProcessed(true);
-      bs.setAPRMProcessBankStatement("R");
-      OBDal.getInstance().save(bs);
-      OBDal.getInstance().flush();
-    }
+  /**
+   * It calls the Transaction Process for the given transaction and action.
+   * 
+   * @param conn
+   *          ConnectionProvider with the connection being used.
+   * @param strAction
+   *          String with the action of the process. {P, D, R}
+   * @param transaction
+   *          FIN_FinaccTransaction that needs to be processed.
+   * @return a OBError with the result message of the process.
+   * @throws Exception
+   */
+  private OBError processTransaction(ConnectionProvider conn, String strAction,
+      FIN_FinaccTransaction transaction) throws Exception {
+    ProcessBundle pb = new ProcessBundle("F68F2890E96D4D85A1DEF0274D105BCE", vars).init(conn);
+    HashMap<String, Object> parameters = new HashMap<String, Object>();
+    parameters.put("action", strAction);
+    parameters.put("Fin_FinAcc_Transaction_ID", transaction.getId());
+    pb.setParams(parameters);
+    OBError myMessage = null;
+    new FIN_TransactionProcess().execute(pb);
+    myMessage = (OBError) pb.getResult();
+    return myMessage;
   }
 
   public String getServletInfo() {
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java	Fri Nov 11 17:17:39 2011 +0100
@@ -21,7 +21,9 @@
 import java.io.IOException;
 import java.io.PrintWriter;
 import java.math.BigDecimal;
+import java.text.SimpleDateFormat;
 import java.util.ArrayList;
+import java.util.Date;
 import java.util.HashMap;
 import java.util.List;
 
@@ -32,16 +34,19 @@
 import org.hibernate.criterion.Restrictions;
 import org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao;
 import org.openbravo.advpaymentmngt.process.FIN_AddPayment;
+import org.openbravo.advpaymentmngt.process.FIN_PaymentProcess;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
 import org.openbravo.base.filter.IsIDFilter;
 import org.openbravo.base.secureApp.HttpSecureAppServlet;
 import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.base.session.OBPropertiesProvider;
 import org.openbravo.dal.core.OBContext;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.dal.service.OBDao;
 import org.openbravo.data.FieldProvider;
 import org.openbravo.erpCommon.ad_actionButton.ActionButtonUtility;
 import org.openbravo.erpCommon.reference.PInstanceProcessData;
+import org.openbravo.erpCommon.utility.FieldProviderFactory;
 import org.openbravo.erpCommon.utility.OBError;
 import org.openbravo.erpCommon.utility.Utility;
 import org.openbravo.model.ad.process.ProcessInstance;
@@ -60,10 +65,13 @@
 public class ProcessInvoice extends HttpSecureAppServlet {
   private static final long serialVersionUID = 1L;
 
+  private List<FIN_Payment> creditPayments = new ArrayList<FIN_Payment>();
+  private final AdvPaymentMngtDao dao = new AdvPaymentMngtDao();
+
   public void doPost(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException {
     VariablesSecureApp vars = new VariablesSecureApp(request);
-    AdvPaymentMngtDao dao = new AdvPaymentMngtDao();
+
     if (vars.commandIn("DEFAULT")) {
       final String strWindowId = vars.getGlobalVariable("inpwindowId", "ProcessInvoice|Window_ID",
           IsIDFilter.instance);
@@ -105,6 +113,9 @@
       final String strC_Invoice_ID = vars.getGlobalVariable("inpKey",
           strWindowId + "|C_Invoice_ID", "");
       final String strdocaction = vars.getStringParameter("inpdocaction");
+      final String strOrg = vars.getGlobalVariable("inpadOrgId", "ProcessInvoice|Org_ID",
+          IsIDFilter.instance);
+
       OBError myMessage = null;
       try {
 
@@ -124,9 +135,27 @@
         final ProcessInstance pinstance = CallProcess.getInstance().call(process, strC_Invoice_ID,
             null);
 
-        // invoice = dao.getObject(Invoice.class, strC_Invoice_ID);
         OBDal.getInstance().getSession().refresh(invoice);
         invoice.setAPRMProcessinvoice(invoice.getDocumentAction());
+        // Remove invoice's used credit description
+        if ("RE".equals(strdocaction) && pinstance.getResult() != 0L) {
+          final String invDesc = invoice.getDescription();
+          if (invDesc != null) {
+            final String creditMsg = Utility.messageBD(this, "APRM_InvoiceDescUsedCredit",
+                vars.getLanguage());
+            if (creditMsg != null) {
+              final StringBuffer newDesc = new StringBuffer();
+              for (final String line : invDesc.split("\n")) {
+                if (!line.startsWith(creditMsg.substring(0, creditMsg.lastIndexOf("%s")))) {
+                  newDesc.append(line);
+                  if (!"".equals(line))
+                    newDesc.append("\n");
+                }
+              }
+              invoice.setDescription(newDesc.toString());
+            }
+          }
+        }
         OBDal.getInstance().save(invoice);
         OBDal.getInstance().flush();
         OBDal.getInstance().commitAndClose();
@@ -148,6 +177,32 @@
           OBContext.restorePreviousMode();
         }
 
+        if ("CO".equals(strdocaction)) {
+          // Need to refresh the invoice again from the db
+          invoice = dao.getObject(Invoice.class, strC_Invoice_ID);
+          final String invoiceDocCategory = invoice.getDocumentType().getDocumentCategory();
+          /*
+           * Print a grid popup in case of credit payment
+           */
+          // If the invoice grand total is ZERO or already has payments (due to
+          // payment method automation) or the business partner does not have a default financial
+          // account defined or invoice's payment method is not inside BP's financial
+          // account do not cancel credit
+          if (BigDecimal.ZERO.compareTo(invoice.getGrandTotalAmount()) != 0
+              && isPaymentMethodConfigured(invoice) && !isInvoiceWithPayments(invoice)
+              && ("API".equals(invoiceDocCategory) || "ARI".equals(invoiceDocCategory))) {
+            creditPayments = dao.getCustomerPaymentsWithCredit(invoice.getOrganization(),
+                invoice.getBusinessPartner(), invoice.isSalesTransaction());
+            if (creditPayments != null && !creditPayments.isEmpty()) {
+              printPageCreditPaymentGrid(response, vars, strC_Invoice_ID, strdocaction, strTabId,
+                  strC_Invoice_ID, strdocaction, strWindowId, strTabId, invoice.getInvoiceDate(),
+                  strOrg);
+            }
+          }
+
+          executePayments(response, vars, strWindowId, strTabId, strC_Invoice_ID, strOrg);
+        }
+
       } catch (ServletException ex) {
         myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
         if (!myMessage.isConnectionAvailable()) {
@@ -157,80 +212,125 @@
           vars.setMessage(strTabId, myMessage);
       }
 
+    } else if (vars.commandIn("GRIDLIST")) {
+      final String strWindowId = vars.getGlobalVariable("inpwindowId", "ProcessInvoice|Window_ID",
+          IsIDFilter.instance);
+      final String strC_Invoice_ID = vars.getGlobalVariable("inpKey",
+          strWindowId + "|C_Invoice_ID", "", IsIDFilter.instance);
+
+      printGrid(response, vars, strC_Invoice_ID);
+    } else if (vars.commandIn("USECREDITPAYMENTS") || vars.commandIn("CANCEL_USECREDITPAYMENTS")) {
+      final String strWindowId = vars.getGlobalVariable("inpwindowId", "ProcessInvoice|Window_ID",
+          IsIDFilter.instance);
+      final String strTabId = vars.getGlobalVariable("inpTabId", "ProcessInvoice|Tab_ID",
+          IsIDFilter.instance);
+      final String strC_Invoice_ID = vars.getGlobalVariable("inpKey",
+          strWindowId + "|C_Invoice_ID", "");
+      final String strPaymentDate = vars.getRequiredStringParameter("inpPaymentDate");
+      final String strOrg = vars.getGlobalVariable("inpadOrgId", "ProcessInvoice|Org_ID",
+          IsIDFilter.instance);
+
+      final String strCreditPaymentIds;
+      if (vars.commandIn("CANCEL_USECREDITPAYMENTS")) {
+        strCreditPaymentIds = null;
+      } else {
+        strCreditPaymentIds = vars.getInParameter("inpCreditPaymentId", IsIDFilter.instance);
+      }
+
       /*
-       * Cancel credit (if any) for the invoice's bp
+       * Use credit logic
        */
-      if ("CO".equals(strdocaction)) {
+      if (strCreditPaymentIds != null && !strCreditPaymentIds.isEmpty()) {
+        List<FIN_Payment> selectedCreditPayment = FIN_Utility.getOBObjectList(FIN_Payment.class,
+            strCreditPaymentIds);
+        HashMap<String, BigDecimal> selectedCreditPaymentAmounts = FIN_AddPayment
+            .getSelectedBaseOBObjectAmount(vars, selectedCreditPayment, "inpPaymentAmount");
         try {
           OBContext.setAdminMode(true);
           final Invoice invoice = OBDal.getInstance().get(Invoice.class, strC_Invoice_ID);
-          final String invoiceDocCategory = invoice.getDocumentType().getDocumentCategory();
-          if ("API".equals(invoiceDocCategory) || "ARI".equals(invoiceDocCategory)) {
-            final FIN_Payment creditPayment = dao.getCreditPayment(invoice);
-            // If the invoice grand total is ZERO or already has payments (due to
-            // payment method automation) or the business partner does not have a default financial
-            // account defined or invoice's payment method is not inside BP's financial
-            // account do not cancel credit
-            if (creditPayment != null
-                && BigDecimal.ZERO.compareTo(invoice.getGrandTotalAmount()) != 0
-                && isPaymentMethodConfigured(invoice) && !isInvoiceWithPayments(invoice)) {
-              log4j.info("Detected credit payment: " + creditPayment.getIdentifier()
-                  + ", that matches the invoice: " + invoice.getIdentifier());
-              // Set Used Credit = Invoice's Grand Total Amount
-              creditPayment.setUsedCredit(invoice.getGrandTotalAmount());
-              final StringBuffer description = new StringBuffer();
-              if (creditPayment.getDescription() != null
-                  && !creditPayment.getDescription().equals(""))
-                description.append(creditPayment.getDescription()).append("\n");
-              description.append(String.format(
-                  Utility.messageBD(this, "APRM_CreditUsedinInvoice", vars.getLanguage()),
-                  invoice.getDocumentNo()));
-              creditPayment.setDescription(description.toString());
 
-              final List<FIN_PaymentScheduleDetail> paymentScheduleDetails = new ArrayList<FIN_PaymentScheduleDetail>();
-              final HashMap<String, BigDecimal> paymentScheduleDetailsAmounts = new HashMap<String, BigDecimal>();
-              for (final FIN_PaymentSchedule paymentSchedule : invoice.getFINPaymentScheduleList()) {
-                for (final FIN_PaymentScheduleDetail paymentScheduleDetail : paymentSchedule
-                    .getFINPaymentScheduleDetailInvoicePaymentScheduleList()) {
-                  paymentScheduleDetails.add(paymentScheduleDetail);
-                  paymentScheduleDetailsAmounts.put(paymentScheduleDetail.getId(),
-                      paymentScheduleDetail.getAmount());
-                }
+          final StringBuffer creditPaymentsIdentifiers = new StringBuffer();
+          BigDecimal totalUsedCreditAmt = BigDecimal.ZERO;
+          for (final FIN_Payment creditPayment : selectedCreditPayment) {
+            final BigDecimal usedCreditAmt = selectedCreditPaymentAmounts
+                .get(creditPayment.getId());
+            // Set Used Credit = Amount + Previous used credit introduced by the user
+            creditPayment.setUsedCredit(usedCreditAmt.add(creditPayment.getUsedCredit()));
+            final StringBuffer description = new StringBuffer();
+            if (creditPayment.getDescription() != null
+                && !creditPayment.getDescription().equals(""))
+              description.append(creditPayment.getDescription()).append("\n");
+            description.append(String.format(
+                Utility.messageBD(this, "APRM_CreditUsedinInvoice", vars.getLanguage()),
+                invoice.getDocumentNo()));
+            creditPayment.setDescription(description.toString());
+            totalUsedCreditAmt = totalUsedCreditAmt.add(usedCreditAmt);
+            creditPaymentsIdentifiers.append(creditPayment.getDocumentNo());
+            creditPaymentsIdentifiers.append(", ");
+          }
+          creditPaymentsIdentifiers.delete(creditPaymentsIdentifiers.length() - 2,
+              creditPaymentsIdentifiers.length());
+          creditPaymentsIdentifiers.append("\n");
+
+          final List<FIN_PaymentScheduleDetail> paymentScheduleDetails = new ArrayList<FIN_PaymentScheduleDetail>();
+          final HashMap<String, BigDecimal> paymentScheduleDetailsAmounts = new HashMap<String, BigDecimal>();
+          BigDecimal allocatedAmt = BigDecimal.ZERO;
+          for (final FIN_PaymentScheduleDetail paymentScheduleDetail : dao
+              .getInvoicePendingScheduledPaymentDetails(invoice)) {
+            if (totalUsedCreditAmt.compareTo(allocatedAmt) > 0) {
+              final BigDecimal pendingToAllocate = totalUsedCreditAmt.subtract(allocatedAmt);
+              paymentScheduleDetails.add(paymentScheduleDetail);
+
+              final BigDecimal psdAmt = paymentScheduleDetail.getAmount();
+              if (psdAmt.compareTo(pendingToAllocate) <= 0) {
+                paymentScheduleDetailsAmounts.put(paymentScheduleDetail.getId(), psdAmt);
+                allocatedAmt = allocatedAmt.add(psdAmt);
+              } else {
+                paymentScheduleDetailsAmounts.put(paymentScheduleDetail.getId(), pendingToAllocate);
+                allocatedAmt = allocatedAmt.add(pendingToAllocate);
               }
-
-              // Create new Payment
-              final boolean isSalesTransaction = invoice.isSalesTransaction();
-              final DocumentType docType = FIN_Utility.getDocumentType(invoice.getOrganization(),
-                  isSalesTransaction ? "ARR" : "APP");
-              final String strPaymentDocumentNo = FIN_Utility.getDocumentNo(docType,
-                  docType.getTable() != null ? docType.getTable().getDBTableName() : "");
-              final FIN_FinancialAccount bpFinAccount = isSalesTransaction ? invoice
-                  .getBusinessPartner().getAccount() : invoice.getBusinessPartner()
-                  .getPOFinancialAccount();
-              final FIN_Payment newPayment = FIN_AddPayment.savePayment(null, isSalesTransaction,
-                  docType, strPaymentDocumentNo, invoice.getBusinessPartner(),
-                  invoice.getPaymentMethod(), bpFinAccount, "0", creditPayment.getPaymentDate(),
-                  invoice.getOrganization(), invoice.getDocumentNo(), paymentScheduleDetails,
-                  paymentScheduleDetailsAmounts, false, false);
-              newPayment.setAmount(BigDecimal.ZERO);
-              newPayment.setGeneratedCredit(BigDecimal.ZERO);
-              newPayment.setUsedCredit(invoice.getGrandTotalAmount());
-
-              // Process the new payment
-              FIN_AddPayment.processPayment(vars, this, "P", newPayment);
-
-              // Update Invoice's description
-              final StringBuffer invDesc = new StringBuffer();
-              if (invoice.getDescription() != null) {
-                invDesc.append(invoice.getDescription());
-                invDesc.append("\n");
-              }
-              invDesc.append(String.format(
-                  Utility.messageBD(this, "APRM_InvoiceDescUsedCredit", vars.getLanguage()),
-                  creditPayment.getIdentifier()));
-              invoice.setDescription(invDesc.toString());
             }
           }
+
+          // Create new Payment
+          final boolean isSalesTransaction = invoice.isSalesTransaction();
+          final DocumentType docType = FIN_Utility.getDocumentType(invoice.getOrganization(),
+              isSalesTransaction ? "ARR" : "APP");
+          final String strPaymentDocumentNo = FIN_Utility.getDocumentNo(docType,
+              docType.getTable() != null ? docType.getTable().getDBTableName() : "");
+          final FIN_FinancialAccount bpFinAccount = isSalesTransaction ? invoice
+              .getBusinessPartner().getAccount() : invoice.getBusinessPartner()
+              .getPOFinancialAccount();
+          final FIN_Payment newPayment = FIN_AddPayment.savePayment(null, isSalesTransaction,
+              docType, strPaymentDocumentNo, invoice.getBusinessPartner(),
+              invoice.getPaymentMethod(), bpFinAccount, "0", FIN_Utility.getDate(strPaymentDate),
+              invoice.getOrganization(), invoice.getDocumentNo(), paymentScheduleDetails,
+              paymentScheduleDetailsAmounts, false, false);
+          newPayment.setAmount(BigDecimal.ZERO);
+          newPayment.setGeneratedCredit(BigDecimal.ZERO);
+          newPayment.setUsedCredit(totalUsedCreditAmt);
+
+          // Link new Payment with the credit payments used
+          for (final FIN_Payment creditPayment : selectedCreditPayment) {
+            final BigDecimal usedCreditAmt = selectedCreditPaymentAmounts
+                .get(creditPayment.getId());
+            FIN_PaymentProcess.linkCreditPayment(newPayment, usedCreditAmt, creditPayment);
+          }
+
+          // Process the new payment
+          FIN_AddPayment.processPayment(vars, this, "P", newPayment);
+
+          // Update Invoice's description
+          final StringBuffer invDesc = new StringBuffer();
+          if (invoice.getDescription() != null) {
+            invDesc.append(invoice.getDescription());
+            invDesc.append("\n");
+          }
+          invDesc.append(String.format(
+              Utility.messageBD(this, "APRM_InvoiceDescUsedCredit", vars.getLanguage()),
+              creditPaymentsIdentifiers.toString()));
+          invoice.setDescription(invDesc.toString());
+
         } catch (final Exception e) {
           log4j.error("Exception while canceling the credit in the invoice: " + strC_Invoice_ID);
           e.printStackTrace();
@@ -238,37 +338,41 @@
           OBContext.restorePreviousMode();
         }
       }
+      executePayments(response, vars, strWindowId, strTabId, strC_Invoice_ID, strOrg);
+    }
+  }
 
-      List<FIN_Payment> payments = null;
-      try {
-        OBContext.setAdminMode(true);
-        payments = dao.getPendingExecutionPayments(strC_Invoice_ID);
-      } finally {
-        OBContext.restorePreviousMode();
-      }
+  private void executePayments(HttpServletResponse response, VariablesSecureApp vars,
+      final String strWindowId, final String strTabId, final String strC_Invoice_ID,
+      final String strOrg) throws IOException, ServletException {
+    OBError myMessage = new OBError();
 
-      if (payments != null && payments.size() > 0) {
-        vars.setSessionValue("ExecutePayments|Window_ID", strWindowId);
-        vars.setSessionValue("ExecutePayments|Tab_ID", strTabId);
-        vars.setSessionValue("ExecutePayments|Org_ID",
-            vars.getSessionValue("ProcessInvoice|Org_ID"));
-        vars.setSessionValue("ExecutePayments|payments", FIN_Utility.getInStrList(payments));
-        if (myMessage != null)
-          vars.setMessage("ExecutePayments|message", myMessage);
-        response.sendRedirect(strDireccion
-            + "/org.openbravo.advpaymentmngt.ad_actionbutton/ExecutePayments.html");
-      } else {
-        String strWindowPath = Utility.getTabURL(strTabId, "R", true);
-        if (strWindowPath.equals(""))
-          strWindowPath = strDefaultServlet;
-        printPageClosePopUp(response, vars, strWindowPath);
-      }
+    List<FIN_Payment> payments = null;
+    try {
+      OBContext.setAdminMode(true);
+      payments = dao.getPendingExecutionPayments(strC_Invoice_ID);
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+    if (payments != null && payments.size() > 0) {
+      vars.setSessionValue("ExecutePayments|Window_ID", strWindowId);
+      vars.setSessionValue("ExecutePayments|Tab_ID", strTabId);
+      vars.setSessionValue("ExecutePayments|Org_ID", strOrg);
+      vars.setSessionValue("ExecutePayments|payments", FIN_Utility.getInStrList(payments));
+      if (myMessage != null)
+        vars.setMessage("ExecutePayments|message", myMessage);
+      response.sendRedirect(strDireccion
+          + "/org.openbravo.advpaymentmngt.ad_actionbutton/ExecutePayments.html");
+    } else {
+      String strWindowPath = Utility.getTabURL(strTabId, "R", true);
+      if (strWindowPath.equals(""))
+        strWindowPath = strDefaultServlet;
+      printPageClosePopUp(response, vars, strWindowPath);
+    }
 
-      vars.removeSessionValue("ProcessInvoice|Window_ID");
-      vars.removeSessionValue("ProcessInvoice|Tab_ID");
-      vars.removeSessionValue("ProcessInvoice|Org_ID");
-
-    }
+    vars.removeSessionValue("ProcessInvoice|Window_ID");
+    vars.removeSessionValue("ProcessInvoice|Tab_ID");
+    vars.removeSessionValue("ProcessInvoice|Org_ID");
   }
 
   void printPageDocAction(HttpServletResponse response, VariablesSecureApp vars,
@@ -327,6 +431,100 @@
 
   }
 
+  void printPageCreditPaymentGrid(HttpServletResponse response, VariablesSecureApp vars,
+      String strC_Invoice_ID, String strdocaction, String strProcessing, String strdocstatus,
+      String stradTableId, String strWindowId, String strTabId, Date invoiceDate, String strOrg)
+      throws IOException, ServletException {
+    log4j.debug("Output: Credit Payment Grid popup");
+    String[] discard = { "" };
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
+        "org/openbravo/erpCommon/ad_actionButton/CreditPaymentGrid", discard).createXmlDocument();
+    xmlDocument.setParameter("css", vars.getTheme());
+    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
+    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
+    xmlDocument.setParameter("cancel", Utility.messageBD(this, "Cancel", vars.getLanguage()));
+    xmlDocument.setParameter("ok", Utility.messageBD(this, "OK", vars.getLanguage()));
+    xmlDocument.setParameter("window", strWindowId);
+    xmlDocument.setParameter("tab", strTabId);
+    xmlDocument.setParameter("adOrgId", strOrg);
+
+    xmlDocument.setParameter("invoiceGrossAmt", dao.getObject(Invoice.class, strC_Invoice_ID)
+        .getGrandTotalAmount().toString());
+
+    OBError myMessage = vars.getMessage("ProcessInvoice|CreditPaymentGrid");
+    vars.removeMessage("ProcessInvoice|CreditPaymentGrid");
+    if (myMessage != null) {
+      xmlDocument.setParameter("messageType", myMessage.getType());
+      xmlDocument.setParameter("messageTitle", myMessage.getTitle());
+      xmlDocument.setParameter("messageMessage", myMessage.getMessage());
+    }
+
+    xmlDocument.setParameter("dateDisplayFormat", vars.getSessionValue("#AD_SqlDateFormat"));
+    xmlDocument.setParameter("paymentDate",
+        Utility.formatDate(invoiceDate, vars.getJavaDateFormat()));
+
+    out.println(xmlDocument.print());
+    out.close();
+
+  }
+
+  private void printGrid(HttpServletResponse response, VariablesSecureApp vars, String invoiceId)
+      throws IOException, ServletException {
+    log4j.debug("Output: Grid with credit payments");
+
+    final Invoice invoice = dao.getObject(Invoice.class, invoiceId);
+
+    String[] discard = {};
+    XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
+        "org/openbravo/erpCommon/ad_actionButton/AddCreditPaymentGrid", discard)
+        .createXmlDocument();
+
+    xmlDocument.setData("structure", getCreditPayments(invoice));
+
+    response.setContentType("text/html; charset=UTF-8");
+    PrintWriter out = response.getWriter();
+    out.println(xmlDocument.print());
+    out.close();
+  }
+
+  private FieldProvider[] getCreditPayments(Invoice invoice) {
+    FieldProvider[] data = FieldProviderFactory.getFieldProviderArray(creditPayments);
+    String dateFormat = OBPropertiesProvider.getInstance().getOpenbravoProperties()
+        .getProperty("dateFormat.java");
+    SimpleDateFormat dateFormater = new SimpleDateFormat(dateFormat);
+
+    BigDecimal pendingToPay = invoice.getGrandTotalAmount();
+    for (int i = 0; i < data.length; i++) {
+      FieldProviderFactory.setField(data[i], "finCreditPaymentId", creditPayments.get(i).getId());
+      FieldProviderFactory.setField(data[i], "documentNo", creditPayments.get(i).getDocumentNo());
+      FieldProviderFactory.setField(data[i], "paymentDescription", creditPayments.get(i)
+          .getDescription());
+      if (creditPayments.get(i).getPaymentDate() != null) {
+        FieldProviderFactory.setField(data[i], "documentDate",
+            dateFormater.format(creditPayments.get(i).getPaymentDate()).toString());
+      }
+
+      final BigDecimal outStandingAmt = creditPayments.get(i).getGeneratedCredit()
+          .subtract(creditPayments.get(i).getUsedCredit());
+      FieldProviderFactory.setField(data[i], "outstandingAmount", outStandingAmt.toString());
+
+      FieldProviderFactory.setField(
+          data[i],
+          "paymentAmount",
+          pendingToPay.compareTo(outStandingAmt) > 0 ? outStandingAmt.toString() : (pendingToPay
+              .compareTo(BigDecimal.ZERO) > 0 ? pendingToPay.toString() : ""));
+      pendingToPay = pendingToPay.subtract(outStandingAmt);
+
+      FieldProviderFactory.setField(data[i], "finSelectedCreditPaymentId",
+          "".equals(data[i].getField("paymentAmount")) ? "" : creditPayments.get(i).getId());
+      FieldProviderFactory.setField(data[i], "rownum", String.valueOf(i));
+    }
+
+    return data;
+  }
+
   private boolean isInvoiceWithPayments(Invoice invoice) {
     for (FIN_PaymentSchedule ps : OBDao.getFilteredCriteria(FIN_PaymentSchedule.class,
         Restrictions.eq(FIN_PaymentSchedule.PROPERTY_INVOICE, invoice)).list()) {
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/Reconciliation.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/Reconciliation.java	Fri Nov 11 17:17:39 2011 +0100
@@ -173,6 +173,7 @@
       reconciliation.setDocumentStatus("DR");
       reconciliation.setProcessed(false);
       reconciliation.setAPRMProcessReconciliation("P");
+      reconciliation.setAprmProcessRec("P");
       OBDal.getInstance().save(reconciliation);
       OBDal.getInstance().flush();
 
@@ -248,6 +249,7 @@
         reconciliation.setDocumentStatus("CO");
         reconciliation.setProcessed(true);
         reconciliation.setAPRMProcessReconciliation("R");
+        reconciliation.setAprmProcessRec("R");
         OBDal.getInstance().save(reconciliation);
         OBDal.getInstance().flush();
 
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.java	Fri Nov 11 17:17:39 2011 +0100
@@ -48,6 +48,7 @@
 import org.openbravo.model.financialmgmt.payment.FIN_BankStatement;
 import org.openbravo.model.financialmgmt.payment.FIN_BankStatementLine;
 import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
+import org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount;
 import org.openbravo.model.financialmgmt.payment.FIN_Reconciliation;
 
 public class ReportReconciliation extends HttpSecureAppServlet {
@@ -61,10 +62,11 @@
 
     if (vars.commandIn("DEFAULT")) {
       String strFinReconciliationID = vars.getGlobalVariable("inpfinReconciliationId", "");
-      String strFinFinancialAccountName = vars.getGlobalVariable("inpfinFinancialAccountId_R", "");
+      String strFinFinancialAccountId = vars.getGlobalVariable("inpfinFinancialAccountId", "");
       String strLastFieldChanged = vars.getGlobalVariable("inpLastFieldChanged", "");
       String strDateTo = vars.getGlobalVariable("inpdateto", "");
-      printPageDataPDF(request, response, vars, strFinReconciliationID, strFinFinancialAccountName,
+      printPageDataPDF(request, response, vars, strFinReconciliationID,
+          OBDal.getInstance().get(FIN_FinancialAccount.class, strFinFinancialAccountId).getName(),
           strDateTo, strLastFieldChanged.toLowerCase().contains("detail") ? DETAIL : SUMMARY);
     }
   }
@@ -75,9 +77,10 @@
 
     if (vars.commandIn("DEFAULT")) {
       String strFinReconciliationID = vars.getGlobalVariable("inpfinReconciliationId", "");
-      String strFinFinancialAccountName = vars.getGlobalVariable("inpfinFinancialAccountId_R", "");
+      String strFinFinancialAccountId = vars.getGlobalVariable("inpfinFinancialAccountId", "");
       String strDateTo = vars.getGlobalVariable("inpdateto", "");
-      printPageDataPDF(request, response, vars, strFinReconciliationID, strFinFinancialAccountName,
+      printPageDataPDF(request, response, vars, strFinReconciliationID,
+          OBDal.getInstance().get(FIN_FinancialAccount.class, strFinFinancialAccountId).getName(),
           strDateTo, strReportType);
     }
   }
@@ -182,7 +185,6 @@
    * @return List with 2 values. The first one is the sum of outstanding payments (transactions) and
    *         the second is the sum of outstanding deposits (transactions).
    */
-  @SuppressWarnings("unchecked")
   private List<BigDecimal> getOutstandingPaymentAndDepositTotal(FIN_Reconciliation recon) {
     List<BigDecimal> outList = new ArrayList<BigDecimal>();
     OBContext.setAdminMode(true);
@@ -208,6 +210,7 @@
       obcTrans.setProjection(projections);
 
       if (obcTrans.list() != null && obcTrans.list().size() > 0) {
+        @SuppressWarnings("rawtypes")
         List o = obcTrans.list();
         Object[] resultSet = (Object[]) o.get(0);
         BigDecimal paymentAmt = (resultSet[0] != null) ? (BigDecimal) resultSet[0]
@@ -238,7 +241,6 @@
    *          Reconciliation
    * @return Sum of the un-reconciled bank statement lines.
    */
-  @SuppressWarnings("unchecked")
   private BigDecimal getUnreconciledBankStatmentLinesTotal(FIN_Reconciliation recon) {
     BigDecimal total = BigDecimal.ZERO;
     OBContext.setAdminMode(true);
@@ -260,12 +262,14 @@
         obcBsl.add(Restrictions.isNull(FIN_BankStatementLine.PROPERTY_FINANCIALACCOUNTTRANSACTION));
       }
       obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_ACCOUNT, recon.getAccount()));
+      obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_PROCESSED, true));
       ProjectionList projections = Projections.projectionList();
       projections.add(Projections.sum(FIN_BankStatementLine.PROPERTY_CRAMOUNT));
       projections.add(Projections.sum(FIN_BankStatementLine.PROPERTY_DRAMOUNT));
       obcBsl.setProjection(projections);
 
       if (obcBsl.list() != null && obcBsl.list().size() > 0) {
+        @SuppressWarnings("rawtypes")
         List o = obcBsl.list();
         Object[] resultSet = (Object[]) o.get(0);
         BigDecimal credit = (resultSet[0] != null) ? (BigDecimal) resultSet[0] : BigDecimal.ZERO;
@@ -289,7 +293,6 @@
    * @return Sum of all the transactions in a higher date than the end date of the given
    *         reconciliation.
    */
-  @SuppressWarnings("unchecked")
   private BigDecimal getTransactionsTotalAfterReconciliationEndDate(FIN_Reconciliation recon) {
     BigDecimal balance = BigDecimal.ZERO;
     OBContext.setAdminMode(true);
@@ -305,6 +308,7 @@
       obcTrans.setProjection(projections);
 
       if (obcTrans.list() != null && obcTrans.list().size() > 0) {
+        @SuppressWarnings("rawtypes")
         List o = obcTrans.list();
         Object[] resultSet = (Object[]) o.get(0);
         BigDecimal paymentAmt = (resultSet[0] != null) ? (BigDecimal) resultSet[0]
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/UnreconciledBankStatement.jrxml	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/UnreconciledBankStatement.jrxml	Fri Nov 11 17:17:39 2011 +0100
@@ -29,9 +29,10 @@
        bsl.referenceno as REF, (bsl.cramount - bsl.dramount) as AMOUNT
 FROM fin_bankstatementline bsl join fin_bankstatement bs on (bsl.fin_bankstatement_id=bs.fin_bankstatement_id)
      left join c_bpartner bp on (bp.c_bpartner_id = bsl.c_bpartner_id)
-WHERE bs.fin_financial_account_id = (SELECT rec.fin_financial_account_id
-                                     FROM fin_reconciliation rec
-                                     WHERE fin_reconciliation_id=$P{RECONCILIATION_ID})
+WHERE bs.processed = 'Y'
+      and bs.fin_financial_account_id = (SELECT rec.fin_financial_account_id
+                                         FROM fin_reconciliation rec
+                                         WHERE fin_reconciliation_id=$P{RECONCILIATION_ID})
       and bsl.datetrx <= (SELECT rec.dateto
                           FROM fin_reconciliation rec
                           WHERE fin_reconciliation_id=$P{RECONCILIATION_ID})
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java	Fri Nov 11 17:17:39 2011 +0100
@@ -20,7 +20,6 @@
 package org.openbravo.advpaymentmngt.dao;
 
 import java.math.BigDecimal;
-import java.math.MathContext;
 import java.text.SimpleDateFormat;
 import java.util.ArrayList;
 import java.util.Date;
@@ -408,10 +407,12 @@
     }
     if (finTxnAmount == null || finTxnAmount.compareTo(BigDecimal.ZERO) == 0) {
       finTxnAmount = paymentAmount.multiply(finTxnConvertRate);
-    } else if (paymentAmount != null && paymentAmount.compareTo(BigDecimal.ZERO) != 0) {
-      // Correct exchange rate for rounding that occurs in UI
-      finTxnConvertRate = finTxnAmount.divide(paymentAmount, MathContext.DECIMAL64);
     }
+    // This code commented due to fix in bug 17829
+    // else if (paymentAmount != null && paymentAmount.compareTo(BigDecimal.ZERO) != 0) {
+    // // Correct exchange rate for rounding that occurs in UI
+    // finTxnConvertRate = finTxnAmount.divide(paymentAmount, MathContext.DECIMAL64);
+    // }
 
     newPayment.setFinancialTransactionConvertRate(finTxnConvertRate);
     newPayment.setFinancialTransactionAmount(finTxnAmount);
@@ -1420,6 +1421,7 @@
     obcPayment.add(Restrictions.eq(FIN_Payment.PROPERTY_RECEIPT, isReceipt));
     obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_GENERATEDCREDIT, BigDecimal.ZERO));
     obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_STATUS, "RPAP"));
+    obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_STATUS, "RPVOID"));
     obcPayment.add(Restrictions.neProperty(FIN_Payment.PROPERTY_GENERATEDCREDIT,
         FIN_Payment.PROPERTY_USEDCREDIT));
     obcPayment.addOrderBy(FIN_Payment.PROPERTY_PAYMENTDATE, true);
@@ -1427,6 +1429,38 @@
     return obcPayment.list();
   }
 
+  /**
+   * Returns the list of credit payments for the selected business partner that belongs to the legal
+   * entity's natural tree of the given organization
+   * 
+   * @param org
+   * @param bp
+   * @param isReceipt
+   * @return
+   */
+  public List<FIN_Payment> getCustomerPaymentsWithCredit(Organization org, BusinessPartner bp,
+      boolean isReceipt) {
+    try {
+      OBContext.setAdminMode(true);
+      OBCriteria<FIN_Payment> obcPayment = OBDal.getInstance().createCriteria(FIN_Payment.class);
+      obcPayment.add(Restrictions.eq(FIN_Payment.PROPERTY_BUSINESSPARTNER, bp));
+      obcPayment.add(Restrictions.eq(FIN_Payment.PROPERTY_RECEIPT, isReceipt));
+      obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_GENERATEDCREDIT, BigDecimal.ZERO));
+      obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_STATUS, "RPAP"));
+      obcPayment.add(Restrictions.ne(FIN_Payment.PROPERTY_STATUS, "RPVOID"));
+      obcPayment.add(Restrictions.neProperty(FIN_Payment.PROPERTY_GENERATEDCREDIT,
+          FIN_Payment.PROPERTY_USEDCREDIT));
+      final Organization legalEntity = FIN_Utility.getLegalEntityOrg(org);
+      obcPayment.add(Restrictions.in("organization.id", OBContext.getOBContext()
+          .getOrganizationStructureProvider().getNaturalTree(legalEntity.getId())));
+      obcPayment.addOrderBy(FIN_Payment.PROPERTY_PAYMENTDATE, true);
+      obcPayment.addOrderBy(FIN_Payment.PROPERTY_DOCUMENTNO, true);
+      return obcPayment.list();
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
   public List<FIN_Payment> getCustomerPaymentsWithUsedCredit(BusinessPartner bp, Boolean isReceipt) {
     OBCriteria<FIN_Payment> obcPayment = OBDal.getInstance().createCriteria(FIN_Payment.class);
     obcPayment.add(Restrictions.eq(FIN_Payment.PROPERTY_BUSINESSPARTNER, bp));
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/MatchTransactionDao.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/MatchTransactionDao.java	Fri Nov 11 17:17:39 2011 +0100
@@ -169,6 +169,7 @@
     whereClause.append(" where bsl.").append(FIN_BankStatementLine.PROPERTY_BANKSTATEMENT);
     whereClause.append(".").append(FIN_BankStatement.PROPERTY_ACCOUNT).append(".id = '");
     whereClause.append(strFinancialAccountId).append("'");
+    whereClause.append(" and bsl.bankStatement.processed = 'Y'");
     if (strPaymentTypeFilter.equalsIgnoreCase("D")) {
       whereClause.append("   and (bsl.").append(FIN_BankStatementLine.PROPERTY_DRAMOUNT);
       whereClause.append(" is null ");
@@ -208,6 +209,7 @@
     whereClause.append("   and bsl.").append(
         FIN_BankStatementLine.PROPERTY_FINANCIALACCOUNTTRANSACTION);
     whereClause.append(" is null");
+    whereClause.append(" and bsl.bankStatement.processed = 'Y'");
     final OBQuery<FIN_BankStatementLine> obData = OBDal.getInstance().createQuery(
         FIN_BankStatementLine.class, whereClause.toString());
 
@@ -224,6 +226,7 @@
     whereClause.append("   and bsl.").append(
         FIN_BankStatementLine.PROPERTY_FINANCIALACCOUNTTRANSACTION);
     whereClause.append(" is not null");
+    whereClause.append(" and bsl.bankStatement.processed = 'Y'");
     final OBQuery<FIN_BankStatementLine> obData = OBDal.getInstance().createQuery(
         FIN_BankStatementLine.class, whereClause.toString());
     return obData.list();
@@ -341,6 +344,7 @@
           FIN_BankStatementLine.class);
       obc.createAlias(FIN_BankStatementLine.PROPERTY_BANKSTATEMENT, "bs");
       obc.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_ACCOUNT, financialAccount));
+      obc.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_PROCESSED, true));
       obc.addOrderBy(FIN_BankStatementLine.PROPERTY_TRANSACTIONDATE, false);
       obc.setMaxResults(1);
       final List<FIN_BankStatementLine> bst = obc.list();
@@ -382,7 +386,6 @@
    *          Reconciliation.
    * @return Ending balance of an automatic reconciliation.
    */
-  @SuppressWarnings("unchecked")
   public static BigDecimal getReconciliationEndingBalance(FIN_Reconciliation reconciliation) {
     BigDecimal total = BigDecimal.ZERO;
     OBContext.setAdminMode(true);
@@ -398,12 +401,14 @@
 
       obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_ACCOUNT,
           reconciliation.getAccount()));
+      obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_PROCESSED, true));
       ProjectionList projections = Projections.projectionList();
       projections.add(Projections.sum(FIN_BankStatementLine.PROPERTY_CRAMOUNT));
       projections.add(Projections.sum(FIN_BankStatementLine.PROPERTY_DRAMOUNT));
       obcBsl.setProjection(projections);
 
       if (obcBsl.list() != null && obcBsl.list().size() > 0) {
+        @SuppressWarnings("rawtypes")
         List o = obcBsl.list();
         Object[] resultSet = (Object[]) o.get(0);
         BigDecimal credit = (resultSet[0] != null) ? (BigDecimal) resultSet[0] : BigDecimal.ZERO;
@@ -425,7 +430,6 @@
    *          Reconciliation.
    * @return Last reconciliation UnMatched balance
    */
-  @SuppressWarnings("unchecked")
   public static BigDecimal getLastReconciliationUnmatchedBalance(
       FIN_Reconciliation lastReconciliation) {
     BigDecimal total = BigDecimal.ZERO;
@@ -447,6 +451,7 @@
       }
       obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_ACCOUNT,
           lastReconciliation.getAccount()));
+      obcBsl.add(Restrictions.eq("bs." + FIN_BankStatement.PROPERTY_PROCESSED, true));
       obcBsl.add(Restrictions.le(FIN_BankStatementLine.PROPERTY_TRANSACTIONDATE,
           lastReconciliation.getTransactionDate()));
       ProjectionList projections = Projections.projectionList();
@@ -455,6 +460,7 @@
       obcBsl.setProjection(projections);
 
       if (obcBsl.list() != null && obcBsl.list().size() > 0) {
+        @SuppressWarnings("rawtypes")
         List o = obcBsl.list();
         Object[] resultSet = (Object[]) o.get(0);
         BigDecimal credit = (resultSet[0] != null) ? (BigDecimal) resultSet[0] : BigDecimal.ZERO;
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/TransactionsDao.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/TransactionsDao.java	Fri Nov 11 17:17:39 2011 +0100
@@ -152,6 +152,7 @@
     return maxLine;
   }
 
+  @Deprecated
   public static void process(FIN_FinaccTransaction finFinancialAccountTransaction) {
     final FIN_FinancialAccount financialAccount = OBDal.getInstance().get(
         FIN_FinancialAccount.class, finFinancialAccountTransaction.getAccount().getId());
@@ -205,6 +206,7 @@
         obc.add(Restrictions.eq(FIN_Reconciliation.PROPERTY_PROCESSED, false));
       }
       obc.addOrderBy(FIN_Reconciliation.PROPERTY_ENDINGDATE, false);
+      obc.addOrderBy(FIN_Reconciliation.PROPERTY_CREATIONDATE, false);
       obc.setMaxResults(1);
       final List<FIN_Reconciliation> rec = obc.list();
       if (rec.size() == 0)
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java	Fri Nov 11 17:17:39 2011 +0100
@@ -37,6 +37,7 @@
 import org.openbravo.base.exception.OBException;
 import org.openbravo.base.secureApp.VariablesSecureApp;
 import org.openbravo.base.session.OBPropertiesProvider;
+import org.openbravo.base.structure.BaseOBObject;
 import org.openbravo.dal.core.DalUtil;
 import org.openbravo.dal.core.OBContext;
 import org.openbravo.dal.service.OBCriteria;
@@ -473,15 +474,30 @@
   public static HashMap<String, BigDecimal> getSelectedPaymentDetailsAndAmount(
       VariablesSecureApp vars, List<FIN_PaymentScheduleDetail> selectedPaymentScheduleDetails)
       throws ServletException {
-    HashMap<String, BigDecimal> selectedPaymentScheduleDetailsAmounts = new HashMap<String, BigDecimal>();
+    return getSelectedBaseOBObjectAmount(vars, selectedPaymentScheduleDetails, "inpPaymentAmount");
+  }
 
-    for (FIN_PaymentScheduleDetail paymentScheduleDetail : selectedPaymentScheduleDetails) {
-      selectedPaymentScheduleDetailsAmounts.put(
-          paymentScheduleDetail.getId(),
-          new BigDecimal(vars.getNumericParameter(
-              "inpPaymentAmount" + paymentScheduleDetail.getId(), "")));
+  /**
+   * Creates a HashMap with the BaseOBObject id's and the amount gotten from the Session.
+   * 
+   * The amounts are stored in Session like "htmlElementId"+basobObject.Id
+   * 
+   * @param vars
+   *          VariablseSecureApp with the session data.
+   * @param selectedPaymentScheduleDetails
+   *          List of FIN_PaymentScheduleDetails that need to be included in the HashMap.
+   * @return A HashMap mapping the FIN_PaymentScheduleDetail's Id with the corresponding amount.
+   */
+  public static <T extends BaseOBObject> HashMap<String, BigDecimal> getSelectedBaseOBObjectAmount(
+      VariablesSecureApp vars, List<T> selectedBaseOBObjects, String htmlElementId)
+      throws ServletException {
+    HashMap<String, BigDecimal> selectedBaseOBObjectAmounts = new HashMap<String, BigDecimal>();
+
+    for (final T o : selectedBaseOBObjects) {
+      selectedBaseOBObjectAmounts.put((String) o.getId(),
+          new BigDecimal(vars.getNumericParameter(htmlElementId + (String) o.getId(), "")));
     }
-    return selectedPaymentScheduleDetailsAmounts;
+    return selectedBaseOBObjectAmounts;
   }
 
   /**
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_BankStatementProcess.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_BankStatementProcess.java	Fri Nov 11 17:17:39 2011 +0100
@@ -129,6 +129,7 @@
     parameters.add(account);
     whereClause.append(" and bsl." + FIN_BankStatementLine.PROPERTY_BANKSTATEMENT + " <> ?");
     parameters.add(bankstatement);
+    whereClause.append(" and bsl.bankStatement.processed = 'Y'");
     whereClause.append(" order by bsl." + FIN_BankStatementLine.PROPERTY_TRANSACTIONDATE);
     whereClause.append(" desc");
 
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java	Fri Nov 11 17:17:39 2011 +0100
@@ -28,7 +28,10 @@
 import org.openbravo.advpaymentmngt.utility.FIN_PaymentExecutionProcess;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
 import org.openbravo.advpaymentmngt.utility.Value;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.client.kernel.RequestContext;
 import org.openbravo.dal.service.OBDal;
+import org.openbravo.database.ConnectionProvider;
 import org.openbravo.erpCommon.utility.OBError;
 import org.openbravo.model.common.businesspartner.BusinessPartner;
 import org.openbravo.model.common.enterprise.Organization;
@@ -42,6 +45,8 @@
 import org.openbravo.model.financialmgmt.payment.PaymentExecutionProcessParameter;
 import org.openbravo.model.financialmgmt.payment.PaymentRun;
 import org.openbravo.model.financialmgmt.payment.PaymentRunPayment;
+import org.openbravo.scheduling.ProcessBundle;
+import org.openbravo.service.db.DalConnectionProvider;
 
 public class FIN_ExecutePayment {
   private AdvPaymentMngtDao dao;
@@ -124,7 +129,16 @@
                 && paymentRunPayment.getPayment().getAmount().compareTo(BigDecimal.ZERO) != 0) {
               FIN_FinaccTransaction transaction = TransactionsDao
                   .createFinAccTransaction(paymentRunPayment.getPayment());
-              TransactionsDao.process(transaction);
+              // VariablesSecureApp vars = new VariablesSecureApp(OBContext.getOBContext().getUser()
+              // .getId(), OBContext.getOBContext().getCurrentOrganization().getId(), OBContext
+              // .getOBContext().getRole().getId());
+              VariablesSecureApp vars = new VariablesSecureApp(RequestContext.get().getRequest());
+              OBError processTransactionError = processTransaction(vars,
+                  new DalConnectionProvider(), "P", transaction);
+              if (processTransactionError != null
+                  && "Error".equals(processTransactionError.getType())) {
+                return processTransactionError;
+              }
             }
           }
           if ("PPM".equals(paymentStatus) || "RPR".equals(paymentStatus)
@@ -201,4 +215,31 @@
     }
   }
 
+  /**
+   * It calls the Transaction Process for the given transaction and action.
+   * 
+   * @param vars
+   *          VariablesSecureApp with the session data.
+   * @param conn
+   *          ConnectionProvider with the connection being used.
+   * @param strAction
+   *          String with the action of the process. {P, D, R}
+   * @param transaction
+   *          FIN_FinaccTransaction that needs to be processed.
+   * @return a OBError with the result message of the process.
+   * @throws Exception
+   */
+  private OBError processTransaction(VariablesSecureApp vars, ConnectionProvider conn,
+      String strAction, FIN_FinaccTransaction transaction) throws Exception {
+    ProcessBundle pb = new ProcessBundle("F68F2890E96D4D85A1DEF0274D105BCE", vars).init(conn);
+    HashMap<String, Object> parameters = new HashMap<String, Object>();
+    parameters.put("action", strAction);
+    parameters.put("Fin_FinAcc_Transaction_ID", transaction.getId());
+    pb.setParams(parameters);
+    OBError myMessage = null;
+    new FIN_TransactionProcess().execute(pb);
+    myMessage = (OBError) pb.getResult();
+    return myMessage;
+  }
+
 }
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java	Fri Nov 11 17:17:39 2011 +0100
@@ -20,74 +20,84 @@
 package org.openbravo.advpaymentmngt.process;
 
 import java.math.BigDecimal;
+import java.math.RoundingMode;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
 import java.util.Date;
+import java.util.HashMap;
 import java.util.List;
 
-import org.hibernate.LockOptions;
 import org.hibernate.criterion.Projections;
 import org.hibernate.criterion.Restrictions;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
 import org.openbravo.base.exception.OBException;
+import org.openbravo.base.session.OBPropertiesProvider;
 import org.openbravo.dal.core.OBContext;
 import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
+import org.openbravo.database.ConnectionProvider;
+import org.openbravo.erpCommon.ad_forms.AcctServer;
 import org.openbravo.erpCommon.businessUtility.Preferences;
 import org.openbravo.erpCommon.utility.PropertyException;
 import org.openbravo.erpCommon.utility.PropertyNotFoundException;
 import org.openbravo.model.ad.domain.Preference;
-import org.openbravo.model.ad.module.Module;
 import org.openbravo.model.common.invoice.Invoice;
+import org.openbravo.model.financialmgmt.payment.DebtPayment;
+import org.openbravo.model.financialmgmt.payment.FIN_Payment;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedule;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentScheduleDetail;
 import org.openbravo.scheduling.ProcessBundle;
 import org.openbravo.scheduling.ProcessLogger;
 import org.openbravo.service.db.DalBaseProcess;
+import org.openbravo.service.db.DalConnectionProvider;
 import org.quartz.JobExecutionException;
 
 public class FIN_PaymentMonitorProcess extends DalBaseProcess {
-  private ProcessLogger logger;
+  private static ProcessLogger logger;
+  private static ConnectionProvider conn = null;
 
   public void doExecute(ProcessBundle bundle) throws Exception {
     logger = bundle.getLogger();
-    // Extra check for PaymentMonitor-disabling switch, to build correct message for users
+    conn = bundle.getConnection();
+    // Check to know if PaymentMonitor property is set in the system.
     try {
-      try {
-        Preferences.getPreferenceValue("PaymentMonitor", true, null, null, OBContext.getOBContext()
-            .getUser(), null, null);
-
-        if (isPreferenceOfModule("PaymentMonitor", "A918E3331C404B889D69AA9BFAFB23AC")) {
-          logger
-              .log("There is an extension module installed managing the Payment Monitor information.\n");
-          logger.log("Starting Update Paid Amount for Invoices Background Process.\n");
-        } else {
-          logger.log("Payment Monitor active for other module.\n");
-          logger.log("Core's background process is executed.\n");
-          return;
-        }
-
-      } catch (PropertyNotFoundException e) {
-        logger.log("Property not found \n");
-        return;
-      }
+      Preferences.getPreferenceValue("PaymentMonitor", true, null, null, OBContext.getOBContext()
+          .getUser(), null, null);
+    } catch (PropertyNotFoundException e) {
+      logger.log("Property not found \n");
+      return;
     } catch (PropertyException e) {
       logger.log("PropertyException, there is a conflict for PaymentMonitor property\n");
       return;
     }
+    // Check to know that this APR is the module implementing the PaymentMonitor property
+    if (isPreferenceOfModule("PaymentMonitor", "A918E3331C404B889D69AA9BFAFB23AC")) {
+      logger.log("Starting Update Paid Amount for Invoices Background Process.\n");
+    } else {
+      logger.log("Payment Monitor active for other module.\n");
+      logger.log("Core's background process is executed.\n");
+      return;
+    }
 
     try {
       int counter = 0;
       final OBCriteria<Invoice> obc = OBDal.getInstance().createCriteria(Invoice.class);
       obc.add(Restrictions.eq(Invoice.PROPERTY_PROCESSED, true));
-      obc.add(Restrictions.ne(Invoice.PROPERTY_OUTSTANDINGAMOUNT, BigDecimal.ZERO));
-      obc.add(Restrictions.isNotEmpty(Invoice.PROPERTY_FINPAYMENTSCHEDULELIST));
+      obc.add(Restrictions.or(Restrictions.eq(Invoice.PROPERTY_PAYMENTCOMPLETE, false),
+          Restrictions.ne(Invoice.PROPERTY_OUTSTANDINGAMOUNT, BigDecimal.ZERO)));
 
       // For Background process execution at system level
       if (OBContext.getOBContext().isInAdministratorMode()) {
         obc.setFilterOnReadableClients(false);
         obc.setFilterOnReadableOrganization(false);
       }
-      final List<Invoice> invoices = obc.list();
-      for (Invoice invoice : invoices) {
-        OBDal.getInstance().getSession().buildLockRequest(LockOptions.NONE);
+      final List<String> invoiceIds = new ArrayList<String>();
+      for (Invoice invoice : obc.list()) {
+        invoiceIds.add(invoice.getId());
+      }
+
+      for (String invoiceId : invoiceIds) {
+        Invoice invoice = OBDal.getInstance().get(Invoice.class, invoiceId);
         updateInvoice(invoice);
         counter++;
         OBDal.getInstance().getSession().flush();
@@ -112,6 +122,111 @@
    * @throws OBException
    */
   public static void updateInvoice(Invoice invoice) throws OBException {
+    OBContext.setAdminMode();
+    try {
+      HashMap<String, BigDecimal> oldFlowAmounts = new HashMap<String, BigDecimal>();
+      // If the invoice has old flow's related payments calculate its statuses and amounts
+      if (invoice.getFinancialMgmtDebtPaymentList() != null
+          && invoice.getFinancialMgmtDebtPaymentList().size() > 0) {
+        oldFlowAmounts = getOldflowAmounts(invoice.getFinancialMgmtDebtPaymentList(), invoice
+            .getCurrency().getId(), invoice.getAccountingDate());
+      } else {
+        oldFlowAmounts.put("paidAmt", BigDecimal.ZERO);
+        oldFlowAmounts.put("outstandingAmt", BigDecimal.ZERO);
+        oldFlowAmounts.put("overdueAmt", BigDecimal.ZERO);
+      }
+
+      HashMap<String, BigDecimal> amounts = calculateAmounts(invoice);
+      invoice.setTotalPaid(amounts.get("paidAmt").add(oldFlowAmounts.get("paidAmt")));
+      invoice.setOutstandingAmount(amounts.get("outstandingAmt").add(
+          oldFlowAmounts.get("outstandingAmt")));
+      invoice.setPaymentComplete(invoice.getOutstandingAmount().compareTo(BigDecimal.ZERO) == 0);
+      invoice.setDueAmount(amounts.get("overdueAmt").add(oldFlowAmounts.get("overdueAmt")));
+      invoice.setDaysTillDue(getDaysTillDue(invoice));
+      invoice.setLastCalculatedOnDate(new Date());
+
+      OBDal.getInstance().save(invoice);
+      OBDal.getInstance().flush();
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
+  private static HashMap<String, BigDecimal> getOldflowAmounts(List<DebtPayment> debtPayments,
+      String currencyTo, Date conversionDate) {
+    BigDecimal paidAmt = BigDecimal.ZERO;
+    BigDecimal outstandingAmt = BigDecimal.ZERO;
+    BigDecimal overdueAmt = BigDecimal.ZERO;
+    for (DebtPayment debtPayment : debtPayments) {
+      // Calculate paid amount.
+      BigDecimal paid = calculatePaidAmount(debtPayment, currencyTo, conversionDate, BigDecimal.ONE);
+      paidAmt = paidAmt.add(paid);
+      // Calculate outstanding amount.
+      outstandingAmt = outstandingAmt.add(debtPayment.getAmount().subtract(paid));
+      // Calculate overdue amount.
+      overdueAmt = overdueAmt.add(calculateOverdueAmount(debtPayment, currencyTo, conversionDate,
+          BigDecimal.ONE));
+    }
+    HashMap<String, BigDecimal> amounts = new HashMap<String, BigDecimal>();
+    amounts.put("paidAmt", paidAmt);
+    amounts.put("outstandingAmt", outstandingAmt);
+    amounts.put("overdueAmt", overdueAmt);
+    return amounts;
+  }
+
+  private static HashMap<String, BigDecimal> calculateAmounts(Invoice invoice) {
+    BigDecimal paidAmt = BigDecimal.ZERO;
+    BigDecimal outstandingAmt = BigDecimal.ZERO;
+    BigDecimal overdueAmt = BigDecimal.ZERO;
+    for (FIN_PaymentSchedule paymentSchedule : invoice.getFINPaymentScheduleList()) {
+      BigDecimal paid = BigDecimal.ZERO;
+      for (FIN_PaymentScheduleDetail psd : paymentSchedule
+          .getFINPaymentScheduleDetailInvoicePaymentScheduleList()) {
+        if (psd.isCanceled()) {
+          // If payment scheduled is cancelled don't consider its amount.
+          continue;
+        }
+        if (psd.getPaymentDetails() != null
+            && FIN_Utility.isPaymentConfirmed(psd.getPaymentDetails().getFinPayment().getStatus(),
+                psd)) {
+          paid = paid.add(psd.getAmount().add(psd.getWriteoffAmount()));
+        }
+      }
+
+      if (paymentSchedule.getPaidAmount().compareTo(paid) != 0) {
+        logger.log("ERROR Invoice " + invoice.getDocumentNo()
+            + ": wrong payment plan info, paid amount is "
+            + paymentSchedule.getPaidAmount().toPlainString() + " when it should be "
+            + paid.toPlainString());
+        paymentSchedule.setPaidAmount(paid);
+        OBDal.getInstance().save(paymentSchedule);
+      }
+      if (paymentSchedule.getOutstandingAmount().compareTo(
+          paymentSchedule.getAmount().subtract(paid)) != 0) {
+        logger.log("ERROR Invoice " + invoice.getDocumentNo()
+            + ": wrong payment plan info, outstanding amount is "
+            + paymentSchedule.getOutstandingAmount().toPlainString() + " when it should be "
+            + paymentSchedule.getAmount().subtract(paid).toPlainString());
+        paymentSchedule.setOutstandingAmount(paymentSchedule.getAmount().subtract(paid));
+        OBDal.getInstance().save(paymentSchedule);
+      }
+
+      if (paymentSchedule.getDueDate().before(new Date())
+          && paymentSchedule.getOutstandingAmount() != BigDecimal.ZERO) {
+        overdueAmt = overdueAmt.add(paymentSchedule.getOutstandingAmount());
+      }
+      paidAmt = paidAmt.add(paymentSchedule.getPaidAmount());
+      outstandingAmt = outstandingAmt.add(paymentSchedule.getOutstandingAmount());
+    }
+    HashMap<String, BigDecimal> amounts = new HashMap<String, BigDecimal>();
+    amounts.put("paidAmt", paidAmt);
+    amounts.put("outstandingAmt", outstandingAmt);
+    amounts.put("overdueAmt", overdueAmt);
+    return amounts;
+  }
+
+  private static Long getDaysTillDue(Invoice invoice) {
+    // Calculate days till due
     final OBCriteria<FIN_PaymentSchedule> obc = OBDal.getInstance().createCriteria(
         FIN_PaymentSchedule.class);
     // For Background process execution at system level
@@ -119,27 +234,14 @@
       obc.setFilterOnReadableClients(false);
       obc.setFilterOnReadableOrganization(false);
     }
-
-    OBContext.setAdminMode();
-    try {
-      obc.add(Restrictions.eq(FIN_PaymentSchedule.PROPERTY_INVOICE, invoice));
-      obc.add(Restrictions.ne(FIN_PaymentSchedule.PROPERTY_OUTSTANDINGAMOUNT, BigDecimal.ZERO));
-      obc.setProjection(Projections.min(FIN_PaymentSchedule.PROPERTY_DUEDATE));
-      Object o = obc.list().get(0);
-      if (o != null) {
-        System.err.println("updating invoice ='" + invoice.getId() + "'");
-        invoice.setLastCalculatedOnDate(new Date());
-        invoice.setDaysTillDue(FIN_Utility.getDaysToDue((Date) o));
-      } else {
-        System.err.println("select c_invoice_id, documentno from c_invoice where c_invoice_id ='"
-            + invoice.getId() + "'");
-        invoice.setDaysTillDue(0L);
-      }
-
-      OBDal.getInstance().save(invoice);
-      OBDal.getInstance().flush();
-    } finally {
-      OBContext.restorePreviousMode();
+    obc.add(Restrictions.eq(FIN_PaymentSchedule.PROPERTY_INVOICE, invoice));
+    obc.add(Restrictions.ne(FIN_PaymentSchedule.PROPERTY_OUTSTANDINGAMOUNT, BigDecimal.ZERO));
+    obc.setProjection(Projections.min(FIN_PaymentSchedule.PROPERTY_DUEDATE));
+    Object o = obc.list().get(0);
+    if (o != null) {
+      return (FIN_Utility.getDaysToDue((Date) o));
+    } else {
+      return 0L;
     }
   }
 
@@ -157,28 +259,210 @@
 
     final OBCriteria<Preference> obcNotSel = OBDal.getInstance().createCriteria(Preference.class);
     obcNotSel.add(Restrictions.eq(Preference.PROPERTY_PROPERTY, property));
-    obcNotSel.add(Restrictions.eq(Preference.PROPERTY_MODULE,
-        OBDal.getInstance().get(Module.class, moduleId)));
-    obcNotSel.add(Restrictions.eq(Preference.PROPERTY_SELECTED, false));
     obcNotSel.setFilterOnReadableClients(false);
     obcNotSel.setFilterOnReadableOrganization(false);
 
     final OBCriteria<Preference> obcSel = OBDal.getInstance().createCriteria(Preference.class);
     obcSel.add(Restrictions.eq(Preference.PROPERTY_PROPERTY, property));
-    obcSel.add(Restrictions.eq(Preference.PROPERTY_MODULE,
-        OBDal.getInstance().get(Module.class, moduleId)));
     obcSel.add(Restrictions.eq(Preference.PROPERTY_SELECTED, true));
     obcSel.setFilterOnReadableClients(false);
     obcSel.setFilterOnReadableOrganization(false);
 
-    if (obcNotSel.list() != null && obcNotSel.list().size() > 0) {
-      return (obcNotSel.list().size() == 1);
+    if (obcNotSel.list() != null && obcNotSel.list().size() == 1) {
+      return obcNotSel.list().get(0).getModule().getId().equals(moduleId);
+    } else if (obcSel.list() != null && obcSel.list().size() == 1) {
+      return obcSel.list().get(0).getModule().getId().equals(moduleId);
     } else {
-      if (obcSel.list() != null && obcSel.list().size() > 0) {
-        return (obcSel.list().size() == 1);
-      } else {
-        return false;
+      return false;
+    }
+  }
+
+  public static BigDecimal calculatePaidAmount(DebtPayment payment, String strCurrencyTo,
+      Date conversionDate, BigDecimal multiplier) {
+    BigDecimal paidAmount = BigDecimal.ZERO;
+    String finPaymentStatus = getMigratedPaymentStatus(payment);
+    if ("PAID".equals(finPaymentStatus)) {
+      return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+          .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+          .getOrganization().getId());
+    } else if ("NOTPAID".equals(finPaymentStatus)) {
+      return BigDecimal.ZERO;
+    } else if (payment.getSettlementCancelled() == null) {
+      return paidAmount;
+    } else if (payment.getSettlementCancelled().getProcessed().equals("Y")) {
+      if (payment.isPaymentComplete())
+        return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+            .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+            .getOrganization().getId());
+
+      boolean paymentCompletelyPaid = true;
+      for (DebtPayment cancelledPayment : payment.getSettlementCancelled()
+          .getFinancialMgmtDebtPaymentSettlementCancelledList()) {
+        if (!cancelledPayment.isPaymentComplete()
+            && cancelledPayment.getAmount().compareTo(cancelledPayment.getWriteoffAmount()) != 0
+            && getMigratedPaymentStatus(cancelledPayment).equals("NOTMIGRATED")) {
+          // write off amount is equals to the payment's amount it is considered as paid
+          paymentCompletelyPaid = false;
+          break;
+        } else if (getMigratedPaymentStatus(cancelledPayment).equals("NOTPAID")) {
+          paymentCompletelyPaid = false;
+          break;
+        }
+      }
+      if (paymentCompletelyPaid) {
+        // The sum of all canceled not paid payments in the settlement is zero. This means that the
+        // payment has been paid completely, as it was canceled with some other pending payments
+        // (for example, the ones comming from a credit memo)
+        return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+            .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+            .getOrganization().getId());
+      }
+
+      List<DebtPayment> generatedPayments = payment.getSettlementCancelled()
+          .getFinancialMgmtDebtPaymentCSettlementGenerateIDList();
+      if (generatedPayments == null || generatedPayments.size() == 0) {
+        return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+            .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+            .getOrganization().getId());
+      }
+      BigDecimal generatedPaymentTotalAmount = BigDecimal.ZERO;
+      BigDecimal generatedPaymentPaidAmount = BigDecimal.ZERO;
+      for (DebtPayment generatedPayment : generatedPayments) {
+        BigDecimal signMultiplier = generatedPayment.isReceipt() == payment.isReceipt() ? BigDecimal.ONE
+            : BigDecimal.ONE.negate();
+        generatedPaymentTotalAmount = generatedPaymentTotalAmount.add(getConvertedAmt(
+            generatedPayment.getAmount(), generatedPayment.getCurrency().getId(), strCurrencyTo,
+            conversionDate, generatedPayment.getClient().getId(),
+            generatedPayment.getOrganization().getId()).multiply(signMultiplier));
+        generatedPaymentPaidAmount = generatedPaymentPaidAmount.add(calculatePaidAmount(
+            generatedPayment, strCurrencyTo,
+            generatedPayment.getSettlementGenerate().getAccountingDate(), BigDecimal.ONE).multiply(
+            signMultiplier));
+      }
+      if (generatedPaymentTotalAmount.compareTo(BigDecimal.ZERO) == 0) {
+        return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+            .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+            .getOrganization().getId());
+      }
+      // payment amount * (generatedPaymentPaidAmount / generatedPaymentTotalAmount)
+      BigDecimal paidAmountTmp = payment.getAmount().subtract(payment.getWriteoffAmount())
+          .multiply(generatedPaymentPaidAmount)
+          .divide(generatedPaymentTotalAmount, BigDecimal.ROUND_HALF_UP);
+      // set scale of the currency using standard precision
+      paidAmount = paidAmount.add(paidAmountTmp.setScale(payment.getCurrency()
+          .getStandardPrecision().intValue(), BigDecimal.ROUND_HALF_UP));
+      // Add payment's write off amount to the paid amount
+      paidAmount = paidAmount.add(getConvertedAmt(payment.getWriteoffAmount(), payment
+          .getCurrency().getId(), strCurrencyTo, conversionDate, payment.getClient().getId(),
+          payment.getOrganization().getId()));
+    }
+    return paidAmount;
+  }
+
+  public static BigDecimal calculateOverdueAmount(DebtPayment payment, String strCurrencyTo,
+      Date conversionDate, BigDecimal multiplier) {
+    BigDecimal overdueAmount = BigDecimal.ZERO;
+
+    if (payment.getDueDate().compareTo(new Date(System.currentTimeMillis())) > 0) {
+      return BigDecimal.ZERO;
+    } else if ("PAID".equals(getMigratedPaymentStatus(payment))) {
+      return BigDecimal.ZERO;
+    } else if ("NOTPAID".equals(getMigratedPaymentStatus(payment))) {
+      return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+          .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+          .getOrganization().getId());
+    } else if (payment.getSettlementCancelled() == null) {
+      return getConvertedAmt(payment.getAmount().multiply(multiplier), payment.getCurrency()
+          .getId(), strCurrencyTo, conversionDate, payment.getClient().getId(), payment
+          .getOrganization().getId());
+    } else if (payment.isPaymentComplete()) {
+      return BigDecimal.ZERO;
+    } else if (payment.getSettlementCancelled() != null
+        && payment.getSettlementCancelled().getProcessed().equals("Y")) {
+
+      boolean paymentCompletelyPaid = true;
+      for (DebtPayment cancelledPayment : payment.getSettlementCancelled()
+          .getFinancialMgmtDebtPaymentSettlementCancelledList()) {
+        if (!cancelledPayment.isPaymentComplete()
+            && cancelledPayment.getAmount().compareTo(cancelledPayment.getWriteoffAmount()) != 0
+            && getMigratedPaymentStatus(cancelledPayment).equals("NOTMIGRATED")) {
+          // write off amount is equals to the payment's amount it is considered as paid
+          paymentCompletelyPaid = false;
+          break;
+        } else if (getMigratedPaymentStatus(cancelledPayment).equals("NOTPAID")) {
+          paymentCompletelyPaid = false;
+          break;
+        }
+      }
+      if (paymentCompletelyPaid) {
+        // The sum of all canceled not paid payments in the settlement is zero. This means that the
+        // payment has been paid completely, as it was canceled with some other pending payments
+        // (for example, the ones comming from a credit memo)
+        return BigDecimal.ZERO;
+      }
+      List<DebtPayment> generatedPayments = payment.getSettlementCancelled()
+          .getFinancialMgmtDebtPaymentCSettlementGenerateIDList();
+      if (generatedPayments == null || generatedPayments.size() == 0) {
+        return BigDecimal.ZERO;
+      }
+      BigDecimal generatedPaymentTotalAmount = BigDecimal.ZERO;
+      BigDecimal generatedPaymentOverdueAmount = BigDecimal.ZERO;
+      for (DebtPayment generatedPayment : generatedPayments) {
+        BigDecimal signMultiplier = generatedPayment.isReceipt() == payment.isReceipt() ? BigDecimal.ONE
+            : BigDecimal.ONE.negate();
+        generatedPaymentTotalAmount = generatedPaymentTotalAmount.add(getConvertedAmt(
+            generatedPayment.getAmount(), generatedPayment.getCurrency().getId(), strCurrencyTo,
+            conversionDate, generatedPayment.getClient().getId(),
+            generatedPayment.getOrganization().getId()).multiply(signMultiplier));
+        if (generatedPayment.isPaymentComplete()) {
+          continue;
+        }
+        generatedPaymentOverdueAmount = generatedPaymentOverdueAmount.add(calculateOverdueAmount(
+            generatedPayment, strCurrencyTo,
+            generatedPayment.getSettlementGenerate().getAccountingDate(), BigDecimal.ONE).multiply(
+            signMultiplier));
+      }
+      if (generatedPaymentTotalAmount.compareTo(BigDecimal.ZERO) == 0) {
+        return BigDecimal.ZERO;
+      }
+      // payment amount * (generatedPaymentOverdueAmount / generatedPaymentTotalAmount)
+      BigDecimal overdueAmountTmp = payment.getAmount().multiply(generatedPaymentOverdueAmount)
+          .divide(generatedPaymentTotalAmount);
+      // set scale of the currency using standard precision
+      overdueAmount = overdueAmount.add(overdueAmountTmp.setScale(payment.getCurrency()
+          .getStandardPrecision().intValue(), RoundingMode.HALF_UP));
+    }
+    return overdueAmount;
+  }
+
+  public static BigDecimal getConvertedAmt(BigDecimal Amt, String CurFrom_ID, String CurTo_ID,
+      Date ConvDate, String client, String org) {
+    if (CurFrom_ID == null || CurTo_ID == null || CurFrom_ID.equals(CurTo_ID))
+      return Amt;
+    if (conn == null) {
+      conn = new DalConnectionProvider();
+    }
+    String dateFormat = OBPropertiesProvider.getInstance().getOpenbravoProperties()
+        .getProperty("dateFormat.java");
+    SimpleDateFormat dateFormater = new SimpleDateFormat(dateFormat);
+    String strConvertedAmount = AcctServer.getConvertedAmt(Amt.toString(), CurFrom_ID, CurTo_ID,
+        dateFormater.format(ConvDate).toString(), "S", client, org, conn);
+    return new BigDecimal(strConvertedAmount);
+  }
+
+  private static String getMigratedPaymentStatus(DebtPayment payment) {
+    String status = "NOTMIGRATED";
+
+    if (payment.getEntity().hasProperty("aPRMTPayment")) {
+      final FIN_Payment migratedPayment = (FIN_Payment) payment.get("aPRMTPayment");
+      if (migratedPayment != null) {
+        if (FIN_Utility.isPaymentConfirmed(migratedPayment.getStatus(), null)) {
+          status = "PAID";
+        } else {
+          status = "NOTPAID";
+        }
       }
     }
+    return status;
   }
 }
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java	Fri Nov 11 17:17:39 2011 +0100
@@ -20,6 +20,8 @@
 
 import java.math.BigDecimal;
 import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
 import java.util.List;
 import java.util.Set;
 import java.util.TreeSet;
@@ -29,7 +31,7 @@
 import org.openbravo.advpaymentmngt.dao.TransactionsDao;
 import org.openbravo.advpaymentmngt.exception.NoExecutionProcessFoundException;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
-import org.openbravo.base.exception.OBException;
+import org.openbravo.base.provider.OBProvider;
 import org.openbravo.base.secureApp.VariablesSecureApp;
 import org.openbravo.dal.core.OBContext;
 import org.openbravo.dal.service.OBCriteria;
@@ -43,10 +45,12 @@
 import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
 import org.openbravo.model.financialmgmt.payment.FIN_Payment;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentDetail;
-import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedule;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentScheduleDetail;
+import org.openbravo.model.financialmgmt.payment.FIN_Payment_Credit;
 import org.openbravo.model.financialmgmt.payment.PaymentExecutionProcess;
+import org.openbravo.model.pricing.pricelist.PriceList;
 import org.openbravo.scheduling.ProcessBundle;
+import org.openbravo.service.db.DalConnectionProvider;
 
 public class FIN_PaymentProcess implements org.openbravo.scheduling.Process {
   private static AdvPaymentMngtDao dao;
@@ -180,12 +184,39 @@
           if (paymentAmount.compareTo(payment.getAmount()) != 0)
             payment.setUsedCredit(paymentAmount.subtract(payment.getAmount()));
           if (payment.getUsedCredit().compareTo(BigDecimal.ZERO) != 0)
-            updateUsedCredit(payment.getUsedCredit(), payment.getBusinessPartner(),
-                payment.isReceipt());
+            updateUsedCredit(payment);
 
           payment.setWriteoffAmount(paymentWriteOfAmount);
           payment.setProcessed(true);
           payment.setAPRMProcessPayment("R");
+          if (BigDecimal.ZERO.compareTo(payment.getUsedCredit()) != 0
+              || BigDecimal.ZERO.compareTo(payment.getGeneratedCredit()) != 0) {
+            BusinessPartner businessPartner = payment.getBusinessPartner();
+            if (businessPartner == null) {
+              msg.setType("Error");
+              msg.setTitle(Utility.messageBD(conProvider, "Error", language));
+              msg.setMessage(Utility.parseTranslation(conProvider, vars, language,
+                  "@APRM_CreditWithoutBPartner@"));
+              bundle.setResult(msg);
+              OBDal.getInstance().rollbackAndClose();
+              return;
+            }
+            PriceList priceList = payment.isReceipt() ? businessPartner.getPriceList()
+                : businessPartner.getPurchasePricelist();
+            if (!payment.getCurrency().getId()
+                .equals(priceList != null ? priceList.getCurrency().getId() : "")) {
+              msg.setType("Error");
+              msg.setTitle(Utility.messageBD(conProvider, "Error", language));
+              msg.setMessage(String.format(
+                  Utility.parseTranslation(conProvider, vars, language, "@APRM_CreditCurrency@"),
+                  priceList != null ? priceList.getCurrency().getISOCode() : Utility
+                      .parseTranslation(conProvider, vars, language,
+                          "@APRM_CreditNoPricelistCurrency@")));
+              bundle.setResult(msg);
+              OBDal.getInstance().rollbackAndClose();
+              return;
+            }
+          }
           // Execution Process
           if (dao.isAutomatedExecutionPayment(payment.getAccount(), payment.getPaymentMethod(),
               payment.isReceipt())) {
@@ -267,15 +298,11 @@
                   } else {
                     increaseCustomerCredit(businessPartner, amount);
                   }
-                  validateAmount(paymentScheduleDetail.getInvoicePaymentSchedule(),
-                      paymentScheduleDetail.getAmount(), paymentScheduleDetail.getWriteoffAmount());
                   FIN_AddPayment.updatePaymentScheduleAmounts(
                       paymentScheduleDetail.getInvoicePaymentSchedule(),
                       paymentScheduleDetail.getAmount(), paymentScheduleDetail.getWriteoffAmount());
                 }
                 if (paymentScheduleDetail.getOrderPaymentSchedule() != null) {
-                  validateAmount(paymentScheduleDetail.getOrderPaymentSchedule(),
-                      paymentScheduleDetail.getAmount(), paymentScheduleDetail.getWriteoffAmount());
                   FIN_AddPayment.updatePaymentScheduleAmounts(
                       paymentScheduleDetail.getOrderPaymentSchedule(),
                       paymentScheduleDetail.getAmount(), paymentScheduleDetail.getWriteoffAmount());
@@ -298,7 +325,10 @@
                 && payment.getAmount().compareTo(BigDecimal.ZERO) != 0)
               triggerAutomaticFinancialAccountTransaction(vars, conProvider, payment);
           }
-
+          if (!payment.getAccount().getCurrency().equals(payment.getCurrency())
+              && getConversionRateDocument(payment).size() == 0) {
+            insertConversionRateDocument(payment);
+          }
         } finally {
           OBDal.getInstance().flush();
           OBContext.restorePreviousMode();
@@ -373,23 +403,46 @@
           }
           List<FIN_PaymentDetail> paymentDetails = payment.getFINPaymentDetailList();
           List<ConversionRateDoc> conversionRates = payment.getCurrencyConversionRateDocList();
+          Set<String> invoiceDocNos = new HashSet<String>();
           for (FIN_PaymentDetail paymentDetail : paymentDetails) {
             removedPDS = new ArrayList<FIN_PaymentScheduleDetail>();
             for (FIN_PaymentScheduleDetail paymentScheduleDetail : paymentDetail
                 .getFINPaymentScheduleDetailList()) {
               BigDecimal amount = paymentScheduleDetail.getAmount().add(
                   paymentScheduleDetail.getWriteoffAmount());
-              if (paymentScheduleDetail.getInvoicePaymentSchedule() != null && restorePaidAmounts) {
-                FIN_AddPayment.updatePaymentScheduleAmounts(paymentScheduleDetail
-                    .getInvoicePaymentSchedule(), paymentScheduleDetail.getAmount().negate(),
-                    paymentScheduleDetail.getWriteoffAmount().negate());
-                // BP SO_CreditUsed
-                businessPartner = paymentScheduleDetail.getInvoicePaymentSchedule().getInvoice()
-                    .getBusinessPartner();
-                if (isReceipt) {
-                  increaseCustomerCredit(businessPartner, amount);
-                } else {
-                  decreaseCustomerCredit(businessPartner, amount);
+              if (paymentScheduleDetail.getInvoicePaymentSchedule() != null) {
+                // Remove invoice description related to the credit payments
+                final Invoice invoice = paymentScheduleDetail.getInvoicePaymentSchedule()
+                    .getInvoice();
+                invoiceDocNos.add(invoice.getDocumentNo());
+                final String invDesc = invoice.getDescription();
+                if (invDesc != null) {
+                  final String creditMsg = Utility.messageBD(new DalConnectionProvider(),
+                      "APRM_InvoiceDescUsedCredit", vars.getLanguage());
+                  if (creditMsg != null) {
+                    final StringBuffer newDesc = new StringBuffer();
+                    for (final String line : invDesc.split("\n")) {
+                      if (!line.startsWith(creditMsg.substring(0, creditMsg.lastIndexOf("%s")))) {
+                        newDesc.append(line);
+                        if (!"".equals(line))
+                          newDesc.append("\n");
+                      }
+                    }
+                    invoice.setDescription(newDesc.toString());
+                  }
+                }
+                if (restorePaidAmounts) {
+                  FIN_AddPayment.updatePaymentScheduleAmounts(paymentScheduleDetail
+                      .getInvoicePaymentSchedule(), paymentScheduleDetail.getAmount().negate(),
+                      paymentScheduleDetail.getWriteoffAmount().negate());
+                  // BP SO_CreditUsed
+                  businessPartner = paymentScheduleDetail.getInvoicePaymentSchedule().getInvoice()
+                      .getBusinessPartner();
+                  if (isReceipt) {
+                    increaseCustomerCredit(businessPartner, amount);
+                  } else {
+                    decreaseCustomerCredit(businessPartner, amount);
+                  }
                 }
               }
               if (paymentScheduleDetail.getOrderPaymentSchedule() != null && restorePaidAmounts) {
@@ -429,9 +482,43 @@
 
           if (payment.getGeneratedCredit().compareTo(BigDecimal.ZERO) == 0
               && payment.getUsedCredit().compareTo(BigDecimal.ZERO) == 1) {
-            undoUsedCredit(payment.getUsedCredit(), payment.getBusinessPartner(),
-                payment.isReceipt());
+            undoUsedCredit(payment, vars, invoiceDocNos);
           }
+
+          List<FIN_Payment> creditPayments = new ArrayList<FIN_Payment>();
+          for (final FIN_Payment_Credit pc : payment.getFINPaymentCreditList()) {
+            creditPayments.add(pc.getCreditPaymentUsed());
+          }
+          for (final FIN_Payment creditPayment : creditPayments) {
+            // Update Description
+            final String payDesc = creditPayment.getDescription();
+            if (payDesc != null) {
+              final String invoiceDocNoMsg = Utility.messageBD(new DalConnectionProvider(),
+                  "APRM_CreditUsedinInvoice", vars.getLanguage());
+              if (invoiceDocNoMsg != null) {
+                final StringBuffer newDesc = new StringBuffer();
+                for (final String line : payDesc.split("\n")) {
+                  boolean include = true;
+                  if (line.startsWith(invoiceDocNoMsg.substring(0,
+                      invoiceDocNoMsg.lastIndexOf("%s")))) {
+                    for (final String docNo : invoiceDocNos) {
+                      if (line.indexOf(docNo) > 0) {
+                        include = false;
+                        break;
+                      }
+                    }
+                  }
+                  if (include) {
+                    newDesc.append(line);
+                    if (!"".equals(line))
+                      newDesc.append("\n");
+                  }
+                }
+                creditPayment.setDescription(newDesc.toString());
+              }
+            }
+          }
+          payment.getFINPaymentCreditList().clear();
           payment.setGeneratedCredit(BigDecimal.ZERO);
           payment.setUsedCredit(BigDecimal.ZERO);
 
@@ -492,6 +579,7 @@
              * Cancel all payment schedule details related to the payment
              */
             final List<FIN_PaymentScheduleDetail> removedPDS = new ArrayList<FIN_PaymentScheduleDetail>();
+            Set<String> invoiceDocNos = new HashSet<String>();
             for (final FIN_PaymentDetail paymentDetail : payment.getFINPaymentDetailList()) {
               for (final FIN_PaymentScheduleDetail paymentScheduleDetail : paymentDetail
                   .getFINPaymentScheduleDetailList()) {
@@ -509,6 +597,8 @@
                       outStandingAmt = outStandingAmt.add(invScheDetail.getAmount());
                       paymentScheduleDetail.setCanceled(true);
                     }
+                    invoiceDocNos.add(paymentScheduleDetail.getInvoicePaymentSchedule()
+                        .getInvoice().getDocumentNo());
                   }
                   // Create merged Payment Schedule Detail with the pending to be paid amount
                   if (outStandingAmt.compareTo(BigDecimal.ZERO) != 0) {
@@ -556,6 +646,12 @@
               for (FIN_PaymentScheduleDetail removedPD : removedPDS)
                 OBDal.getInstance().remove(removedPD);
             }
+            if (payment.getGeneratedCredit().compareTo(BigDecimal.ZERO) == 0
+                && payment.getUsedCredit().compareTo(BigDecimal.ZERO) == 1) {
+              undoUsedCredit(payment, vars, invoiceDocNos);
+            }
+            payment.getFINPaymentCreditList().clear();
+            payment.setUsedCredit(BigDecimal.ZERO);
           }
         } finally {
           OBDal.getInstance().flush();
@@ -612,7 +708,12 @@
   private void triggerAutomaticFinancialAccountTransaction(VariablesSecureApp vars,
       ConnectionProvider connectionProvider, FIN_Payment payment) {
     FIN_FinaccTransaction transaction = TransactionsDao.createFinAccTransaction(payment);
-    TransactionsDao.process(transaction);
+    try {
+      processTransaction(vars, connectionProvider, "P", transaction);
+    } catch (Exception e) {
+      OBDal.getInstance().rollbackAndClose();
+      e.printStackTrace(System.err);
+    }
     return;
   }
 
@@ -626,70 +727,143 @@
     return true;
   }
 
-  private static void updateUsedCredit(BigDecimal usedAmount, BusinessPartner bp, boolean isReceipt) {
-    List<FIN_Payment> payments = dao.getCustomerPaymentsWithCredit(bp, isReceipt);
-    BigDecimal pendingToAllocateAmount = usedAmount;
-    for (FIN_Payment payment : payments) {
-      BigDecimal availableAmount = payment.getGeneratedCredit().subtract(payment.getUsedCredit());
-      if (pendingToAllocateAmount.compareTo(availableAmount) == 1) {
-        payment.setUsedCredit(payment.getUsedCredit().add(availableAmount));
-        pendingToAllocateAmount = pendingToAllocateAmount.subtract(availableAmount);
-        OBDal.getInstance().save(payment);
-      } else {
-        payment.setUsedCredit(payment.getUsedCredit().add(pendingToAllocateAmount));
-        OBDal.getInstance().save(payment);
-        break;
+  private void updateUsedCredit(FIN_Payment newPayment) {
+    if (newPayment.getFINPaymentCreditList().isEmpty()) {
+      // We process the payment from the Payment In/Out window (not from the Process Invoice flow)
+      final BigDecimal usedAmount = newPayment.getUsedCredit();
+      final BusinessPartner bp = newPayment.getBusinessPartner();
+      final boolean isReceipt = newPayment.isReceipt();
+
+      List<FIN_Payment> creditPayments = dao.getCustomerPaymentsWithCredit(bp, isReceipt);
+      BigDecimal pendingToAllocateAmount = usedAmount;
+      for (FIN_Payment creditPayment : creditPayments) {
+        BigDecimal availableAmount = creditPayment.getGeneratedCredit().subtract(
+            creditPayment.getUsedCredit());
+        if (pendingToAllocateAmount.compareTo(availableAmount) == 1) {
+          creditPayment.setUsedCredit(creditPayment.getUsedCredit().add(availableAmount));
+          pendingToAllocateAmount = pendingToAllocateAmount.subtract(availableAmount);
+          linkCreditPayment(newPayment, availableAmount, creditPayment);
+          OBDal.getInstance().save(creditPayment);
+        } else {
+          creditPayment.setUsedCredit(creditPayment.getUsedCredit().add(pendingToAllocateAmount));
+          linkCreditPayment(newPayment, pendingToAllocateAmount, creditPayment);
+          OBDal.getInstance().save(creditPayment);
+          break;
+        }
       }
     }
   }
 
-  private void undoUsedCredit(BigDecimal usedAmount, BusinessPartner bp, Boolean isReceipt) {
-    List<FIN_Payment> payments = dao.getCustomerPaymentsWithUsedCredit(bp, isReceipt);
-    BigDecimal pendingDeallocateAmount = usedAmount;
-    for (FIN_Payment payment : payments) {
-      BigDecimal paymentUsedAmount = payment.getUsedCredit();
-      if (usedAmount.compareTo(paymentUsedAmount) == 1) {
-        payment.setUsedCredit(BigDecimal.ZERO);
-        pendingDeallocateAmount = pendingDeallocateAmount.subtract(paymentUsedAmount);
-        OBDal.getInstance().save(payment);
-      } else {
-        payment.setUsedCredit(payment.getUsedCredit().subtract(pendingDeallocateAmount));
-        OBDal.getInstance().save(payment);
-        break;
+  public static void linkCreditPayment(FIN_Payment newPayment, BigDecimal usedAmount,
+      FIN_Payment creditPayment) {
+    final FIN_Payment_Credit creditInfo = OBProvider.getInstance().get(FIN_Payment_Credit.class);
+    creditInfo.setPayment(newPayment);
+    creditInfo.setAmount(usedAmount);
+    creditInfo.setCurrency(newPayment.getCurrency());
+    creditInfo.setCreditPaymentUsed(creditPayment);
+    creditInfo.setOrganization(newPayment.getOrganization());
+    creditInfo.setClient(newPayment.getClient());
+    newPayment.getFINPaymentCreditList().add(creditInfo);
+  }
+
+  private void undoUsedCredit(FIN_Payment myPayment, VariablesSecureApp vars,
+      Set<String> invoiceDocNos) {
+    final List<FIN_Payment> payments = new ArrayList<FIN_Payment>();
+    for (final FIN_Payment_Credit pc : myPayment.getFINPaymentCreditList()) {
+      final FIN_Payment creditPaymentUsed = pc.getCreditPaymentUsed();
+      creditPaymentUsed.setUsedCredit(creditPaymentUsed.getUsedCredit().subtract(pc.getAmount()));
+      payments.add(creditPaymentUsed);
+    }
+
+    for (final FIN_Payment payment : payments) {
+      // Update Description
+      final String payDesc = payment.getDescription();
+      if (payDesc != null) {
+        final String invoiceDocNoMsg = Utility.messageBD(new DalConnectionProvider(),
+            "APRM_CreditUsedinInvoice", vars.getLanguage());
+        if (invoiceDocNoMsg != null) {
+          final StringBuffer newDesc = new StringBuffer();
+          for (final String line : payDesc.split("\n")) {
+            boolean include = true;
+            if (line.startsWith(invoiceDocNoMsg.substring(0, invoiceDocNoMsg.lastIndexOf("%s")))) {
+              for (final String docNo : invoiceDocNos) {
+                if (line.indexOf(docNo) > 0) {
+                  include = false;
+                  break;
+                }
+              }
+            }
+            if (include) {
+              newDesc.append(line);
+              if (!"".equals(line))
+                newDesc.append("\n");
+            }
+          }
+          payment.setDescription(newDesc.toString());
+        }
       }
     }
   }
 
-  /**
-   * Checks if the amount to pay/receive fits with the outstanding amount in the invoice or order.
-   * 
-   * @param paymentSchedule
-   *          Payment plan of the order or invoice where the outstanding amount is specified.
-   * @param amount
-   *          Amount to by paid or received.
-   * @param writeOffAmount
-   *          Write off amount.
-   * @return True if the amount is valid.
-   * @throws OBException
-   *           Exception explaining why the amount is not valid.
-   */
-  private boolean validateAmount(FIN_PaymentSchedule paymentSchedule, BigDecimal amount,
-      BigDecimal writeOffAmount) throws OBException {
-    BigDecimal totalPaid = amount;
-    BigDecimal outstanding = paymentSchedule.getOutstandingAmount();
-    if (writeOffAmount != null && writeOffAmount.compareTo(BigDecimal.ZERO) != 0) {
-      totalPaid = amount.add(writeOffAmount);
-    }
-    // ((totalPaid > 0 || outstanding > 0) && totalPaid <= outstanding)
-    // || (totalPaid < 0 && outstanding < 0 && totalPaid >= outstanding)
-    if (((totalPaid.compareTo(BigDecimal.ZERO) == 1 || outstanding.compareTo(BigDecimal.ZERO) == 1) && totalPaid
-        .compareTo(outstanding) <= 0)
-        || (totalPaid.compareTo(BigDecimal.ZERO) == -1
-            && outstanding.compareTo(BigDecimal.ZERO) == -1 && totalPaid.compareTo(outstanding) >= 0)) {
-      return true;
-    } else {
-      throw new OBException(String.format(FIN_Utility.messageBD("APRM_AmountOutOfRange"),
-          totalPaid.toString(), paymentSchedule.getOutstandingAmount().toString()));
+  private List<ConversionRateDoc> getConversionRateDocument(FIN_Payment payment) {
+    OBContext.setAdminMode();
+    try {
+      OBCriteria<ConversionRateDoc> obc = OBDal.getInstance().createCriteria(
+          ConversionRateDoc.class);
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_CURRENCY, payment.getCurrency()));
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_TOCURRENCY, payment.getAccount()
+          .getCurrency()));
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_PAYMENT, payment));
+      return obc.list();
+    } finally {
+      OBContext.restorePreviousMode();
     }
   }
+
+  private ConversionRateDoc insertConversionRateDocument(FIN_Payment payment) {
+    OBContext.setAdminMode();
+    try {
+      ConversionRateDoc newConversionRateDoc = OBProvider.getInstance()
+          .get(ConversionRateDoc.class);
+      newConversionRateDoc.setOrganization(payment.getOrganization());
+      newConversionRateDoc.setCurrency(payment.getCurrency());
+      newConversionRateDoc.setToCurrency(payment.getAccount().getCurrency());
+      newConversionRateDoc.setRate(payment.getFinancialTransactionConvertRate());
+      newConversionRateDoc.setForeignAmount(payment.getFinancialTransactionAmount());
+      newConversionRateDoc.setPayment(payment);
+      OBDal.getInstance().save(newConversionRateDoc);
+      OBDal.getInstance().flush();
+      return newConversionRateDoc;
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
+  /**
+   * It calls the Transaction Process for the given transaction and action.
+   * 
+   * @param vars
+   *          VariablesSecureApp with the session data.
+   * @param conn
+   *          ConnectionProvider with the connection being used.
+   * @param strAction
+   *          String with the action of the process. {P, D, R}
+   * @param transaction
+   *          FIN_FinaccTransaction that needs to be processed.
+   * @return a OBError with the result message of the process.
+   * @throws Exception
+   */
+  private OBError processTransaction(VariablesSecureApp vars, ConnectionProvider conn,
+      String strAction, FIN_FinaccTransaction transaction) throws Exception {
+    ProcessBundle pb = new ProcessBundle("F68F2890E96D4D85A1DEF0274D105BCE", vars).init(conn);
+    HashMap<String, Object> parameters = new HashMap<String, Object>();
+    parameters.put("action", strAction);
+    parameters.put("Fin_FinAcc_Transaction_ID", transaction.getId());
+    pb.setParams(parameters);
+    OBError myMessage = null;
+    new FIN_TransactionProcess().execute(pb);
+    myMessage = (OBError) pb.getResult();
+    return myMessage;
+  }
+
 }
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ReconciliationProcess.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ReconciliationProcess.java	Fri Nov 11 17:17:39 2011 +0100
@@ -51,7 +51,12 @@
       final String strAction = (String) bundle.getParams().get("action");
 
       // retrieve standard params
-      final String recordID = (String) bundle.getParams().get("Aprm_Reconciliation_V_ID");
+      String recordID = (String) bundle.getParams().get("FIN_Reconciliation_ID");
+      // This code is kept to maintain compatibility with previous tab which was built
+      // on to of a view
+      if (recordID == null || "".equals(recordID)) {
+        recordID = (String) bundle.getParams().get("Aprm_Reconciliation_V_ID");
+      }
       final FIN_Reconciliation reconciliation = dao.getObject(FIN_Reconciliation.class, recordID);
       final VariablesSecureApp vars = bundle.getContext().toVars();
       final ConnectionProvider conProvider = bundle.getConnection();
@@ -72,6 +77,7 @@
         }
         reconciliation.setProcessed(true);
         reconciliation.setAPRMProcessReconciliation("R");
+        reconciliation.setAprmProcessRec("R");
         reconciliation.setDocumentStatus("CO");
         OBDal.getInstance().save(reconciliation);
         OBDal.getInstance().flush();
@@ -103,6 +109,7 @@
         OBDal.getInstance().flush();
         reconciliation.setDocumentStatus("DR");
         reconciliation.setAPRMProcessReconciliation("P");
+        reconciliation.setAprmProcessRec("P");
         OBDal.getInstance().save(reconciliation);
         OBDal.getInstance().flush();
       }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionModify.java	Fri Nov 11 17:17:39 2011 +0100
@@ -0,0 +1,232 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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) 2010-2011 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ *************************************************************************
+ */
+package org.openbravo.advpaymentmngt.process;
+
+import java.util.List;
+
+import org.hibernate.criterion.Restrictions;
+import org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao;
+import org.openbravo.advpaymentmngt.utility.FIN_Utility;
+import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.erpCommon.utility.OBError;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.model.common.businesspartner.BusinessPartner;
+import org.openbravo.model.common.plm.Product;
+import org.openbravo.model.financialmgmt.accounting.FIN_FinancialAccountAccounting;
+import org.openbravo.model.financialmgmt.gl.GLItem;
+import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
+import org.openbravo.model.financialmgmt.payment.FIN_Payment;
+import org.openbravo.model.financialmgmt.payment.FinAccPaymentMethod;
+import org.openbravo.model.marketing.Campaign;
+import org.openbravo.model.materialmgmt.cost.ABCActivity;
+import org.openbravo.model.project.Project;
+import org.openbravo.model.sales.SalesRegion;
+import org.openbravo.scheduling.ProcessBundle;
+
+public class FIN_TransactionModify implements org.openbravo.scheduling.Process {
+  private static AdvPaymentMngtDao dao;
+
+  public void execute(ProcessBundle bundle) throws Exception {
+    dao = new AdvPaymentMngtDao();
+    OBError msg = new OBError();
+    msg.setType("Success");
+    msg.setTitle(Utility.messageBD(bundle.getConnection(), "Success", bundle.getContext()
+        .getLanguage()));
+
+    OBContext.setAdminMode();
+    try {
+      String recordID = (String) bundle.getParams().get("FIN_Finacc_Transaction_ID");
+      if (recordID == null || "".equals(recordID)) {
+        recordID = (String) bundle.getParams().get("Aprm_Finacc_Transaction_V_ID");
+      }
+      final FIN_FinaccTransaction transaction = dao
+          .getObject(FIN_FinaccTransaction.class, recordID);
+      // Checks
+      if ("Y".equals(transaction.getPosted()) && isTransactionPostingEnabled(transaction)) {
+        msg.setType("Error");
+        msg.setTitle(Utility.messageBD(bundle.getConnection(), "Error", bundle.getContext()
+            .getLanguage()));
+        msg.setMessage(Utility.parseTranslation(bundle.getConnection(), bundle.getContext()
+            .toVars(), bundle.getContext().getLanguage(), "@PostedDocument@"));
+        bundle.setResult(msg);
+        return;
+      }
+
+      if (transaction.getReconciliation() != null
+          && "Y".equals(transaction.getReconciliation().getPosted())
+          && !isTransactionPostingEnabled(transaction)) {
+        msg.setType("Error");
+        msg.setTitle(Utility.messageBD(bundle.getConnection(), "Error", bundle.getContext()
+            .getLanguage()));
+        msg.setMessage(Utility.parseTranslation(bundle.getConnection(), bundle.getContext()
+            .toVars(), bundle.getContext().getLanguage(), "@APRM_RelatedPostedDocument@"));
+        bundle.setResult(msg);
+        return;
+      }
+      GLItem oldGLItem = transaction.getGLItem();
+      GLItem newGLItem = oldGLItem;
+      final String strGLItemId = (String) bundle.getParams().get("cGlitemId");
+      final String strProductId = (String) bundle.getParams().get("mProductId");
+      final String strBPartnerId = (String) bundle.getParams().get("cBpartnerId");
+      final String strProjectId = (String) bundle.getParams().get("cProjectId");
+      final String strCampaignId = (String) bundle.getParams().get("cCampaignId");
+      final String strActivityId = (String) bundle.getParams().get("cActivityId");
+      final String strSalesRegionId = (String) bundle.getParams().get("cSalesregionId");
+      transaction.setProcessed(false);
+      OBDal.getInstance().save(transaction);
+      OBDal.getInstance().flush();
+      if (strGLItemId != null && !"".equals(strGLItemId)) {
+        newGLItem = OBDal.getInstance().get(GLItem.class, strGLItemId);
+        transaction.setGLItem(OBDal.getInstance().get(GLItem.class, strGLItemId));
+      } else {
+        transaction.setGLItem(null);
+      }
+      if (strProductId != null && !"".equals(strProductId)) {
+        transaction.setProduct(OBDal.getInstance().get(Product.class, strProductId));
+      } else {
+        transaction.setProduct(null);
+      }
+      if (strBPartnerId != null && !"".equals(strBPartnerId)) {
+        transaction.setBusinessPartner(OBDal.getInstance()
+            .get(BusinessPartner.class, strBPartnerId));
+      } else {
+        transaction.setBusinessPartner(null);
+      }
+      if (strProjectId != null && !"".equals(strProjectId)) {
+        transaction.setProject(OBDal.getInstance().get(Project.class, strProjectId));
+      } else {
+        transaction.setProject(null);
+      }
+      if (strCampaignId != null && !"".equals(strCampaignId)) {
+        transaction.setSalesCampaign(OBDal.getInstance().get(Campaign.class, strCampaignId));
+      } else {
+        transaction.setSalesCampaign(null);
+      }
+      if (strActivityId != null && !"".equals(strActivityId)) {
+        transaction.setActivity(OBDal.getInstance().get(ABCActivity.class, strActivityId));
+      } else {
+        transaction.setActivity(null);
+      }
+      if (strSalesRegionId != null && !"".equals(strSalesRegionId)) {
+        transaction.setSalesRegion(OBDal.getInstance().get(SalesRegion.class, strSalesRegionId));
+      } else {
+        transaction.setSalesRegion(null);
+      }
+      String description = transaction.getDescription();
+      String oldGlItemString = Utility.messageBD(bundle.getConnection(), "APRM_GLItem", bundle
+          .getContext().toVars().getLanguage())
+          + ": " + oldGLItem.getName();
+      String newGlItemString = Utility.messageBD(bundle.getConnection(), "APRM_GLItem", bundle
+          .getContext().toVars().getLanguage())
+          + ": " + newGLItem.getName();
+      if (!description.isEmpty()) {
+        description = description.indexOf(oldGlItemString) != -1 ? description.substring(0,
+            description.indexOf(oldGlItemString))
+            + description.substring(
+                oldGlItemString.length() + description.indexOf(oldGlItemString),
+                description.length()) : description;
+      }
+      description = description.isEmpty() ? newGlItemString : description + "\n" + newGlItemString;
+      transaction.setDescription(description);
+      transaction.setProcessed(true);
+      OBDal.getInstance().save(transaction);
+      OBDal.getInstance().flush();
+      bundle.setResult(msg);
+    } catch (final Exception e) {
+      OBDal.getInstance().rollbackAndClose();
+      e.printStackTrace(System.err);
+      msg.setType("Error");
+      msg.setTitle(Utility.messageBD(bundle.getConnection(), "Error", bundle.getContext()
+          .getLanguage()));
+      msg.setMessage(FIN_Utility.getExceptionMessage(e));
+      bundle.setResult(msg);
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
+  private boolean isTransactionPostingEnabled(FIN_FinaccTransaction transaction) {
+    boolean confirmation = false;
+    OBContext.setAdminMode();
+    final String TRXTYPE_BPDeposit = "BPD";
+    final String TRXTYPE_BPWithdrawal = "BPW";
+    final String TRXTYPE_BankFee = "BF";
+    try {
+      List<FIN_FinancialAccountAccounting> accounts = transaction.getAccount()
+          .getFINFinancialAccountAcctList();
+      FIN_Payment payment = transaction.getFinPayment();
+      if (payment != null) {
+        OBCriteria<FinAccPaymentMethod> obCriteria = OBDal.getInstance().createCriteria(
+            FinAccPaymentMethod.class);
+        obCriteria.add(Restrictions.eq(FinAccPaymentMethod.PROPERTY_ACCOUNT, payment.getAccount()));
+        obCriteria.add(Restrictions.eq(FinAccPaymentMethod.PROPERTY_PAYMENTMETHOD,
+            payment.getPaymentMethod()));
+        obCriteria.setFilterOnReadableClients(false);
+        obCriteria.setFilterOnReadableOrganization(false);
+        List<FinAccPaymentMethod> lines = obCriteria.list();
+        for (FIN_FinancialAccountAccounting account : accounts) {
+          if (confirmation)
+            return confirmation;
+          if (payment.isReceipt()) {
+            if (("INT").equals(lines.get(0).getUponDepositUse())
+                && account.getInTransitPaymentAccountIN() != null)
+              confirmation = true;
+            else if (("DEP").equals(lines.get(0).getUponDepositUse())
+                && account.getDepositAccount() != null)
+              confirmation = true;
+            else if (("CLE").equals(lines.get(0).getUponDepositUse())
+                && account.getClearedPaymentAccount() != null)
+              confirmation = true;
+          } else {
+            if (("INT").equals(lines.get(0).getUponWithdrawalUse())
+                && account.getFINOutIntransitAcct() != null)
+              confirmation = true;
+            else if (("WIT").equals(lines.get(0).getUponWithdrawalUse())
+                && account.getWithdrawalAccount() != null)
+              confirmation = true;
+            else if (("CLE").equals(lines.get(0).getUponWithdrawalUse())
+                && account.getClearedPaymentAccountOUT() != null)
+              confirmation = true;
+          }
+        }
+      } else {
+        for (FIN_FinancialAccountAccounting account : accounts) {
+          if (confirmation)
+            return confirmation;
+          if ((TRXTYPE_BPDeposit.equals(transaction.getTransactionType()) && account
+              .getDepositAccount() != null)
+              || (TRXTYPE_BPWithdrawal.equals(transaction.getTransactionType()) && account
+                  .getWithdrawalAccount() != null)
+              || (TRXTYPE_BankFee.equals(transaction.getTransactionType()) && account
+                  .getWithdrawalAccount() != null))
+            confirmation = true;
+        }
+      }
+    } catch (Exception e) {
+      return confirmation;
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+    return confirmation;
+
+  }
+
+}
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java	Fri Nov 11 17:17:39 2011 +0100
@@ -18,14 +18,21 @@
  */
 package org.openbravo.advpaymentmngt.process;
 
+import java.util.List;
+
+import org.hibernate.criterion.Restrictions;
+import org.openbravo.advpaymentmngt.APRM_FinaccTransactionV;
 import org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao;
 import org.openbravo.advpaymentmngt.utility.FIN_Utility;
+import org.openbravo.base.provider.OBProvider;
 import org.openbravo.base.secureApp.VariablesSecureApp;
 import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.database.ConnectionProvider;
 import org.openbravo.erpCommon.utility.OBError;
 import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.model.common.currency.ConversionRateDoc;
 import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
 import org.openbravo.model.financialmgmt.payment.FIN_FinancialAccount;
 import org.openbravo.model.financialmgmt.payment.FIN_Payment;
@@ -75,6 +82,11 @@
             transaction.setStatus(transaction.getDepositAmount().compareTo(
                 transaction.getPaymentAmount()) > 0 ? "RDNC" : "PWNC");
           }
+          if (transaction.getForeignCurrency() != null
+              && !transaction.getCurrency().equals(transaction.getForeignCurrency())
+              && getConversionRateDocument(transaction).size() == 0) {
+            insertConversionRateDocument(transaction);
+          }
           OBDal.getInstance().save(financialAccount);
           OBDal.getInstance().save(transaction);
           OBDal.getInstance().flush();
@@ -100,6 +112,20 @@
             bundle.setResult(msg);
             return;
           }
+          // Remove conversion rate at document level for the given transaction
+          OBContext.setAdminMode();
+          try {
+            OBCriteria<ConversionRateDoc> obc = OBDal.getInstance().createCriteria(
+                ConversionRateDoc.class);
+            obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_FINANCIALACCOUNTTRANSACTION,
+                transaction));
+            for (ConversionRateDoc conversionRateDoc : obc.list()) {
+              OBDal.getInstance().remove(conversionRateDoc);
+            }
+            OBDal.getInstance().flush();
+          } finally {
+            OBContext.restorePreviousMode();
+          }
           transaction.setProcessed(false);
           final FIN_FinancialAccount financialAccount = transaction.getAccount();
           financialAccount.setCurrentBalance(financialAccount.getCurrentBalance()
@@ -137,4 +163,38 @@
     }
   }
 
+  private List<ConversionRateDoc> getConversionRateDocument(FIN_FinaccTransaction transaction) {
+    OBContext.setAdminMode();
+    try {
+      OBCriteria<ConversionRateDoc> obc = OBDal.getInstance().createCriteria(
+          ConversionRateDoc.class);
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_CURRENCY, transaction.getForeignCurrency()));
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_TOCURRENCY, transaction.getCurrency()));
+      obc.add(Restrictions.eq(ConversionRateDoc.PROPERTY_FINANCIALACCOUNTTRANSACTION, transaction));
+      return obc.list();
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
+  private ConversionRateDoc insertConversionRateDocument(FIN_FinaccTransaction transaction) {
+    OBContext.setAdminMode();
+    try {
+      ConversionRateDoc newConversionRateDoc = OBProvider.getInstance()
+          .get(ConversionRateDoc.class);
+      newConversionRateDoc.setOrganization(transaction.getOrganization());
+      newConversionRateDoc.setCurrency(transaction.getForeignCurrency());
+      newConversionRateDoc.setToCurrency(transaction.getCurrency());
+      newConversionRateDoc.setRate(transaction.getForeignConversionRate());
+      newConversionRateDoc.setForeignAmount(transaction.getForeignAmount());
+      newConversionRateDoc.setFinancialAccountTransaction(OBDal.getInstance().get(
+          APRM_FinaccTransactionV.class, transaction.getId()));
+      OBDal.getInstance().save(newConversionRateDoc);
+      OBDal.getInstance().flush();
+      return newConversionRateDoc;
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
 }
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java	Fri Nov 11 17:17:39 2011 +0100
@@ -151,7 +151,10 @@
 
     try {
       numberOfLines = saveFINBankStatementLines(bankStatementLines);
-      FIN_AddPayment.processBankStatement(vars, conn, "P", bankStatement.getId());
+      OBDal.getInstance().refresh(bankStatement);
+      OBError processResult = FIN_AddPayment.processBankStatement(vars, conn, "P",
+          bankStatement.getId());
+      setMyError(processResult);
     } catch (Exception e) {
       OBDal.getInstance().rollbackAndClose();
       return getMyError();
@@ -218,6 +221,9 @@
   }
 
   BusinessPartner matchBusinessPartnerByName(String partnername) {
+    if (partnername == null || "".equals(partnername)) {
+      return null;
+    }
     final StringBuilder whereClause = new StringBuilder();
     List<Object> parameters = new ArrayList<Object>();
     OBContext.setAdminMode();
@@ -226,6 +232,7 @@
       whereClause.append(" where bsl." + FIN_BankStatementLine.PROPERTY_BPARTNERNAME + " = ?");
       whereClause.append(" and bsl." + FIN_BankStatementLine.PROPERTY_BUSINESSPARTNER
           + " is not null");
+      whereClause.append(" and bsl.bankStatement.processed = 'Y'");
       whereClause.append(" order by bsl." + FIN_BankStatementLine.PROPERTY_CREATIONDATE + " desc");
       parameters.add(partnername);
       final OBQuery<FIN_BankStatementLine> bsl = OBDal.getInstance().createQuery(
@@ -242,6 +249,9 @@
   }
 
   BusinessPartner finBPByName(String partnername) {
+    if (partnername == null || "".equals(partnername)) {
+      return null;
+    }
     final StringBuilder whereClause = new StringBuilder();
     List<Object> parameters = new ArrayList<Object>();
 
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Fri Nov 11 17:17:39 2011 +0100
@@ -20,7 +20,6 @@
 package org.openbravo.advpaymentmngt.utility;
 
 import java.math.BigDecimal;
-import java.security.InvalidParameterException;
 import java.sql.BatchUpdateException;
 import java.text.DecimalFormat;
 import java.text.DecimalFormatSymbols;
@@ -46,6 +45,7 @@
 import org.openbravo.base.structure.BaseOBObject;
 import org.openbravo.client.kernel.reference.UIDefinitionController;
 import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.security.OrganizationStructureProvider;
 import org.openbravo.dal.service.OBCriteria;
 import org.openbravo.dal.service.OBDal;
 import org.openbravo.data.FieldProvider;
@@ -64,7 +64,9 @@
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentProposal;
 import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedule;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentScheduleDetail;
 import org.openbravo.model.financialmgmt.payment.FinAccPaymentMethod;
+import org.openbravo.service.db.CallStoredProcedure;
 import org.openbravo.service.db.DalConnectionProvider;
 import org.openbravo.utils.Replace;
 
@@ -946,20 +948,17 @@
   public static String getDesiredDocumentNo(final Organization organization, final Invoice invoice) {
     String invoiceDocNo;
     try {
+      // By default take the invoice document number
+      invoiceDocNo = invoice.getDocumentNo();
+
       final String paymentDescription = organization.getOrganizationInformationList().get(0)
           .getAPRMPaymentDescription();
-      if (paymentDescription.equals("Invoice Document Number")) {
-        invoiceDocNo = invoice.getDocumentNo();
-      } else if (paymentDescription.equals("Supplier Reference")) {
+      // In case of a purchase invoice and the Supplier Reference is selected use Reference
+      if (paymentDescription.equals("Supplier Reference") && !invoice.isSalesTransaction()) {
         invoiceDocNo = invoice.getOrderReference();
-        if (invoiceDocNo.length() == 0) {
+        if (invoiceDocNo == null) {
           invoiceDocNo = invoice.getDocumentNo();
         }
-      } else {
-        throw new InvalidParameterException(
-            "Not supported parameter: "
-                + paymentDescription
-                + ". Review Payment description reference. Possible values are: 'Invoice Document Number' and 'Supplier Reference'.");
       }
     } catch (Exception e) {
       invoiceDocNo = invoice.getDocumentNo();
@@ -968,4 +967,43 @@
     return invoiceDocNo;
   }
 
+  /**
+   * Returns if given payment status and related payment schedule detail belong to a confirmed
+   * payment
+   * 
+   */
+  public static boolean isPaymentConfirmed(String status, FIN_PaymentScheduleDetail psd) {
+    List<Object> parameters = new ArrayList<Object>();
+    parameters.add(status);
+    parameters.add((psd != null) ? psd.getId() : "");
+    String result = (String) CallStoredProcedure.getInstance().call("APRM_ISPAYMENTCONFIRMED",
+        parameters, null);
+
+    return "Y".equals(result);
+  }
+
+  /**
+   * Returns the legal entity of the given organization
+   * 
+   * @param org
+   *          organization to get its legal entity
+   * @return legal entity (with or without accounting) organization or null if not found
+   */
+  public static Organization getLegalEntityOrg(final Organization org) {
+    try {
+      OBContext.setAdminMode(true);
+      final OrganizationStructureProvider osp = OBContext.getOBContext()
+          .getOrganizationStructureProvider(org.getClient().getId());
+      for (final String orgId : osp.getParentList(org.getId(), true)) {
+        final Organization parentOrg = OBDal.getInstance().get(Organization.class, orgId);
+        if (parentOrg.getOrganizationType().isLegalEntity()) {
+          return parentOrg;
+        }
+      }
+      return null;
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+  }
+
 }
--- a/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/FIN_Utilities.js	Fri Nov 04 19:18:10 2011 -0500
+++ b/modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/FIN_Utilities.js	Fri Nov 11 17:17:39 2011 +0100
@@ -1,3 +1,9 @@
+/*global getGlobalDecSeparator, getGlobalGroupSeparator, getGlobalGroupInterval,
+  formatNameToMask, returnMaskChange, getDefaultMaskNumeric, getElementsByName,
+  displayLogicElement, returnFormattedNumber, returnFormattedToCalc, roundNumber,
+  returnCalcToFormatted, setWindowElementFocus, showJSMessage, initialize_MessageBox,
+  updateData, top, getFrame*/
+
 /*
  *************************************************************************
  * The contents of this file are subject to the Openbravo  Public  License
@@ -705,19 +711,30 @@
  * @return
  */
 function reloadParentGrid() {
-  if(top.opener) {
-    var dad = top.opener;
-    if (typeof dad.loadGrid === "function" || typeof dad.loadGrid === "object") {
-      top.opener.loadGrid();
-    } else if (typeof dad.updateGridDataAfterFilter === "function" || typeof dad.updateGridDataAfterFilter === "object") {
-      top.opener.updateGridDataAfterFilter();
+  var f, dad, layoutMDI, popup;
+  try {
+    f = getFrame('LayoutMDI');
+    popup = f && f.OB && f.OB.Layout.ClassicOBCompatibility.Popup;
+    layoutMDI = popup && popup.getPopup('process')
+                && popup.getPopup('process').getIframeHtmlObj()
+                && popup.getPopup('process').getIframeHtmlObj().contentWindow
+                && popup.getPopup('process').getIframeHtmlObj().contentWindow.frames[0];
+    dad = layoutMDI || top.opener;
+    if (dad) {
+      if (typeof dad.loadGrid === "function" || typeof dad.loadGrid === "object") {
+        dad.loadGrid();