Skip to content
  • 1 commit
  • 1,073 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 27, 2012
@ceefour ceefour Openbravo 3.0MP10.1 82618e1
Showing with 6,019 additions and 1,476 deletions.
  1. +2 −0 .gitignore
  2. +1 −0 CONTRIBUTORS
  3. +14 −7 build.xml
  4. +1 −1 config/instance.revision
  5. BIN ...vpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.class
  6. +54 −1 ...les/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
  7. +33 −6 modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_TAX_PAYMENT.xml
  8. +8 −0 modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/C_INVOICE.xml
  9. +290 −2 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
  10. +40 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml
  11. +1,123 −3 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml
  12. +146 −3 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
  13. +2 −2 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
  14. +2 −2 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
  15. +3 −2 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml
  16. +36 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REFERENCE.xml
  17. +24 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REF_LIST.xml
  18. +76 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TAB.xml
  19. +22 −22 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TEXTINTERFACES.xml
  20. +34 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_WINDOW.xml
  21. +80 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
  22. +31 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PROCESS.xml
  23. +21 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_REF_WINDOW.xml
  24. +2 −0 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
  25. +4 −0 .../src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments_data.xsql
  26. +4 −0 ...c-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.java
  27. +734 −0 ...advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/ModifyPaymentPlanActionHandler.java
  28. +14 −4 ....openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.html
  29. +23 −16 ...nbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromInvoice.java
  30. +3 −0 ...vo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddPaymentFromTransaction.html
  31. +7 −0 ...org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddTransaction.html
  32. +1 −1 ...rg.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ExecutePayments.html
  33. +19 −2 ...rg.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ExecutePayments.java
  34. +38 −7 ...g.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.java
  35. +5 −3 ...org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
  36. +4 −7 ...org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_forms/BatchPaymentExecution.html
  37. +460 −578 ...g.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.jrxml
  38. +141 −4 modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
  39. +29 −32 modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
  40. +51 −3 ....openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
  41. +305 −3 ...les/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
  42. +4 −4 ...rg.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
  43. +2 −2 ...org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_MatchedTransaction.java
  44. +29 −56 modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
  45. +155 −146 modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/FIN_Utilities.js
  46. +101 −6 modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-utilities.js
  47. +2 −2 modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
  48. +1 −1 modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
  49. +9 −0 modules/org.openbravo.client.application/src-db/database/model/modifiedTables/AD_FIELD.xml
  50. +13 −0 modules/org.openbravo.client.application/src-db/database/model/modifiedTables/AD_TAB.xml
  51. +365 −2 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
  52. +68 −0 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_ELEMENT.xml
  53. +259 −6 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml
  54. +68 −1 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
  55. +2 −2 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
  56. +4 −4 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
  57. +12 −1 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TAB.xml
  58. +1 −0 modules/org.openbravo.client.application/src-db/database/sourcedata/AD_TABLE.xml
  59. +47 −0 ...lient.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
  60. +45 −24 ...les/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler.java
  61. +30 −24 ...enbravo.client.application/src/org/openbravo/client/application/AlertManagementActionHandler.java
  62. +5 −1 ...enbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
  63. +51 −6 ...rg.openbravo.client.application/src/org/openbravo/client/application/DynamicExpressionParser.java
  64. +3 −2 modules/org.openbravo.client.application/src/org/openbravo/client/application/ViewComponent.java
  65. +42 −0 ...penbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
  66. +2 −3 ...openbravo.client.application/src/org/openbravo/client/application/event/SetDocumentNoHandler.java
  67. +62 −0 ...rg.openbravo.client.application/src/org/openbravo/client/application/event/UsageAuditHandler.java
  68. +4 −1 ...plication/src/org/openbravo/client/application/navigationbarcomponents/QuickLaunchDataSource.java
  69. +20 −10 ...ion/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
  70. +8 −0 ...nt.application/src/org/openbravo/client/application/templates/ob-pick-and-execute-view-tab.js.ftl
  71. +8 −0 ....openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
  72. +10 −1 ...g.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-form.js.ftl
  73. +4 −4 ...rg.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-tab.js.ftl
  74. +35 −4 ...pplication/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
  75. +81 −29 ...o.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
  76. +28 −1 ....openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
  77. +82 −6 modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewTab.java
  78. +35 −34 ...les/org.openbravo.client.application/web/org.openbravo.client.application/example/grid-example.js
  79. +146 −140 ...ravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-grid.js
  80. +127 −87 ....application/web/org.openbravo.client.application/js/alert-management/ob-alert-management-view.js
  81. +49 −44 ...o.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-manager.js
  82. +89 −86 ...vo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js
  83. +24 −25 ...g.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-help.js
Sorry, we could not display the entire diff because too many files (1,073) changed.
View
2 .gitignore
@@ -29,3 +29,5 @@
/src-wad/lib
/srcAD
/src-util/diagnostic/build/classes
+/referencedata/client_data.xml
+/referencedata/importclient/*.xml
View
1 CONTRIBUTORS
@@ -14,3 +14,4 @@ Sreedhar Sirigiri TDS - provided deep linking with filter clause
Mallikarjun M TDS - provided deep linking with filter clause
Shankar Balachandran <shaanjus4u@gmail.com> - Bug fixing
Francois Le Roux - <lerfrancois@gmail.com> - Bug fixing and documentation
+Shawn Laubach SAIC <shawn.m.laubach@saic.com> - Development
View
21 build.xml
@@ -777,7 +777,7 @@ export.database: exports database structure and data to xml files.
<taskdef name="applyModule" classname="org.openbravo.erpCommon.modules.ApplyModuleTask">
<classpath refid="project.class.path" />
</taskdef>
- <applyModule userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
+ <applyModule userId="0" adminMode="true" forceRefData="${forceRefData}" propertiesFile="${base.config}/Openbravo.properties"/>
</target>
<target name="compile.apply.module" depends="init">
@@ -794,7 +794,7 @@ export.database: exports database structure and data to xml files.
-->
<target name="apply.module" depends="compile.apply.module">
<java classname="org.openbravo.erpCommon.modules.ApplyModuleTask" fork="true" maxmemory="${build.maxmemory}" failonerror="true">
- <arg line="'${base.src}' '${friendlyWarnings}'" />
+ <arg line="'${base.src}' '${friendlyWarnings}' '${forceRefData}'" />
<classpath refid="apply.module.runtime.classpath" />
</java>
<delete includeEmptyDirs="true" dir="${build.apply.module}" />
@@ -1066,11 +1066,18 @@ export.database: exports database structure and data to xml files.
<arg value="id"/>
<arg value="-n"/>
</exec>
- <taskdef name="CoreRevision" classname="org.openbravo.erpCommon.utility.CalculateCoreRevision">
- <classpath refid="project.class.path" />
- </taskdef>
-
- <CoreRevision hgRevNo="${hg.idno}" revision="core.rev"/>
+ <propertyfile file="currentRevision.tmp">
+ <entry key="core.rev" value="3.0.${hg.idno}"/>
+ </propertyfile>
+ <replaceregexp file="currentRevision.tmp"
+ match="\+"
+ replace=""
+ byline="true"
+ />
+ <loadproperties>
+ <file file="currentRevision.tmp"/>
+ </loadproperties>
+ <delete file="currentRevision.tmp"/>
</target>
<target name="set.version.from.file" if="xml.core.rev">
View
2 config/instance.revision
@@ -1 +1 @@
-13bf82f885fb
+6fe07b22a835
View
BIN ...mngt/build/classes/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.class
Binary file not shown.
View
55 ...openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
@@ -74,13 +74,14 @@ v_finpayment_desc FIN_Payment.Description%TYPE;
v_orderno_trl AD_Message.MsgText%TYPE;
v_invoiceno_trl AD_Message.MsgText%TYPE;
v_payment_desc AD_OrgInfo.em_aprm_payment_desc%TYPE;
-
+v_fin_orig_payment_schedule_id Fin_Orig_Payment_Schedule.Fin_Orig_Payment_Schedule_Id%Type;
TYPE RECORD IS REF CURSOR;
Cur_Params RECORD;
cur_paymentschedule RECORD;
cur_finaccpaymentmethod RECORD;
cur_PaymentScheduleOrder RECORD;
+cur_paymentscheduledetail RECORD;
BEGIN
@@ -201,6 +202,7 @@ BEGIN
AND c_orderline.c_order_id = fin_payment_schedule.c_order_id
AND fin_payment_schedule.fin_payment_schedule_id = fin_payment_scheduledetail.fin_payment_schedule_order
AND fin_payment_scheduledetail.fin_payment_schedule_invoice is null
+ AND fin_payment_scheduledetail.ISCANCELED <> 'Y'
AND c_invoiceline.c_invoice_id = invoice_id
ORDER BY CASE WHEN fin_payment_scheduledetail.fin_payment_detail_id is not null THEN 0 ELSE 1 END, c_orderline.c_order_id;
order_schdet cur_order_schdet%ROWTYPE;
@@ -379,6 +381,7 @@ BEGIN
WHERE ps_inv.fin_payment_schedule_id = psd.fin_payment_schedule_invoice
AND psd.fin_payment_schedule_order = ps_ord.fin_payment_schedule_id
AND ps_inv.c_invoice_id = p_record_id
+ AND psd.ISCANCELED <> 'Y'
AND ps_ord.c_order_id = order_schdet.order_id;
-- substract previously assigned amount
@@ -755,6 +758,53 @@ BEGIN
END LOOP;
END LOOP;
END IF;
+
+ FOR cur_paymentschedule IN (
+ SELECT fin_payment_schedule_id,
+ c_invoice_id, c_currency_id, c_order_id,
+ fin_paymentmethod_id, amount, duedate,
+ fin_payment_priority_id
+ FROM FIN_PAYMENT_SCHEDULE
+ WHERE C_INVOICE_ID=p_record_id
+ )
+ LOOP
+ v_fin_orig_payment_schedule_id:=get_uuid();
+ INSERT INTO fin_orig_payment_schedule
+ (
+ fin_orig_payment_schedule_id, ad_client_id, ad_org_id, isactive,
+ created, createdby, updated, updatedby,
+ c_invoice_id, c_currency_id, c_order_id,
+ fin_paymentmethod_id,
+ amount, duedate,
+ fin_payment_priority_id
+ ) VALUES (
+ v_fin_orig_payment_schedule_id, v_client_id, v_org_id, 'Y',
+ now(), p_user, now(), p_user,
+ p_record_id, cur_paymentschedule.c_currency_id, cur_paymentschedule.c_order_id,
+ cur_paymentschedule.fin_paymentmethod_id,
+ cur_paymentschedule.amount, cur_paymentschedule.duedate,
+ cur_paymentschedule.fin_payment_priority_id
+ );
+ FOR cur_paymentscheduledetail IN (
+ SELECT FIN_PAYMENT_SCHEDULEDETAIL_ID, FIN_PAYMENT_DETAIL_ID,
+ AMOUNT, ISACTIVE, WRITEOFFAMT
+ FROM FIN_PAYMENT_SCHEDULEDETAIL
+ WHERE FIN_PAYMENT_SCHEDULE_INVOICE = cur_paymentschedule.fin_payment_schedule_id
+ AND ISCANCELED <> 'Y'
+ AND FIN_PAYMENT_DETAIL_ID IS NOT NULL
+ )
+ LOOP
+ INSERT INTO fin_orig_paym_scheddetail(FIN_ORIG_PAYM_SCHEDDETAIL_ID,
+ AD_CLIENT_ID, AD_ORG_ID, CREATED, CREATEDBY, UPDATED, UPDATEDBY,
+ FIN_ORIG_PAYMENT_SCHEDULE_ID, FIN_PAYMENT_SCHEDULEDETAIL_ID,
+ AMOUNT, WRITEOFFAMT, ISACTIVE, ISCANCELED)
+ VALUES (get_uuid(),
+ v_client_id, v_org_id, now(), p_user, now(), p_user,
+ v_fin_orig_payment_schedule_id, cur_paymentscheduledetail.FIN_PAYMENT_SCHEDULEDETAIL_ID,
+ cur_paymentscheduledetail.AMOUNT, cur_paymentscheduledetail.WRITEOFFAMT, 'Y', 'N'
+ );
+ END LOOP;
+ END LOOP;
END;
ELSIF (p_docaction = 'RE') THEN
@@ -892,6 +942,9 @@ BEGIN
END LOOP;
END LOOP;
+ DELETE FROM fin_orig_paym_scheddetail WHERE fin_orig_payment_schedule_id in (SELECT fin_orig_payment_schedule_id FROM fin_orig_payment_schedule WHERE c_invoice_id = p_record_id);
+ DELETE FROM fin_orig_payment_schedule WHERE c_invoice_id = p_record_id;
+
DELETE FROM fin_payment_schedule WHERE (c_invoice_id = p_record_id
OR
(v_reversalinvoice_id IS NOT NULL AND c_invoice_id = v_reversalinvoice_id));
View
39 modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_TAX_PAYMENT.xml
@@ -29,7 +29,12 @@ p_IsReceipt CHAR(1);
p_message VARCHAR(2000);
p_result NUMBER;
+v_TaxPaymentName VARCHAR2(60);
+v_FinancialAccountName VARCHAR2(60);
+V_PaymentMethodName VARCHAR2(60);
+v_GLItemName VARCHAR2(60);
v_ResultStr VARCHAR2(2000):='';
+v_FinancialAccountCurrency_ID VARCHAR2(32);
v_FIN_PAYMENT_ID FIN_PAYMENT.FIN_PAYMENT_ID%TYPE;
v_PaymentDocType_ID FIN_PAYMENT.C_DOCTYPE_ID%TYPE;
v_PaymentDocumentNo FIN_PAYMENT.DOCUMENTNO%TYPE;
@@ -49,6 +54,8 @@ v_BPartner_ID VARCHAR2(32);
v_Processed CHAR(1);
v_Posted CHAR(1);
v_Count NUMBER;
+v_PAYIN_ISMULTICURRENCY CHAR(1);
+v_PAYOUT_ISMULTICURRENCY CHAR(1);
TYPE RECORD IS REF CURSOR;
Cur_Params RECORD;
@@ -80,10 +87,14 @@ BEGIN
-- Reading the TAX PAYMENT
v_ResultStr:='ReadingTaxPayment';
- select dateto, ad_client_id, ad_org_id, generatepayment, C_BPARTNER_ID, processed, FIN_PAYMENT_ID, C_Currency_ID
- into v_date, v_client_id, v_org_id, v_ispayment, v_bpartner_id, v_processed, v_FIN_PAYMENT_ID, v_Currency_id
+ select dateto, ad_client_id, ad_org_id, generatepayment, C_BPARTNER_ID, processed, FIN_PAYMENT_ID, C_Currency_ID,name
+ into v_date, v_client_id, v_org_id, v_ispayment, v_bpartner_id, v_processed, v_FIN_PAYMENT_ID, v_Currency_id,v_TaxPaymentName
from c_taxpayment
where c_taxpayment_id=p_record_id;
+
+ SELECT NAME
+ INTO v_GLItemName
+ FROM C_GLITEM WHERE C_GLITEM_ID=p_GLItem;
IF (v_ispayment = 'Y' AND v_processed = 'N') THEN
v_ResultStr:='Generating FIN_PAYMENT';
@@ -109,6 +120,21 @@ BEGIN
IF(v_PaymentMethod_ID IS NULL) THEN
RAISE_APPLICATION_ERROR(-20000, '@APRM_PAYMENTMETHOD_MISSING@');
END IF;
+
+ SELECT FFA.C_CURRENCY_ID, FFP.PAYIN_ISMULTICURRENCY, FFP.PAYOUT_ISMULTICURRENCY, FFA.NAME, FPM.NAME
+ INTO v_FinancialAccountCurrency_ID, v_PAYIN_ISMULTICURRENCY, v_PAYOUT_ISMULTICURRENCY, v_FinancialAccountName, v_PaymentMethodName
+ FROM FIN_FINANCIAL_ACCOUNT FFA LEFT JOIN FIN_FINACC_PAYMENTMETHOD FFP ON FFA.FIN_FINANCIAL_ACCOUNT_ID=FFP.FIN_FINANCIAL_ACCOUNT_ID
+ LEFT JOIN FIN_PAYMENTMETHOD FPM ON FPM.FIN_PAYMENTMETHOD_ID = FFP.FIN_PAYMENTMETHOD_ID
+ WHERE FFA.FIN_FINANCIAL_ACCOUNT_ID=v_Financial_Account_ID AND FFP.FIN_PAYMENTMETHOD_ID=v_PaymentMethod_ID;
+
+ IF (v_Currency_id <> v_FinancialAccountCurrency_ID) THEN
+ IF(p_isreceipt = 'Y' AND v_PAYIN_ISMULTICURRENCY = 'N') THEN
+ RAISE_APPLICATION_ERROR(-20000, '@APRM_INMULTICURRENCYNOTSUPPORTED@' || ' ' || v_PaymentMethodName || ', ' || '@APRM_INFINANCIALACCOUNT@' || ' ' || v_FinancialAccountName || '.');
+ ELSIF (p_isreceipt = 'N' AND v_PAYOUT_ISMULTICURRENCY = 'N') THEN
+ RAISE_APPLICATION_ERROR(-20000, '@APRM_OUTMULTICURRENCYNOTSUPPORTED@' || ' ' || v_PaymentMethodName || ', ' || '@APRM_INFINANCIALACCOUNT@' || ' ' || v_FinancialAccountName || '.');
+ END IF;
+ END IF;
+
INSERT INTO fin_payment(
fin_payment_id, ad_client_id, ad_org_id, created, createdby,
updated, updatedby, isactive, isreceipt, c_bpartner_id, paymentdate,
@@ -118,7 +144,7 @@ BEGIN
processed, processing, posted, description,
fin_financial_account_id, c_doctype_id, c_project_id, c_campaign_id,
c_activity_id, user1_id, user2_id, em_aprm_process_payment, em_aprm_reconcile_payment,
- em_aprm_add_scheduledpayments)
+ em_aprm_add_scheduledpayments,finacc_txn_convert_rate,finacc_txn_amount)
VALUES (v_FIN_PAYMENT_ID, v_client_id, v_org_id, now(), p_user,
now(), p_user, 'Y', p_isreceipt, v_bpartner_id, v_date,
v_currency_id, p_amount, 0, v_PaymentMethod_ID, v_PaymentDocumentNo,
@@ -128,9 +154,10 @@ BEGIN
WHEN p_isreceipt = 'Y' THEN 'RPR'
ELSE 'PPM'
END,
- 'N', 'N', 'N', 'GL Item.: ',
+ 'N', 'N', 'N', 'GL Item: '|| v_GLItemName || 'n' || 'Tax Payment: '|| v_TaxPaymentName,
v_Financial_Account_ID, v_PaymentDocType_ID, NULL, NULL,
- NULL, NULL, NULL, 'N', 'N', 'N');
+ NULL, NULL, NULL, 'N', 'N', 'N',1,p_amount);
+
v_FIN_PAYMENT_DETAIL_ID := GET_UUID();
INSERT INTO fin_payment_detail(
fin_payment_detail_id, ad_client_id, ad_org_id, created, createdby,
@@ -171,7 +198,7 @@ BEGIN
now(), p_user, 'Y', v_currency_id, v_Financial_Account_ID,
v_Line, v_FIN_PAYMENT_ID, v_date, NULL, CASE WHEN p_isreceipt='Y' THEN 'RDNC' ELSE 'PWNC' END, CASE WHEN p_isreceipt='N' THEN p_amount ELSE 0 END,
CASE WHEN p_isreceipt='Y' THEN p_amount ELSE 0 END, 'Y', 'N', 'N', NULL, NULL,
- NULL, NULL, NULL, CASE WHEN p_isreceipt='N' THEN 'BPW' ELSE 'BPD' END, v_date, 'GL Item: ' ,
+ NULL, NULL, NULL, CASE WHEN p_isreceipt='N' THEN 'BPW' ELSE 'BPD' END, v_date, 'GL Item: '|| v_GLItemName || 'n' || 'Tax Payment: '|| v_TaxPaymentName,
NULL);
UPDATE FIN_PAYMENT SET STATUS = CASE WHEN p_isreceipt='Y' THEN 'RDNC' ELSE 'PWNC' END
WHERE FIN_PAYMENT_ID = v_FIN_PAYMENT_ID;
View
8 modules/org.openbravo.advpaymentmngt/src-db/database/model/modifiedTables/C_INVOICE.xml
@@ -9,5 +9,13 @@
<default/>
<onCreateDefault/>
</column>
+ <column name="EM_APRM_MODIF_PAYM_SCHED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+ <default><![CDATA[Y]]></default>
+ <onCreateDefault/>
+ </column>
+ <column name="EM_APRM_MODIF_PAYM_OUT_SCHED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+ <default><![CDATA[Y]]></default>
+ <onCreateDefault/>
+ </column>
</table>
</database>
View
292 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
290 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
40 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml
@@ -443,6 +443,20 @@
<!--A37C6F84AA463F50E040007F01006E35--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
<!--A37C6F84AA463F50E040007F01006E35--></AD_ELEMENT>
+<!--AF073DA2C96EFA0CE040A8C09166378E--><AD_ELEMENT>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <AD_ELEMENT_ID><![CDATA[AF073DA2C96EFA0CE040A8C09166378E]]></AD_ELEMENT_ID>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <COLUMNNAME><![CDATA[EM_Aprm_Modif_Paym_Sched]]></COLUMNNAME>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <NAME><![CDATA[Modify Payment In Plan]]></NAME>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <PRINTNAME><![CDATA[Modify Payment In Plan]]></PRINTNAME>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <PO_NAME><![CDATA[Modify Payment Out Plan]]></PO_NAME>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <PO_PRINTNAME><![CDATA[Modify Payment Out Plan]]></PO_PRINTNAME>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--AF073DA2C96EFA0CE040A8C09166378E--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--AF073DA2C96EFA0CE040A8C09166378E--></AD_ELEMENT>
+
<!--B0FA9EF3D10E46FF9D402AB44056363B--><AD_ELEMENT>
<!--B0FA9EF3D10E46FF9D402AB44056363B--> <AD_ELEMENT_ID><![CDATA[B0FA9EF3D10E46FF9D402AB44056363B]]></AD_ELEMENT_ID>
<!--B0FA9EF3D10E46FF9D402AB44056363B--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -457,6 +471,18 @@
<!--B0FA9EF3D10E46FF9D402AB44056363B--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
<!--B0FA9EF3D10E46FF9D402AB44056363B--></AD_ELEMENT>
+<!--B40C938A247779EFE040A8C0916618AE--><AD_ELEMENT>
+<!--B40C938A247779EFE040A8C0916618AE--> <AD_ELEMENT_ID><![CDATA[B40C938A247779EFE040A8C0916618AE]]></AD_ELEMENT_ID>
+<!--B40C938A247779EFE040A8C0916618AE--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B40C938A247779EFE040A8C0916618AE--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B40C938A247779EFE040A8C0916618AE--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B40C938A247779EFE040A8C0916618AE--> <COLUMNNAME><![CDATA[buttonList]]></COLUMNNAME>
+<!--B40C938A247779EFE040A8C0916618AE--> <NAME><![CDATA[buttonList]]></NAME>
+<!--B40C938A247779EFE040A8C0916618AE--> <PRINTNAME><![CDATA[buttonList]]></PRINTNAME>
+<!--B40C938A247779EFE040A8C0916618AE--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B40C938A247779EFE040A8C0916618AE--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--B40C938A247779EFE040A8C0916618AE--></AD_ELEMENT>
+
<!--C8E8009C6BF5427EA930515F217F768E--><AD_ELEMENT>
<!--C8E8009C6BF5427EA930515F217F768E--> <AD_ELEMENT_ID><![CDATA[C8E8009C6BF5427EA930515F217F768E]]></AD_ELEMENT_ID>
<!--C8E8009C6BF5427EA930515F217F768E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -501,6 +527,20 @@
<!--DB85AA94D6DF4D7CB29CE7999B15F9C7--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
<!--DB85AA94D6DF4D7CB29CE7999B15F9C7--></AD_ELEMENT>
+<!--EDB9CF491555465382F828F48291A0C0--><AD_ELEMENT>
+<!--EDB9CF491555465382F828F48291A0C0--> <AD_ELEMENT_ID><![CDATA[EDB9CF491555465382F828F48291A0C0]]></AD_ELEMENT_ID>
+<!--EDB9CF491555465382F828F48291A0C0--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EDB9CF491555465382F828F48291A0C0--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EDB9CF491555465382F828F48291A0C0--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EDB9CF491555465382F828F48291A0C0--> <COLUMNNAME><![CDATA[EM_Aprm_Modif_Paym_Sched]]></COLUMNNAME>
+<!--EDB9CF491555465382F828F48291A0C0--> <NAME><![CDATA[Modify Payment Out Plan]]></NAME>
+<!--EDB9CF491555465382F828F48291A0C0--> <PRINTNAME><![CDATA[Modify Payment Out Plan]]></PRINTNAME>
+<!--EDB9CF491555465382F828F48291A0C0--> <PO_NAME><![CDATA[Modify Payment Out Plan]]></PO_NAME>
+<!--EDB9CF491555465382F828F48291A0C0--> <PO_PRINTNAME><![CDATA[Modify Payment Out Plan]]></PO_PRINTNAME>
+<!--EDB9CF491555465382F828F48291A0C0--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--EDB9CF491555465382F828F48291A0C0--> <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--EDB9CF491555465382F828F48291A0C0--></AD_ELEMENT>
+
<!--FC780C136EFA4D98B2435A9448FA44AD--><AD_ELEMENT>
<!--FC780C136EFA4D98B2435A9448FA44AD--> <AD_ELEMENT_ID><![CDATA[FC780C136EFA4D98B2435A9448FA44AD]]></AD_ELEMENT_ID>
<!--FC780C136EFA4D98B2435A9448FA44AD--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
View
1,126 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml
1,123 additions, 3 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
149 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
@@ -110,6 +110,17 @@
<!--2118F382AC3646CA8D8F2EAE6504B876--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--2118F382AC3646CA8D8F2EAE6504B876--></AD_MESSAGE>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--><AD_MESSAGE>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <AD_MESSAGE_ID><![CDATA[247F96A9D1AB44C2B24CD06B4B05068B]]></AD_MESSAGE_ID>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <VALUE><![CDATA[APRM_ReceivedAmountNotDeleted]]></VALUE>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <MSGTEXT><![CDATA[Payment plan lines with received (or paid) amounts cannot be deleted]]></MSGTEXT>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--247F96A9D1AB44C2B24CD06B4B05068B--></AD_MESSAGE>
+
<!--2D4DB4272D2A4E23B6B2E16176FAC92F--><AD_MESSAGE>
<!--2D4DB4272D2A4E23B6B2E16176FAC92F--> <AD_MESSAGE_ID><![CDATA[2D4DB4272D2A4E23B6B2E16176FAC92F]]></AD_MESSAGE_ID>
<!--2D4DB4272D2A4E23B6B2E16176FAC92F--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -143,6 +154,28 @@
<!--2FD618C9D5064C75BFF13B57B767C912--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--2FD618C9D5064C75BFF13B57B767C912--></AD_MESSAGE>
+<!--355244CE61E647E7822FF281159181E4--><AD_MESSAGE>
+<!--355244CE61E647E7822FF281159181E4--> <AD_MESSAGE_ID><![CDATA[355244CE61E647E7822FF281159181E4]]></AD_MESSAGE_ID>
+<!--355244CE61E647E7822FF281159181E4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--355244CE61E647E7822FF281159181E4--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--355244CE61E647E7822FF281159181E4--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--355244CE61E647E7822FF281159181E4--> <VALUE><![CDATA[APRM_Payments_Created]]></VALUE>
+<!--355244CE61E647E7822FF281159181E4--> <MSGTEXT><![CDATA[The next payments have been created and executed: %s]]></MSGTEXT>
+<!--355244CE61E647E7822FF281159181E4--> <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--355244CE61E647E7822FF281159181E4--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--355244CE61E647E7822FF281159181E4--></AD_MESSAGE>
+
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--><AD_MESSAGE>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <AD_MESSAGE_ID><![CDATA[406CD43121E34BF2A6AA2EBDB9DC8CF5]]></AD_MESSAGE_ID>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <VALUE><![CDATA[APRM_AmountNotFullyAllocated]]></VALUE>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <MSGTEXT><![CDATA[Amounts associated to an order payment plan where not fully allocated.]]></MSGTEXT>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--406CD43121E34BF2A6AA2EBDB9DC8CF5--></AD_MESSAGE>
+
<!--40AB261679C541FD92AB5970B6703811--><AD_MESSAGE>
<!--40AB261679C541FD92AB5970B6703811--> <AD_MESSAGE_ID><![CDATA[40AB261679C541FD92AB5970B6703811]]></AD_MESSAGE_ID>
<!--40AB261679C541FD92AB5970B6703811--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -154,6 +187,17 @@
<!--40AB261679C541FD92AB5970B6703811--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--40AB261679C541FD92AB5970B6703811--></AD_MESSAGE>
+<!--41AF8742DB7045F698DEDA97BAEB5553--><AD_MESSAGE>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <AD_MESSAGE_ID><![CDATA[41AF8742DB7045F698DEDA97BAEB5553]]></AD_MESSAGE_ID>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <VALUE><![CDATA[APRM_DifferentSignError]]></VALUE>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <MSGTEXT><![CDATA[Only lines with the same sign are allowed.]]></MSGTEXT>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--41AF8742DB7045F698DEDA97BAEB5553--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--41AF8742DB7045F698DEDA97BAEB5553--></AD_MESSAGE>
+
<!--4329807E1B00477B8A87C32A2B123DFB--><AD_MESSAGE>
<!--4329807E1B00477B8A87C32A2B123DFB--> <AD_MESSAGE_ID><![CDATA[4329807E1B00477B8A87C32A2B123DFB]]></AD_MESSAGE_ID>
<!--4329807E1B00477B8A87C32A2B123DFB--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -165,6 +209,17 @@
<!--4329807E1B00477B8A87C32A2B123DFB--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--4329807E1B00477B8A87C32A2B123DFB--></AD_MESSAGE>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--><AD_MESSAGE>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <AD_MESSAGE_ID><![CDATA[44973749BE9E47989F1E9D4A1C52EDEF]]></AD_MESSAGE_ID>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <VALUE><![CDATA[APRM_ExistingPlanIsNotCorrect]]></VALUE>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <MSGTEXT><![CDATA[The amounts on the existing payment plan are not correct, and cannot be modified. Try refreshing the invoice header, re-activating and processing again the invoice.]]></MSGTEXT>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--44973749BE9E47989F1E9D4A1C52EDEF--></AD_MESSAGE>
+
<!--49C16126D1A141C398175B0632C08F95--><AD_MESSAGE>
<!--49C16126D1A141C398175B0632C08F95--> <AD_MESSAGE_ID><![CDATA[49C16126D1A141C398175B0632C08F95]]></AD_MESSAGE_ID>
<!--49C16126D1A141C398175B0632C08F95--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -232,6 +287,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--5D767339F1D74185A7E7825F6727B3A1--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--5D767339F1D74185A7E7825F6727B3A1--></AD_MESSAGE>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--><AD_MESSAGE>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <AD_MESSAGE_ID><![CDATA[5D7ED86F92CD4E9E85080377C7BC6EA0]]></AD_MESSAGE_ID>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <VALUE><![CDATA[APRM_AmountMismatch]]></VALUE>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <MSGTEXT><![CDATA[Amount mismatch. Sum of outstanding amounts should be the same in old and new versions of the plan. Try re-freshing the invoice header.]]></MSGTEXT>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--5D7ED86F92CD4E9E85080377C7BC6EA0--></AD_MESSAGE>
+
<!--617854EC2BE44DEE8B59467A5E940DB1--><AD_MESSAGE>
<!--617854EC2BE44DEE8B59467A5E940DB1--> <AD_MESSAGE_ID><![CDATA[617854EC2BE44DEE8B59467A5E940DB1]]></AD_MESSAGE_ID>
<!--617854EC2BE44DEE8B59467A5E940DB1--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -370,7 +436,7 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <VALUE><![CDATA[APRM_TransactionExists]]></VALUE>
-<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <MSGTEXT><![CDATA[Document can not be reactivated. Record already registered in the financial account]]></MSGTEXT>
+<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <MSGTEXT><![CDATA[Document cannot be reactivated. Record already registered in the financial account]]></MSGTEXT>
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--7EF14E73C8EB4C33B302885E2FBDD0EE--></AD_MESSAGE>
@@ -386,6 +452,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--830AAC0CAD5541508FB9D6E209D23EA7--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--830AAC0CAD5541508FB9D6E209D23EA7--></AD_MESSAGE>
+<!--8444D07DF4214ED793366B83F5BDD042--><AD_MESSAGE>
+<!--8444D07DF4214ED793366B83F5BDD042--> <AD_MESSAGE_ID><![CDATA[8444D07DF4214ED793366B83F5BDD042]]></AD_MESSAGE_ID>
+<!--8444D07DF4214ED793366B83F5BDD042--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8444D07DF4214ED793366B83F5BDD042--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8444D07DF4214ED793366B83F5BDD042--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8444D07DF4214ED793366B83F5BDD042--> <VALUE><![CDATA[APRM_AwaitingExecutionAmountNotDeleted]]></VALUE>
+<!--8444D07DF4214ED793366B83F5BDD042--> <MSGTEXT><![CDATA[Lines with awaiting execution pending amounts cannot be deleted.]]></MSGTEXT>
+<!--8444D07DF4214ED793366B83F5BDD042--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--8444D07DF4214ED793366B83F5BDD042--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8444D07DF4214ED793366B83F5BDD042--></AD_MESSAGE>
+
<!--89C77284A85346C6923D858E3AB3D363--><AD_MESSAGE>
<!--89C77284A85346C6923D858E3AB3D363--> <AD_MESSAGE_ID><![CDATA[89C77284A85346C6923D858E3AB3D363]]></AD_MESSAGE_ID>
<!--89C77284A85346C6923D858E3AB3D363--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -474,6 +551,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--9C50BA94A0294449A16B26A91F8F06C4--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--9C50BA94A0294449A16B26A91F8F06C4--></AD_MESSAGE>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--><AD_MESSAGE>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <AD_MESSAGE_ID><![CDATA[9CFC61CBF0C84814B6DB7729427A2E38]]></AD_MESSAGE_ID>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <VALUE><![CDATA[APRM_INFINANCIALACCOUNT]]></VALUE>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <MSGTEXT><![CDATA[in the Financial Account]]></MSGTEXT>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--9CFC61CBF0C84814B6DB7729427A2E38--></AD_MESSAGE>
+
<!--A0F2DD5EF309448084FB6F3F44B59798--><AD_MESSAGE>
<!--A0F2DD5EF309448084FB6F3F44B59798--> <AD_MESSAGE_ID><![CDATA[A0F2DD5EF309448084FB6F3F44B59798]]></AD_MESSAGE_ID>
<!--A0F2DD5EF309448084FB6F3F44B59798--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -551,6 +639,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--B1CBFC308F82467C8E3FC87091E24522--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--B1CBFC308F82467C8E3FC87091E24522--></AD_MESSAGE>
+<!--B3774BABFF13405FAC312979E3983F11--><AD_MESSAGE>
+<!--B3774BABFF13405FAC312979E3983F11--> <AD_MESSAGE_ID><![CDATA[B3774BABFF13405FAC312979E3983F11]]></AD_MESSAGE_ID>
+<!--B3774BABFF13405FAC312979E3983F11--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B3774BABFF13405FAC312979E3983F11--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B3774BABFF13405FAC312979E3983F11--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B3774BABFF13405FAC312979E3983F11--> <VALUE><![CDATA[APRM_AwaitingExecutionAmountError]]></VALUE>
+<!--B3774BABFF13405FAC312979E3983F11--> <MSGTEXT><![CDATA[If a payment plan line does have a payment detail associated in awaiting execution status, the new outstanding amount must be, at least, the payment detail amount.]]></MSGTEXT>
+<!--B3774BABFF13405FAC312979E3983F11--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--B3774BABFF13405FAC312979E3983F11--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B3774BABFF13405FAC312979E3983F11--></AD_MESSAGE>
+
<!--B3D6AF0669DD4DF5BDF48A4D55F84C3C--><AD_MESSAGE>
<!--B3D6AF0669DD4DF5BDF48A4D55F84C3C--> <AD_MESSAGE_ID><![CDATA[B3D6AF0669DD4DF5BDF48A4D55F84C3C]]></AD_MESSAGE_ID>
<!--B3D6AF0669DD4DF5BDF48A4D55F84C3C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -584,13 +683,24 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--B6F8970C7470421FA5375E61D71A8E73--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--B6F8970C7470421FA5375E61D71A8E73--></AD_MESSAGE>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--><AD_MESSAGE>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <AD_MESSAGE_ID><![CDATA[B9ECCDD15B1349B5B00DC6EE83AD869E]]></AD_MESSAGE_ID>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <VALUE><![CDATA[APRM_ButtonNotValid]]></VALUE>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <MSGTEXT><![CDATA[Action cannot be performed. It is not a valid action.]]></MSGTEXT>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B9ECCDD15B1349B5B00DC6EE83AD869E--></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--> <MSGTEXT><![CDATA[Payments without a business partner cannot generate/use credit]]></MSGTEXT>
<!--B9F31E06A19240DE87666454DB8A16E1--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
<!--B9F31E06A19240DE87666454DB8A16E1--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--B9F31E06A19240DE87666454DB8A16E1--></AD_MESSAGE>
@@ -628,6 +738,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--C36865A47B99485980CC8B56AAF59057--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--C36865A47B99485980CC8B56AAF59057--></AD_MESSAGE>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--><AD_MESSAGE>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <AD_MESSAGE_ID><![CDATA[C5133F7FD55D4AF6B8B7FB527BFB9920]]></AD_MESSAGE_ID>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <VALUE><![CDATA[APRM_OUTMULTICURRENCYNOTSUPPORTED]]></VALUE>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <MSGTEXT><![CDATA[Making Payments in other currencies is not allowed for the Payment Mehod]]></MSGTEXT>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--C5133F7FD55D4AF6B8B7FB527BFB9920--></AD_MESSAGE>
+
<!--D374CA8D2FF541E5BF1149FCFDAEED86--><AD_MESSAGE>
<!--D374CA8D2FF541E5BF1149FCFDAEED86--> <AD_MESSAGE_ID><![CDATA[D374CA8D2FF541E5BF1149FCFDAEED86]]></AD_MESSAGE_ID>
<!--D374CA8D2FF541E5BF1149FCFDAEED86--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -694,6 +815,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--E92C3899BD924A5C991A39B2CDA74D29--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--E92C3899BD924A5C991A39B2CDA74D29--></AD_MESSAGE>
+<!--EDEA16A966B94F63A7C1E339FC095B08--><AD_MESSAGE>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <AD_MESSAGE_ID><![CDATA[EDEA16A966B94F63A7C1E339FC095B08]]></AD_MESSAGE_ID>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <VALUE><![CDATA[APRM_AlreadyPaidInvoice]]></VALUE>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <MSGTEXT><![CDATA[Archived payment plan cannot be modified as invoice is already paid (at least partially) even if the payment was afterwards voided.]]></MSGTEXT>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--EDEA16A966B94F63A7C1E339FC095B08--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--EDEA16A966B94F63A7C1E339FC095B08--></AD_MESSAGE>
+
<!--EF56DCF572A94E6CAFE4F13948268050--><AD_MESSAGE>
<!--EF56DCF572A94E6CAFE4F13948268050--> <AD_MESSAGE_ID><![CDATA[EF56DCF572A94E6CAFE4F13948268050]]></AD_MESSAGE_ID>
<!--EF56DCF572A94E6CAFE4F13948268050--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -716,6 +848,17 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--EFA31753A0BB4C4AB3E6BC741FEE811E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--EFA31753A0BB4C4AB3E6BC741FEE811E--></AD_MESSAGE>
+<!--F0BBB5C1155F46378B6FF74A8F561046--><AD_MESSAGE>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <AD_MESSAGE_ID><![CDATA[F0BBB5C1155F46378B6FF74A8F561046]]></AD_MESSAGE_ID>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <VALUE><![CDATA[APRM_INMULTICURRENCYNOTSUPPORTED]]></VALUE>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <MSGTEXT><![CDATA[Receiving Payments in other currencies is not allowed for the Payment Mehod]]></MSGTEXT>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--F0BBB5C1155F46378B6FF74A8F561046--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--F0BBB5C1155F46378B6FF74A8F561046--></AD_MESSAGE>
+
<!--F302E4040E1B45318BA270BDFA37179C--><AD_MESSAGE>
<!--F302E4040E1B45318BA270BDFA37179C--> <AD_MESSAGE_ID><![CDATA[F302E4040E1B45318BA270BDFA37179C]]></AD_MESSAGE_ID>
<!--F302E4040E1B45318BA270BDFA37179C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -777,7 +920,7 @@ Please, unpost the reconciliation if you wan to split a bank statement line.]]><
<!--FF8080812E44C5F1012E44D2099A001A--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--FF8080812E44C5F1012E44D2099A001A--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--FF8080812E44C5F1012E44D2099A001A--> <VALUE><![CDATA[APRM_FutureReconciliationExists]]></VALUE>
-<!--FF8080812E44C5F1012E44D2099A001A--> <MSGTEXT><![CDATA[Action can not be performed as a later reconciliation exists. First reactivate and delete later reconciliations.]]></MSGTEXT>
+<!--FF8080812E44C5F1012E44D2099A001A--> <MSGTEXT><![CDATA[Action cannot be performed as a later reconciliation exists. First reactivate and delete later reconciliations.]]></MSGTEXT>
<!--FF8080812E44C5F1012E44D2099A001A--> <MSGTYPE><![CDATA[E]]></MSGTYPE>
<!--FF8080812E44C5F1012E44D2099A001A--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--FF8080812E44C5F1012E44D2099A001A--></AD_MESSAGE>
View
4 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
@@ -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.15303]]></VERSION>
+<!--A918E3331C404B889D69AA9BFAFB23AC--> <VERSION><![CDATA[3.0.16017]]></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>
@@ -25,7 +25,7 @@ You may obtain a copy of the License at http://www.openbravo.com/legal/license.h
<!--A918E3331C404B889D69AA9BFAFB23AC--> <UPDATEINFO><![CDATA[Fixed issue with document sequence numbers reset in case of applying dataset second time.
Fixed issue 15305.]]></UPDATEINFO>
<!--A918E3331C404B889D69AA9BFAFB23AC--> <REFERENCEDATAINFO><![CDATA[Document types and default algorithm for bank statement auto matching]]></REFERENCEDATAINFO>
-<!--A918E3331C404B889D69AA9BFAFB23AC--> <VERSION_LABEL><![CDATA[MP8.1]]></VERSION_LABEL>
+<!--A918E3331C404B889D69AA9BFAFB23AC--> <VERSION_LABEL><![CDATA[MP10.1]]></VERSION_LABEL>
<!--A918E3331C404B889D69AA9BFAFB23AC--> <ISCOMMERCIAL><![CDATA[N]]></ISCOMMERCIAL>
<!--A918E3331C404B889D69AA9BFAFB23AC--></AD_MODULE>
View
4 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
@@ -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.15303]]></STARTVERSION>
+<!--89326AE95DAD449D85DFAB2C5B1C6683--> <STARTVERSION><![CDATA[2.1.16017]]></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.15303]]></STARTVERSION>
+<!--B97FC854C6DD41E692161585645A900F--> <STARTVERSION><![CDATA[3.0.16017]]></STARTVERSION>
<!--B97FC854C6DD41E692161585645A900F--> <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
<!--B97FC854C6DD41E692161585645A900F--> <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
<!--B97FC854C6DD41E692161585645A900F--> <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
View
5 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml
@@ -263,8 +263,9 @@
<!--D5B90B539C254B959045EDCA1DC99BDF--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--D5B90B539C254B959045EDCA1DC99BDF--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--D5B90B539C254B959045EDCA1DC99BDF--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--D5B90B539C254B959045EDCA1DC99BDF--> <VALUE><![CDATA[FIN_PaymentMonitor]]></VALUE>
-<!--D5B90B539C254B959045EDCA1DC99BDF--> <NAME><![CDATA[FIN_PaymentMonitor]]></NAME>
+<!--D5B90B539C254B959045EDCA1DC99BDF--> <VALUE><![CDATA[Payment Monitor]]></VALUE>
+<!--D5B90B539C254B959045EDCA1DC99BDF--> <NAME><![CDATA[Payment Monitor]]></NAME>
+<!--D5B90B539C254B959045EDCA1DC99BDF--> <DESCRIPTION><![CDATA[Payment Monitor]]></DESCRIPTION>
<!--D5B90B539C254B959045EDCA1DC99BDF--> <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
<!--D5B90B539C254B959045EDCA1DC99BDF--> <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
<!--D5B90B539C254B959045EDCA1DC99BDF--> <ISREPORT><![CDATA[N]]></ISREPORT>
View
36 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REFERENCE.xml
@@ -60,6 +60,18 @@
<!--5E77652CBFEB4F03A3A0629642D024BD--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
<!--5E77652CBFEB4F03A3A0629642D024BD--></AD_REFERENCE>
+<!--6932F568D27E47DB861809AD66C15A01--><AD_REFERENCE>
+<!--6932F568D27E47DB861809AD66C15A01--> <AD_REFERENCE_ID><![CDATA[6932F568D27E47DB861809AD66C15A01]]></AD_REFERENCE_ID>
+<!--6932F568D27E47DB861809AD66C15A01--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6932F568D27E47DB861809AD66C15A01--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6932F568D27E47DB861809AD66C15A01--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6932F568D27E47DB861809AD66C15A01--> <NAME><![CDATA[Modify Payment In Plan]]></NAME>
+<!--6932F568D27E47DB861809AD66C15A01--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--6932F568D27E47DB861809AD66C15A01--> <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
+<!--6932F568D27E47DB861809AD66C15A01--> <PARENTREFERENCE_ID><![CDATA[FF80818132D8F0F30132D9BC395D0038]]></PARENTREFERENCE_ID>
+<!--6932F568D27E47DB861809AD66C15A01--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--6932F568D27E47DB861809AD66C15A01--></AD_REFERENCE>
+
<!--79FDE7805FC84C2BB251EE57E96C0AEE--><AD_REFERENCE>
<!--79FDE7805FC84C2BB251EE57E96C0AEE--> <AD_REFERENCE_ID><![CDATA[79FDE7805FC84C2BB251EE57E96C0AEE]]></AD_REFERENCE_ID>
<!--79FDE7805FC84C2BB251EE57E96C0AEE--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -72,6 +84,18 @@
<!--79FDE7805FC84C2BB251EE57E96C0AEE--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
<!--79FDE7805FC84C2BB251EE57E96C0AEE--></AD_REFERENCE>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--><AD_REFERENCE>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <AD_REFERENCE_ID><![CDATA[B8C833E4F0A44A2DA5FC7606F3CD9439]]></AD_REFERENCE_ID>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <NAME><![CDATA[Modify Payment Out Plan]]></NAME>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <PARENTREFERENCE_ID><![CDATA[FF80818132D8F0F30132D9BC395D0038]]></PARENTREFERENCE_ID>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--B8C833E4F0A44A2DA5FC7606F3CD9439--></AD_REFERENCE>
+
<!--DB71FC312327430EAEACF42918405BF9--><AD_REFERENCE>
<!--DB71FC312327430EAEACF42918405BF9--> <AD_REFERENCE_ID><![CDATA[DB71FC312327430EAEACF42918405BF9]]></AD_REFERENCE_ID>
<!--DB71FC312327430EAEACF42918405BF9--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -84,6 +108,18 @@
<!--DB71FC312327430EAEACF42918405BF9--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
<!--DB71FC312327430EAEACF42918405BF9--></AD_REFERENCE>
+<!--E91B038ABF4F4A2280264C4A475852A4--><AD_REFERENCE>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <AD_REFERENCE_ID><![CDATA[E91B038ABF4F4A2280264C4A475852A4]]></AD_REFERENCE_ID>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <NAME><![CDATA[APR_buttonList]]></NAME>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <PARENTREFERENCE_ID><![CDATA[FF80818132F94B500132F9575619000A]]></PARENTREFERENCE_ID>
+<!--E91B038ABF4F4A2280264C4A475852A4--> <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--E91B038ABF4F4A2280264C4A475852A4--></AD_REFERENCE>
+
<!--EC75B6F5A9504DB6B3F3356EA85F15EE--><AD_REFERENCE>
<!--EC75B6F5A9504DB6B3F3356EA85F15EE--> <AD_REFERENCE_ID><![CDATA[EC75B6F5A9504DB6B3F3356EA85F15EE]]></AD_REFERENCE_ID>
<!--EC75B6F5A9504DB6B3F3356EA85F15EE--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
View
24 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_REF_LIST.xml
@@ -1,5 +1,17 @@
<?xml version='1.0' encoding='UTF-8'?>
<data>
+<!--2142A43350614E47AA4D0DC97DB10462--><AD_REF_LIST>
+<!--2142A43350614E47AA4D0DC97DB10462--> <AD_REF_LIST_ID><![CDATA[2142A43350614E47AA4D0DC97DB10462]]></AD_REF_LIST_ID>
+<!--2142A43350614E47AA4D0DC97DB10462--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2142A43350614E47AA4D0DC97DB10462--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2142A43350614E47AA4D0DC97DB10462--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2142A43350614E47AA4D0DC97DB10462--> <VALUE><![CDATA[modifyOriginal]]></VALUE>
+<!--2142A43350614E47AA4D0DC97DB10462--> <NAME><![CDATA[Submit (update original plan)]]></NAME>
+<!--2142A43350614E47AA4D0DC97DB10462--> <AD_REFERENCE_ID><![CDATA[E91B038ABF4F4A2280264C4A475852A4]]></AD_REFERENCE_ID>
+<!--2142A43350614E47AA4D0DC97DB10462--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--2142A43350614E47AA4D0DC97DB10462--> <SEQNO><![CDATA[20]]></SEQNO>
+<!--2142A43350614E47AA4D0DC97DB10462--></AD_REF_LIST>
+
<!--2C29C3C687FC403A802A15DEAF9E0D26--><AD_REF_LIST>
<!--2C29C3C687FC403A802A15DEAF9E0D26--> <AD_REF_LIST_ID><![CDATA[2C29C3C687FC403A802A15DEAF9E0D26]]></AD_REF_LIST_ID>
<!--2C29C3C687FC403A802A15DEAF9E0D26--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -72,6 +84,18 @@
<!--668B8E7BEFE24B7FB044D267A8B5E7E1--> <SEQNO><![CDATA[10]]></SEQNO>
<!--668B8E7BEFE24B7FB044D267A8B5E7E1--></AD_REF_LIST>
+<!--6746D09AE633453EBD21A8B36B16C088--><AD_REF_LIST>
+<!--6746D09AE633453EBD21A8B36B16C088--> <AD_REF_LIST_ID><![CDATA[6746D09AE633453EBD21A8B36B16C088]]></AD_REF_LIST_ID>
+<!--6746D09AE633453EBD21A8B36B16C088--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6746D09AE633453EBD21A8B36B16C088--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6746D09AE633453EBD21A8B36B16C088--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6746D09AE633453EBD21A8B36B16C088--> <VALUE><![CDATA[newVersion]]></VALUE>
+<!--6746D09AE633453EBD21A8B36B16C088--> <NAME><![CDATA[Submit (create newer version of the plan)]]></NAME>
+<!--6746D09AE633453EBD21A8B36B16C088--> <AD_REFERENCE_ID><![CDATA[E91B038ABF4F4A2280264C4A475852A4]]></AD_REFERENCE_ID>
+<!--6746D09AE633453EBD21A8B36B16C088--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--6746D09AE633453EBD21A8B36B16C088--> <SEQNO><![CDATA[10]]></SEQNO>
+<!--6746D09AE633453EBD21A8B36B16C088--></AD_REF_LIST>
+
<!--6AA9B332DAE04D7ABEC8A9BE66866A70--><AD_REF_LIST>
<!--6AA9B332DAE04D7ABEC8A9BE66866A70--> <AD_REF_LIST_ID><![CDATA[6AA9B332DAE04D7ABEC8A9BE66866A70]]></AD_REF_LIST_ID>
<!--6AA9B332DAE04D7ABEC8A9BE66866A70--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
View
76 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TAB.xml
@@ -27,6 +27,7 @@
<!--2A9BA5FDA0F8470D881F8EA9DEDCC598--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--2A9BA5FDA0F8470D881F8EA9DEDCC598--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--2A9BA5FDA0F8470D881F8EA9DEDCC598--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--2A9BA5FDA0F8470D881F8EA9DEDCC598--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--2A9BA5FDA0F8470D881F8EA9DEDCC598--></AD_TAB>
<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--><AD_TAB>
@@ -53,6 +54,7 @@
<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--5B9941AC1F6A4529A76FCA7CDA0A7D7A--></AD_TAB>
<!--6707D7449A8D45DB851F608BA88329C8--><AD_TAB>
@@ -79,6 +81,7 @@
<!--6707D7449A8D45DB851F608BA88329C8--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--6707D7449A8D45DB851F608BA88329C8--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--6707D7449A8D45DB851F608BA88329C8--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--6707D7449A8D45DB851F608BA88329C8--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--6707D7449A8D45DB851F608BA88329C8--></AD_TAB>
<!--79DFBE24B39742AD877E3163643E619F--><AD_TAB>
@@ -106,8 +109,39 @@
<!--79DFBE24B39742AD877E3163643E619F--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--79DFBE24B39742AD877E3163643E619F--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--79DFBE24B39742AD877E3163643E619F--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--79DFBE24B39742AD877E3163643E619F--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--79DFBE24B39742AD877E3163643E619F--></AD_TAB>
+<!--89C009D99323470DB51F100697E2F50C--><AD_TAB>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_TAB_ID><![CDATA[89C009D99323470DB51F100697E2F50C]]></AD_TAB_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--89C009D99323470DB51F100697E2F50C--> <NAME><![CDATA[Lines]]></NAME>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_TABLE_ID><![CDATA[77182DC88AA842D499C01FB0BAE39561]]></AD_TABLE_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_WINDOW_ID><![CDATA[C57DED2495184380AFBAAA3CA720C3DA]]></AD_WINDOW_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <SEQNO><![CDATA[10]]></SEQNO>
+<!--89C009D99323470DB51F100697E2F50C--> <TABLEVEL><![CDATA[0]]></TABLEVEL>
+<!--89C009D99323470DB51F100697E2F50C--> <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--89C009D99323470DB51F100697E2F50C--> <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--89C009D99323470DB51F100697E2F50C--> <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--89C009D99323470DB51F100697E2F50C--> <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--89C009D99323470DB51F100697E2F50C--> <HASTREE><![CDATA[N]]></HASTREE>
+<!--89C009D99323470DB51F100697E2F50C--> <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--89C009D99323470DB51F100697E2F50C--> <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--89C009D99323470DB51F100697E2F50C--> <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--89C009D99323470DB51F100697E2F50C--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--89C009D99323470DB51F100697E2F50C--> <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--89C009D99323470DB51F100697E2F50C--> <HQLWHERECLAUSE><![CDATA[e.invoice.id=@Invoice.id@ AND ABS(e.received) < ABS(e.expected)]]></HQLWHERECLAUSE>
+<!--89C009D99323470DB51F100697E2F50C--> <HQLORDERBYCLAUSE><![CDATA[dueDate asc]]></HQLORDERBYCLAUSE>
+<!--89C009D99323470DB51F100697E2F50C--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
+<!--89C009D99323470DB51F100697E2F50C--> <EM_OBUIAPP_CAN_ADD><![CDATA[Y]]></EM_OBUIAPP_CAN_ADD>
+<!--89C009D99323470DB51F100697E2F50C--> <EM_OBUIAPP_CAN_DELETE><![CDATA[Y]]></EM_OBUIAPP_CAN_DELETE>
+<!--89C009D99323470DB51F100697E2F50C--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[N]]></EM_OBUIAPP_SHOW_SELECT>
+<!--89C009D99323470DB51F100697E2F50C--> <EM_OBUIAPP_NEWFN><![CDATA[OB.APRM.addNew]]></EM_OBUIAPP_NEWFN>
+<!--89C009D99323470DB51F100697E2F50C--> <EM_OBUIAPP_REMOVEFN><![CDATA[OB.APRM.deleteRow]]></EM_OBUIAPP_REMOVEFN>
+<!--89C009D99323470DB51F100697E2F50C--></AD_TAB>
+
<!--9380E9AFB1074FB98030E5549D7FF346--><AD_TAB>
<!--9380E9AFB1074FB98030E5549D7FF346--> <AD_TAB_ID><![CDATA[9380E9AFB1074FB98030E5549D7FF346]]></AD_TAB_ID>
<!--9380E9AFB1074FB98030E5549D7FF346--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -133,6 +167,7 @@
<!--9380E9AFB1074FB98030E5549D7FF346--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--9380E9AFB1074FB98030E5549D7FF346--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--9380E9AFB1074FB98030E5549D7FF346--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--9380E9AFB1074FB98030E5549D7FF346--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--9380E9AFB1074FB98030E5549D7FF346--></AD_TAB>
<!--A94442B27F664A41BF64735DFA76FB4D--><AD_TAB>
@@ -160,6 +195,7 @@
<!--A94442B27F664A41BF64735DFA76FB4D--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--A94442B27F664A41BF64735DFA76FB4D--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--A94442B27F664A41BF64735DFA76FB4D--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--A94442B27F664A41BF64735DFA76FB4D--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--A94442B27F664A41BF64735DFA76FB4D--></AD_TAB>
<!--B82C02920AA84E8DB57D553185BD2F06--><AD_TAB>
@@ -186,6 +222,7 @@
<!--B82C02920AA84E8DB57D553185BD2F06--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--B82C02920AA84E8DB57D553185BD2F06--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--B82C02920AA84E8DB57D553185BD2F06--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--B82C02920AA84E8DB57D553185BD2F06--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--B82C02920AA84E8DB57D553185BD2F06--></AD_TAB>
<!--C095D2CC39704DBE8B906B7CD7710968--><AD_TAB>
@@ -213,8 +250,39 @@
<!--C095D2CC39704DBE8B906B7CD7710968--> <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
<!--C095D2CC39704DBE8B906B7CD7710968--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--C095D2CC39704DBE8B906B7CD7710968--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--C095D2CC39704DBE8B906B7CD7710968--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--C095D2CC39704DBE8B906B7CD7710968--></AD_TAB>
+<!--D4D450A66C754D65940DBC36B11779C8--><AD_TAB>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_TAB_ID><![CDATA[D4D450A66C754D65940DBC36B11779C8]]></AD_TAB_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D4D450A66C754D65940DBC36B11779C8--> <NAME><![CDATA[Lines]]></NAME>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_TABLE_ID><![CDATA[77182DC88AA842D499C01FB0BAE39561]]></AD_TABLE_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_WINDOW_ID><![CDATA[EDBED920F400435DA5E7CB625301DCBE]]></AD_WINDOW_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <SEQNO><![CDATA[10]]></SEQNO>
+<!--D4D450A66C754D65940DBC36B11779C8--> <TABLEVEL><![CDATA[0]]></TABLEVEL>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--D4D450A66C754D65940DBC36B11779C8--> <HASTREE><![CDATA[N]]></HASTREE>
+<!--D4D450A66C754D65940DBC36B11779C8--> <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--D4D450A66C754D65940DBC36B11779C8--> <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--D4D450A66C754D65940DBC36B11779C8--> <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--D4D450A66C754D65940DBC36B11779C8--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--D4D450A66C754D65940DBC36B11779C8--> <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--D4D450A66C754D65940DBC36B11779C8--> <HQLWHERECLAUSE><![CDATA[e.invoice.id=@Invoice.id@ AND ABS(e.received) < ABS(e.expected)]]></HQLWHERECLAUSE>
+<!--D4D450A66C754D65940DBC36B11779C8--> <HQLORDERBYCLAUSE><![CDATA[dueDate asc]]></HQLORDERBYCLAUSE>
+<!--D4D450A66C754D65940DBC36B11779C8--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
+<!--D4D450A66C754D65940DBC36B11779C8--> <EM_OBUIAPP_CAN_ADD><![CDATA[Y]]></EM_OBUIAPP_CAN_ADD>
+<!--D4D450A66C754D65940DBC36B11779C8--> <EM_OBUIAPP_CAN_DELETE><![CDATA[Y]]></EM_OBUIAPP_CAN_DELETE>
+<!--D4D450A66C754D65940DBC36B11779C8--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[N]]></EM_OBUIAPP_SHOW_SELECT>
+<!--D4D450A66C754D65940DBC36B11779C8--> <EM_OBUIAPP_NEWFN><![CDATA[OB.APRM.addNew]]></EM_OBUIAPP_NEWFN>
+<!--D4D450A66C754D65940DBC36B11779C8--> <EM_OBUIAPP_REMOVEFN><![CDATA[OB.APRM.deleteRow]]></EM_OBUIAPP_REMOVEFN>
+<!--D4D450A66C754D65940DBC36B11779C8--></AD_TAB>
+
<!--EB0466B2A22343F28773B356D292BC7E--><AD_TAB>
<!--EB0466B2A22343F28773B356D292BC7E--> <AD_TAB_ID><![CDATA[EB0466B2A22343F28773B356D292BC7E]]></AD_TAB_ID>
<!--EB0466B2A22343F28773B356D292BC7E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -240,6 +308,7 @@
<!--EB0466B2A22343F28773B356D292BC7E--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--EB0466B2A22343F28773B356D292BC7E--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--EB0466B2A22343F28773B356D292BC7E--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--EB0466B2A22343F28773B356D292BC7E--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--EB0466B2A22343F28773B356D292BC7E--></AD_TAB>
<!--EB0E0C5A58344F7FA345097E7365CD22--><AD_TAB>
@@ -266,6 +335,7 @@
<!--EB0E0C5A58344F7FA345097E7365CD22--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--EB0E0C5A58344F7FA345097E7365CD22--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--EB0E0C5A58344F7FA345097E7365CD22--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--EB0E0C5A58344F7FA345097E7365CD22--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--EB0E0C5A58344F7FA345097E7365CD22--></AD_TAB>
<!--F9751D712A804D57B97A36803843F2D7--><AD_TAB>
@@ -293,6 +363,7 @@
<!--F9751D712A804D57B97A36803843F2D7--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--F9751D712A804D57B97A36803843F2D7--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--F9751D712A804D57B97A36803843F2D7--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--F9751D712A804D57B97A36803843F2D7--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--F9751D712A804D57B97A36803843F2D7--></AD_TAB>
<!--FA57D75B1BBB4583B4A777008A29BF54--><AD_TAB>
@@ -319,6 +390,7 @@
<!--FA57D75B1BBB4583B4A777008A29BF54--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--FA57D75B1BBB4583B4A777008A29BF54--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--FA57D75B1BBB4583B4A777008A29BF54--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--FA57D75B1BBB4583B4A777008A29BF54--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--FA57D75B1BBB4583B4A777008A29BF54--></AD_TAB>
<!--FD40D9C2F1F14943933DEFEF4A8458E4--><AD_TAB>
@@ -346,6 +418,7 @@
<!--FD40D9C2F1F14943933DEFEF4A8458E4--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--FD40D9C2F1F14943933DEFEF4A8458E4--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--FD40D9C2F1F14943933DEFEF4A8458E4--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--FD40D9C2F1F14943933DEFEF4A8458E4--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--FD40D9C2F1F14943933DEFEF4A8458E4--></AD_TAB>
<!--FF8080812F213146012F2135BC25000E--><AD_TAB>
@@ -372,6 +445,7 @@
<!--FF8080812F213146012F2135BC25000E--> <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
<!--FF8080812F213146012F2135BC25000E--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--FF8080812F213146012F2135BC25000E--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--FF8080812F213146012F2135BC25000E--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--FF8080812F213146012F2135BC25000E--></AD_TAB>
<!--FF80808130BB89090130BB9A3A2B0043--><AD_TAB>
@@ -400,6 +474,7 @@
<!--FF80808130BB89090130BB9A3A2B0043--> <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
<!--FF80808130BB89090130BB9A3A2B0043--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--FF80808130BB89090130BB9A3A2B0043--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--FF80808130BB89090130BB9A3A2B0043--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--FF80808130BB89090130BB9A3A2B0043--></AD_TAB>
<!--FF8080813320657F0133209DE21B0042--><AD_TAB>
@@ -425,6 +500,7 @@
<!--FF8080813320657F0133209DE21B0042--> <SHOWPARENTBUTTONS><![CDATA[N]]></SHOWPARENTBUTTONS>
<!--FF8080813320657F0133209DE21B0042--> <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
<!--FF8080813320657F0133209DE21B0042--> <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--FF8080813320657F0133209DE21B0042--> <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
<!--FF8080813320657F0133209DE21B0042--></AD_TAB>
</data>
View
44 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TEXTINTERFACES.xml
@@ -1837,6 +1837,17 @@
<!--8A63AFFF170841A093E1D677F11A8F06--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--8A63AFFF170841A093E1D677F11A8F06--></AD_TEXTINTERFACES>
+<!--8F869C21DCF14031BC01CCD9D158190E--><AD_TEXTINTERFACES>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <AD_TEXTINTERFACES_ID><![CDATA[8F869C21DCF14031BC01CCD9D158190E]]></AD_TEXTINTERFACES_ID>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <TEXT><![CDATA[for]]></TEXT>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <FILENAME><![CDATA[/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.jrxml]]></FILENAME>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <ISUSED><![CDATA[Y]]></ISUSED>
+<!--8F869C21DCF14031BC01CCD9D158190E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--8F869C21DCF14031BC01CCD9D158190E--></AD_TEXTINTERFACES>
+
<!--90800D9E80B1497EBB3AF0E38C14A98F--><AD_TEXTINTERFACES>
<!--90800D9E80B1497EBB3AF0E38C14A98F--> <AD_TEXTINTERFACES_ID><![CDATA[90800D9E80B1497EBB3AF0E38C14A98F]]></AD_TEXTINTERFACES_ID>
<!--90800D9E80B1497EBB3AF0E38C14A98F--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2024,28 +2035,6 @@
<!--949AA49A4D8E6BEAE040007F0100565C--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--949AA49A4D8E6BEAE040007F0100565C--></AD_TEXTINTERFACES>
-<!--949AA49A4D916BEAE040007F0100565C--><AD_TEXTINTERFACES>
-<!--949AA49A4D916BEAE040007F0100565C--> <AD_TEXTINTERFACES_ID><![CDATA[949AA49A4D916BEAE040007F0100565C]]></AD_TEXTINTERFACES_ID>
-<!--949AA49A4D916BEAE040007F0100565C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--949AA49A4D916BEAE040007F0100565C--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--949AA49A4D916BEAE040007F0100565C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--949AA49A4D916BEAE040007F0100565C--> <TEXT><![CDATA[per]]></TEXT>
-<!--949AA49A4D916BEAE040007F0100565C--> <FILENAME><![CDATA[/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.jrxml]]></FILENAME>
-<!--949AA49A4D916BEAE040007F0100565C--> <ISUSED><![CDATA[Y]]></ISUSED>
-<!--949AA49A4D916BEAE040007F0100565C--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--949AA49A4D916BEAE040007F0100565C--></AD_TEXTINTERFACES>
-
-<!--949AA49A4D946BEAE040007F0100565C--><AD_TEXTINTERFACES>
-<!--949AA49A4D946BEAE040007F0100565C--> <AD_TEXTINTERFACES_ID><![CDATA[949AA49A4D946BEAE040007F0100565C]]></AD_TEXTINTERFACES_ID>
-<!--949AA49A4D946BEAE040007F0100565C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--949AA49A4D946BEAE040007F0100565C--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--949AA49A4D946BEAE040007F0100565C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--949AA49A4D946BEAE040007F0100565C--> <TEXT><![CDATA[for]]></TEXT>
-<!--949AA49A4D946BEAE040007F0100565C--> <FILENAME><![CDATA[/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.jrxml]]></FILENAME>
-<!--949AA49A4D946BEAE040007F0100565C--> <ISUSED><![CDATA[Y]]></ISUSED>
-<!--949AA49A4D946BEAE040007F0100565C--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
-<!--949AA49A4D946BEAE040007F0100565C--></AD_TEXTINTERFACES>
-
<!--949AA49A4D976BEAE040007F0100565C--><AD_TEXTINTERFACES>
<!--949AA49A4D976BEAE040007F0100565C--> <AD_TEXTINTERFACES_ID><![CDATA[949AA49A4D976BEAE040007F0100565C]]></AD_TEXTINTERFACES_ID>
<!--949AA49A4D976BEAE040007F0100565C--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2662,6 +2651,17 @@
<!--CE2DB3A92796496FB681075E787506CE--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
<!--CE2DB3A92796496FB681075E787506CE--></AD_TEXTINTERFACES>
+<!--CEAC243124A8410485A1C7A3760C74B8--><AD_TEXTINTERFACES>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <AD_TEXTINTERFACES_ID><![CDATA[CEAC243124A8410485A1C7A3760C74B8]]></AD_TEXTINTERFACES_ID>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <TEXT><![CDATA[per]]></TEXT>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <FILENAME><![CDATA[/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.jrxml]]></FILENAME>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <ISUSED><![CDATA[Y]]></ISUSED>
+<!--CEAC243124A8410485A1C7A3760C74B8--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--CEAC243124A8410485A1C7A3760C74B8--></AD_TEXTINTERFACES>
+
<!--CF8D743F746F49759CDF771C6E73A909--><AD_TEXTINTERFACES>
<!--CF8D743F746F49759CDF771C6E73A909--> <AD_TEXTINTERFACES_ID><![CDATA[CF8D743F746F49759CDF771C6E73A909]]></AD_TEXTINTERFACES_ID>
<!--CF8D743F746F49759CDF771C6E73A909--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
View
34 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_WINDOW.xml
@@ -0,0 +1,34 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--C57DED2495184380AFBAAA3CA720C3DA--><AD_WINDOW>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <AD_WINDOW_ID><![CDATA[C57DED2495184380AFBAAA3CA720C3DA]]></AD_WINDOW_ID>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <NAME><![CDATA[Modify Payment In Plan]]></NAME>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <DESCRIPTION><![CDATA[Modify Payment Plan]]></DESCRIPTION>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <WINDOWTYPE><![CDATA[OBUIAPP_PickAndExecute]]></WINDOWTYPE>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <ISSOTRX><![CDATA[Y]]></ISSOTRX>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
+<!--C57DED2495184380AFBAAA3CA720C3DA--> <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
+<!--C57DED2495184380AFBAAA3CA720C3DA--></AD_WINDOW>
+
+<!--EDBED920F400435DA5E7CB625301DCBE--><AD_WINDOW>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <AD_WINDOW_ID><![CDATA[EDBED920F400435DA5E7CB625301DCBE]]></AD_WINDOW_ID>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <NAME><![CDATA[Modify Payment Out Plan]]></NAME>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <WINDOWTYPE><![CDATA[OBUIAPP_PickAndExecute]]></WINDOWTYPE>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <ISSOTRX><![CDATA[N]]></ISSOTRX>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
+<!--EDBED920F400435DA5E7CB625301DCBE--> <ISADVANCEDFEATURE><![CDATA[N]]></ISADVANCEDFEATURE>
+<!--EDBED920F400435DA5E7CB625301DCBE--></AD_WINDOW>
+
+</data>
View
80 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
@@ -1,5 +1,25 @@
<?xml version='1.0' encoding='UTF-8'?>
<data>
+<!--0586B9F7ED4147758536007BF402F1DF--><OBUIAPP_PARAMETER>
+<!--0586B9F7ED4147758536007BF402F1DF--> <OBUIAPP_PARAMETER_ID><![CDATA[0586B9F7ED4147758536007BF402F1DF]]></OBUIAPP_PARAMETER_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <NAME><![CDATA[Modify Payment In Plan]]></NAME>
+<!--0586B9F7ED4147758536007BF402F1DF--> <SEQNO><![CDATA[10]]></SEQNO>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_REFERENCE_ID><![CDATA[FF80818132D8F0F30132D9BC395D0038]]></AD_REFERENCE_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_REFERENCE_VALUE_ID><![CDATA[6932F568D27E47DB861809AD66C15A01]]></AD_REFERENCE_VALUE_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <COLUMNNAME><![CDATA[grid]]></COLUMNNAME>
+<!--0586B9F7ED4147758536007BF402F1DF--> <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--0586B9F7ED4147758536007BF402F1DF--> <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--0586B9F7ED4147758536007BF402F1DF--> <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--0586B9F7ED4147758536007BF402F1DF--> <AD_ELEMENT_ID><![CDATA[AF073DA2C96EFA0CE040A8C09166378E]]></AD_ELEMENT_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--> <ISFIXED><![CDATA[Y]]></ISFIXED>
+<!--0586B9F7ED4147758536007BF402F1DF--> <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--0586B9F7ED4147758536007BF402F1DF--> <OBUIAPP_PROCESS_ID><![CDATA[4EEB3497082C4F2182E16A4371CD5D96]]></OBUIAPP_PROCESS_ID>
+<!--0586B9F7ED4147758536007BF402F1DF--></OBUIAPP_PARAMETER>
+
<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--><OBUIAPP_PARAMETER>
<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--> <OBUIAPP_PARAMETER_ID><![CDATA[0A9E075CCC6E4D59AAC37E3AEF1FE269]]></OBUIAPP_PARAMETER_ID>
<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -20,6 +40,26 @@
<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--> <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
<!--0A9E075CCC6E4D59AAC37E3AEF1FE269--></OBUIAPP_PARAMETER>
+<!--111000BF6C4445E785AA08331A268E1B--><OBUIAPP_PARAMETER>
+<!--111000BF6C4445E785AA08331A268E1B--> <OBUIAPP_PARAMETER_ID><![CDATA[111000BF6C4445E785AA08331A268E1B]]></OBUIAPP_PARAMETER_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <NAME><![CDATA[buttonList]]></NAME>
+<!--111000BF6C4445E785AA08331A268E1B--> <SEQNO><![CDATA[20]]></SEQNO>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_REFERENCE_ID><![CDATA[FF80818132F94B500132F9575619000A]]></AD_REFERENCE_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_REFERENCE_VALUE_ID><![CDATA[E91B038ABF4F4A2280264C4A475852A4]]></AD_REFERENCE_VALUE_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <COLUMNNAME><![CDATA[buttonList]]></COLUMNNAME>
+<!--111000BF6C4445E785AA08331A268E1B--> <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--111000BF6C4445E785AA08331A268E1B--> <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--111000BF6C4445E785AA08331A268E1B--> <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--111000BF6C4445E785AA08331A268E1B--> <AD_ELEMENT_ID><![CDATA[B40C938A247779EFE040A8C0916618AE]]></AD_ELEMENT_ID>
+<!--111000BF6C4445E785AA08331A268E1B--> <ISFIXED><![CDATA[Y]]></ISFIXED>
+<!--111000BF6C4445E785AA08331A268E1B--> <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--111000BF6C4445E785AA08331A268E1B--> <OBUIAPP_PROCESS_ID><![CDATA[6F87442DF7BC43AB8A666BDED2F7D64E]]></OBUIAPP_PROCESS_ID>
+<!--111000BF6C4445E785AA08331A268E1B--></OBUIAPP_PARAMETER>
+
<!--2653B134344A4BBEBA417F6CFEDE8D91--><OBUIAPP_PARAMETER>
<!--2653B134344A4BBEBA417F6CFEDE8D91--> <OBUIAPP_PARAMETER_ID><![CDATA[2653B134344A4BBEBA417F6CFEDE8D91]]></OBUIAPP_PARAMETER_ID>
<!--2653B134344A4BBEBA417F6CFEDE8D91--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -40,6 +80,46 @@
<!--2653B134344A4BBEBA417F6CFEDE8D91--> <EM_OBKMO_WIDGET_CLASS_ID><![CDATA[FF80808133186ADD01331B3A932C000D]]></EM_OBKMO_WIDGET_CLASS_ID>
<!--2653B134344A4BBEBA417F6CFEDE8D91--></OBUIAPP_PARAMETER>
+<!--854F44975FB84D20AE8E8DA02999747E--><OBUIAPP_PARAMETER>
+<!--854F44975FB84D20AE8E8DA02999747E--> <OBUIAPP_PARAMETER_ID><![CDATA[854F44975FB84D20AE8E8DA02999747E]]></OBUIAPP_PARAMETER_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <NAME><![CDATA[buttonList]]></NAME>
+<!--854F44975FB84D20AE8E8DA02999747E--> <SEQNO><![CDATA[20]]></SEQNO>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_REFERENCE_ID><![CDATA[FF80818132F94B500132F9575619000A]]></AD_REFERENCE_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_REFERENCE_VALUE_ID><![CDATA[E91B038ABF4F4A2280264C4A475852A4]]></AD_REFERENCE_VALUE_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <COLUMNNAME><![CDATA[buttonList]]></COLUMNNAME>
+<!--854F44975FB84D20AE8E8DA02999747E--> <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--854F44975FB84D20AE8E8DA02999747E--> <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--854F44975FB84D20AE8E8DA02999747E--> <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--854F44975FB84D20AE8E8DA02999747E--> <AD_ELEMENT_ID><![CDATA[B40C938A247779EFE040A8C0916618AE]]></AD_ELEMENT_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--> <ISFIXED><![CDATA[Y]]></ISFIXED>
+<!--854F44975FB84D20AE8E8DA02999747E--> <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--854F44975FB84D20AE8E8DA02999747E--> <OBUIAPP_PROCESS_ID><![CDATA[4EEB3497082C4F2182E16A4371CD5D96]]></OBUIAPP_PROCESS_ID>
+<!--854F44975FB84D20AE8E8DA02999747E--></OBUIAPP_PARAMETER>
+
+<!--878E7842FC524139BBEE0CAE0C1F3E17--><OBUIAPP_PARAMETER>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <OBUIAPP_PARAMETER_ID><![CDATA[878E7842FC524139BBEE0CAE0C1F3E17]]></OBUIAPP_PARAMETER_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <NAME><![CDATA[Modify Payment Out Plan]]></NAME>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <SEQNO><![CDATA[10]]></SEQNO>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_REFERENCE_ID><![CDATA[FF80818132D8F0F30132D9BC395D0038]]></AD_REFERENCE_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_REFERENCE_VALUE_ID><![CDATA[B8C833E4F0A44A2DA5FC7606F3CD9439]]></AD_REFERENCE_VALUE_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <COLUMNNAME><![CDATA[grid]]></COLUMNNAME>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <AD_ELEMENT_ID><![CDATA[EDB9CF491555465382F828F48291A0C0]]></AD_ELEMENT_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <ISFIXED><![CDATA[Y]]></ISFIXED>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <EVALUATEFIXEDVALUE><![CDATA[N]]></EVALUATEFIXEDVALUE>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--> <OBUIAPP_PROCESS_ID><![CDATA[6F87442DF7BC43AB8A666BDED2F7D64E]]></OBUIAPP_PROCESS_ID>
+<!--878E7842FC524139BBEE0CAE0C1F3E17--></OBUIAPP_PARAMETER>
+
<!--FF808081331B5EE901331B68C4540018--><OBUIAPP_PARAMETER>
<!--FF808081331B5EE901331B68C4540018--> <OBUIAPP_PARAMETER_ID><![CDATA[FF808081331B5EE901331B68C4540018]]></OBUIAPP_PARAMETER_ID>
<!--FF808081331B5EE901331B68C4540018--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
View
31 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PROCESS.xml
@@ -0,0 +1,31 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--4EEB3497082C4F2182E16A4371CD5D96--><OBUIAPP_PROCESS>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <OBUIAPP_PROCESS_ID><![CDATA[4EEB3497082C4F2182E16A4371CD5D96]]></OBUIAPP_PROCESS_ID>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <VALUE><![CDATA[APR_ModifyPaymentPlan]]></VALUE>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <NAME><![CDATA[Modify Payment In Plan]]></NAME>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <CLASSNAME><![CDATA[org.openbravo.advpaymentmngt.actionHandler.ModifyPaymentPlanActionHandler]]></CLASSNAME>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--4EEB3497082C4F2182E16A4371CD5D96--> <UIPATTERN><![CDATA[OBUIAPP_PickAndExecute]]></UIPATTERN>
+<!--4EEB3497082C4F2182E16A4371CD5D96--></OBUIAPP_PROCESS>
+
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--><OBUIAPP_PROCESS>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <OBUIAPP_PROCESS_ID><![CDATA[6F87442DF7BC43AB8A666BDED2F7D64E]]></OBUIAPP_PROCESS_ID>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <VALUE><![CDATA[Modify Payment Out Plan]]></VALUE>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <NAME><![CDATA[Modify Payment Out Plan]]></NAME>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <CLASSNAME><![CDATA[org.openbravo.advpaymentmngt.actionHandler.ModifyPaymentPlanActionHandler]]></CLASSNAME>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--> <UIPATTERN><![CDATA[OBUIAPP_PickAndExecute]]></UIPATTERN>
+<!--6F87442DF7BC43AB8A666BDED2F7D64E--></OBUIAPP_PROCESS>
+
+</data>
View
21 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_REF_WINDOW.xml
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--><OBUIAPP_REF_WINDOW>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <OBUIAPP_REF_WINDOW_ID><![CDATA[6F4B972A4EF541EC9CD107A71BE205FA]]></OBUIAPP_REF_WINDOW_ID>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <AD_REFERENCE_ID><![CDATA[B8C833E4F0A44A2DA5FC7606F3CD9439]]></AD_REFERENCE_ID>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--> <AD_WINDOW_ID><![CDATA[EDBED920F400435DA5E7CB625301DCBE]]></AD_WINDOW_ID>
+<!--6F4B972A4EF541EC9CD107A71BE205FA--></OBUIAPP_REF_WINDOW>
+
+<!--98B655EC65BF4D669F3474F07CF22131--><OBUIAPP_REF_WINDOW>
+<!--98B655EC65BF4D669F3474F07CF22131--> <OBUIAPP_REF_WINDOW_ID><![CDATA[98B655EC65BF4D669F3474F07CF22131]]></OBUIAPP_REF_WINDOW_ID>
+<!--98B655EC65BF4D669F3474F07CF22131--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--98B655EC65BF4D669F3474F07CF22131--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--98B655EC65BF4D669F3474F07CF22131--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--98B655EC65BF4D669F3474F07CF22131--> <AD_REFERENCE_ID><![CDATA[6932F568D27E47DB861809AD66C15A01]]></AD_REFERENCE_ID>
+<!--98B655EC65BF4D669F3474F07CF22131--> <AD_WINDOW_ID><![CDATA[C57DED2495184380AFBAAA3CA720C3DA]]></AD_WINDOW_ID>
+<!--98B655EC65BF4D669F3474F07CF22131--></OBUIAPP_REF_WINDOW>
+
+</data>
View
2 modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
@@ -45,6 +45,7 @@
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <NAME><![CDATA[Business Partner]]></NAME>
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <AD_REFERENCE_ID><![CDATA[56DEFF37A33F46D1AC918C97C4447EAF]]></AD_REFERENCE_ID>
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
+<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <FILTER_EXPRESSION><![CDATA["e.active=true"]]></FILTER_EXPRESSION>
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--A98899B1C75A4F4EBD3414F1B654EFAB--> <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
@@ -125,6 +126,7 @@
<!--FF808181312DA8D801312DDE869B000C--> <AD_REFERENCE_ID><![CDATA[FF808181312DA8D801312DDDAA750008]]></AD_REFERENCE_ID>
<!--FF808181312DA8D801312DDE869B000C--> <AD_TABLE_ID><![CDATA[208]]></AD_TABLE_ID>
<!--FF808181312DA8D801312DDE869B000C--> <AD_COLUMN_ID><![CDATA[1402]]></AD_COLUMN_ID>
+<!--FF808181312DA8D801312DDE869B000C--> <WHERECLAUSE><![CDATA[e.active='Y']]></WHERECLAUSE>
<!--FF808181312DA8D801312DDE869B000C--> <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--FF808181312DA8D801312DDE869B000C--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--FF808181312DA8D801312DDE869B000C--> <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
View
4 ...l/modulescript/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPayments_data.xsql
@@ -32,6 +32,8 @@
AND P.GENERATED_CREDIT = 0 AND P.USED_CREDIT > 0
AND P.ISRECEIPT = ?
AND P.C_BPARTNER_ID = ?
+ AND P.PROCESSED = 'Y'
+ AND P.STATUS NOT IN ('RPAE','RPVOID')
ORDER BY P.PAYMENTDATE, P.DOCUMENTNO
]]>
</Sql>
@@ -47,6 +49,8 @@
WHERE GENERATED_CREDIT > 0 AND USED_CREDIT > 0
AND ISRECEIPT = ?
AND C_BPARTNER_ID = ?
+ AND P.PROCESSED = 'Y'
+ AND P.STATUS NOT IN ('RPAE','RPVOID')
ORDER BY PAYMENTDATE, DOCUMENTNO
]]>
</Sql>
View
4 ...odulescript/src/src/org/openbravo/advpaymentmngt/modulescript/LinkCreditPaymentsData.java
@@ -67,6 +67,8 @@ else if (fieldName.equalsIgnoreCase("name"))
" AND P.GENERATED_CREDIT = 0 AND P.USED_CREDIT > 0" +
" AND P.ISRECEIPT = ?" +
" AND P.C_BPARTNER_ID = ?" +
+ " AND P.PROCESSED = 'Y'" +
+ " AND P.STATUS NOT IN ('RPAE','RPVOID')" +
" ORDER BY P.PAYMENTDATE, P.DOCUMENTNO";
ResultSet result;
@@ -135,6 +137,8 @@ else if (fieldName.equalsIgnoreCase("name"))
" WHERE GENERATED_CREDIT > 0 AND USED_CREDIT > 0" +
" AND ISRECEIPT = ?" +
" AND C_BPARTNER_ID = ?" +
+ " AND P.PROCESSED = 'Y'" +
+ " AND P.STATUS NOT IN ('RPAE','RPVOID')" +
" ORDER BY PAYMENTDATE, DOCUMENTNO";
ResultSet result;
View
734 ...ntmngt/src/org/openbravo/advpaymentmngt/actionHandler/ModifyPaymentPlanActionHandler.java
@@ -0,0 +1,734 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo Public License
+ * Version 1.1 (the "License"), being the Mozilla Public License
+ * Version 1.1 with a permitted attribution clause; you may not use this
+ * file except in compliance with the License. You may obtain a copy of
+ * the License at http://www.openbravo.com/legal/license.html
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific language governing rights and limitations
+ * under the License.
+ * The Original Code is Openbravo ERP.
+ * The Initial Developer of the Original Code is Openbravo SLU
+ * All portions are Copyright (C) 2012 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s): ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.advpaymentmngt.actionHandler;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.commons.lang.StringUtils;
+import org.apache.log4j.Logger;
+import org.codehaus.jettison.json.JSONArray;
+import org.codehaus.jettison.json.JSONException;
+import org.codehaus.jettison.json.JSONObject;
+import org.hibernate.criterion.Restrictions;
+import org.hibernate.exception.ConstraintViolationException;
+import org.openbravo.advpaymentmngt.dao.AdvPaymentMngtDao;
+import org.openbravo.advpaymentmngt.process.FIN_PaymentMonitorProcess;
+import org.openbravo.base.provider.OBProvider;
+import org.openbravo.base.secureApp.VariablesSecureApp;
+import org.openbravo.client.application.ApplicationConstants;
+import org.openbravo.client.application.process.BaseProcessActionHandler;
+import org.openbravo.client.kernel.KernelUtils;
+import org.openbravo.dal.core.OBContext;
+import org.openbravo.dal.service.OBCriteria;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.erpCommon.utility.Utility;
+import org.openbravo.model.ad.ui.Field;
+import org.openbravo.model.common.invoice.Invoice;
+import org.openbravo.model.financialmgmt.payment.FIN_Payment;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentDetail;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentMethod;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentSchedule;
+import org.openbravo.model.financialmgmt.payment.FIN_PaymentScheduleDetail;
+import org.openbravo.model.financialmgmt.payment.Fin_OrigPaymentSchedule;
+import org.openbravo.service.db.DalConnectionProvider;
+import org.openbravo.service.json.JsonToDataConverter;
+
+public class ModifyPaymentPlanActionHandler extends BaseProcessActionHandler {
+
+ private final String buttonNewVersion = "newVersion";
+ private final String buttonModifyOriginal = "modifyOriginal";
+ private final AdvPaymentMngtDao dao = new AdvPaymentMngtDao();
+ private static final Logger log4j = Logger.getLogger(ModifyPaymentPlanActionHandler.class);
+
+ @Override
+ /**
+ * Receives the modified payment plan for a given invoice
+ */
+ protected JSONObject doExecute(Map<String, Object> parameters, String content) {
+ JSONObject jsonRequest = null;
+ boolean modifyOriginal = false;
+ try {
+ jsonRequest = new JSONObject(content);
+ String strInvoiceId = jsonRequest.getString("inpcInvoiceId");
+ if (strInvoiceId == null || strInvoiceId.isEmpty() || "null".equalsIgnoreCase(strInvoiceId)) {
+ strInvoiceId = jsonRequest.getString("C_Invoice_ID");
+ }
+ Invoice invoice = OBDal.getInstance().get(Invoice.class, strInvoiceId);
+ JSONArray gridRows = jsonRequest.getJSONArray(ApplicationConstants.ALL_ROWS_PARAM);
+ List<FIN_PaymentSchedule> databaseRows = new ArrayList<FIN_PaymentSchedule>();
+ databaseRows = getDatabaseRows(invoice);
+
+ if (jsonRequest.getString(ApplicationConstants.BUTTON_VALUE).equals(buttonModifyOriginal)) {
+ modifyOriginal = true;
+ } else if (jsonRequest.getString(ApplicationConstants.BUTTON_VALUE).equals(buttonNewVersion)) {
+ modifyOriginal = false;
+ } else {
+ return addMessage(jsonRequest, "@APRM_ButtonNotValid@", "error");
+ }
+
+ if (modifyOriginal && paidAnyAmount(invoice)) {
+ return addMessage(jsonRequest, "@APRM_AlreadyPaidInvoice@", "error");
+ }
+
+ String errorMsg = validateGridAmounts(gridRows, invoice);
+ if (errorMsg != null) {
+ OBDal.getInstance().rollbackAndClose();
+ return addMessage(jsonRequest, errorMsg, "error");
+ }
+ if (!validateInvoiceAmounts(invoice)) {
+ OBDal.getInstance().rollbackAndClose();
+ return addMessage(jsonRequest, "@APRM_ExistingPlanIsNotCorrect@", "error");
+ }
+
+ List<JSONObject> lToCreate = getNewRows(gridRows);
+ List<FIN_PaymentSchedule> lToRemove = getRemovedRows(databaseRows, gridRows);
+ List<FIN_PaymentSchedule> lToModify = getModifiedRows(databaseRows, gridRows, lToCreate,
+ lToRemove);
+ HashMap<FIN_PaymentSchedule, BigDecimal> orders = getOrders(lToRemove, lToModify);
+ HashMap<FIN_PaymentDetail, BigDecimal> canceledPSDs = getCanceledPSDs(lToRemove, lToModify);
+
+ removeRows(lToRemove, invoice);
+ List<FIN_PaymentSchedule> createdPSs = createRows(lToCreate, invoice);
+ createdPSs = modifyRows(lToModify, gridRows, invoice, createdPSs);
+ createPSDetails(createdPSs, orders);
+ assignCanceled(invoice, canceledPSDs);
+
+ if (!ordersSumsZero(orders, invoice.getFINPaymentScheduleList().get(0))) {
+ OBDal.getInstance().rollbackAndClose();
+ return addMessage(jsonRequest, "@APRM_AmountNotFullyAllocated@", "error");
+ }
+
+ if (modifyOriginal) {
+ writeOriginalPlan(invoice);
+ }
+
+ if (!validateInvoiceAmounts(invoice)) {
+ OBDal.getInstance().rollbackAndClose();
+ return addMessage(jsonRequest, "@APRM_AmountMismatch@", "error");
+ }
+ // As a final step, Payment Monitor information for this invoice is updated.
+ FIN_PaymentMonitorProcess.updateInvoice(invoice);
+ return addMessage(jsonRequest, "@Success@", "success");
+ } catch (ConstraintViolationException e) {
+ OBDal.getInstance().rollbackAndClose();
+ log4j.error("Exception! " + e);
+ String constraint = e.getConstraintName();
+ constraint = constraint.substring(constraint.lastIndexOf(".") + 1, constraint.length());
+ try {
+ return addMessage(jsonRequest, "@" + constraint + "@", "error");
+ } catch (Exception ex) {
+ log4j.error("Exception! " + ex);
+ return jsonRequest;
+ }
+ } catch (Exception e) {
+ OBDal.getInstance().rollbackAndClose();
+ log4j.error("Exception! " + e);
+ try {
+ return addMessage(jsonRequest, "@ProcessRunError@", "error");
+ } catch (Exception ex) {
+ log4j.error("Exception! " + ex);
+ return jsonRequest;
+ }
+ }
+ }
+
+ /**
+ * Once the payment schedules are created, this process creates the payment schedule detail
+ * elements, assigning the amounts related to orders
+ *
+ * @throws Exception
+ */
+ private void createPSDetails(List<FIN_PaymentSchedule> createdPSs,
+ HashMap<FIN_PaymentSchedule, BigDecimal> ordersProvided) throws Exception {
+ HashMap<FIN_PaymentSchedule, BigDecimal> orders = ordersProvided;
+ if (!correctAmounts(createdPSs, orders)) {
+ throw new Exception();
+ }
+
+ for (FIN_PaymentSchedule ps : createdPSs) {
+ orders = createPaymentScheduleDetail(ps, orders);
+ }
+ }
+
+ /**
+ * Given a list of payment schedule element and a list of amounts associated to orders, creates
+ * the payment schedule details for the given payment schedule element
+ *
+ */
+ private HashMap<FIN_PaymentSchedule, BigDecimal> createPaymentScheduleDetail(
+ FIN_PaymentSchedule invoicePS, HashMap<FIN_PaymentSchedule, BigDecimal> ordersProvided) {
+ HashMap<FIN_PaymentSchedule, BigDecimal> orders = ordersProvided;
+ Iterator<FIN_PaymentSchedule> ite = orders.keySet().iterator();
+ BigDecimal amount = getPendingPSAmounts(invoicePS);
+ List<FIN_PaymentSchedule> lOrdersToRemove = new ArrayList<FIN_PaymentSchedule>();
+ FIN_PaymentSchedule orderPS = null;
+ BigDecimal orderAmount = BigDecimal.ZERO;
+ if (orders.containsKey(null)) {
+ orderAmount = orders.get(null);
+ } else {
+ lOrdersToRemove.add(null);
+ }
+ while (amount.compareTo(BigDecimal.ZERO) != 0 && ite.hasNext()) {
+ if (lOrdersToRemove.contains(orderPS) || orderAmount.compareTo(BigDecimal.ZERO) == 0) {
+ orderPS = ite.next();
+ orderAmount = orders.get(orderPS);
+ }
+ if (amount.abs().compareTo(orderAmount.abs()) >= 0) {
+ if (orderAmount.compareTo(BigDecimal.ZERO) != 0) {
+ dao.getNewPaymentScheduleDetail(invoicePS, orderPS, orderAmount, BigDecimal.ZERO, null);
+ }
+ amount = amount.subtract(orderAmount);
+ orderAmount = BigDecimal.ZERO;
+ lOrdersToRemove.add(orderPS);
+ } else {
+ if (amount.compareTo(BigDecimal.ZERO) != 0) {
+ dao.getNewPaymentScheduleDetail(invoicePS, orderPS, amount, BigDecimal.ZERO, null);
+ }
+ orderAmount = orderAmount.subtract(amount);
+ amount = BigDecimal.ZERO;
+ }
+ orders.put(orderPS, orderAmount);
+ }
+ OBDal.getInstance().flush();
+
+ for (FIN_PaymentSchedule ps : lOrdersToRemove) {
+ orders.remove(ps);
+ }
+ return orders;
+ }
+
+ /**
+ * Returns true in case the sum of order amounts is equal to the sum of PS amounts
+ *
+ */
+ private boolean correctAmounts(List<FIN_PaymentSchedule> createdPSs,
+ HashMap<FIN_PaymentSchedule, BigDecimal> ordersProvided) {
+ HashMap<FIN_PaymentSchedule, BigDecimal> orders = ordersProvided;
+ BigDecimal psAmount = BigDecimal.ZERO;
+ for (FIN_PaymentSchedule ps : createdPSs) {
+ OBDal.getInstance().refresh(ps);
+ psAmount = psAmount.add(getPendingPSAmounts(ps));
+ }
+
+ BigDecimal ordersAmounts = BigDecimal.ZERO;
+
+ Iterator<FIN_PaymentSchedule> ite = orders.keySet().iterator();
+ while (ite.hasNext()) {
+ ordersAmounts = ordersAmounts.add(orders.get(ite.next()));
+ }
+
+ if (ordersAmounts.compareTo(psAmount) != 0) {
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * It could happen that the orders associated to the invoice payment plan do have positive and
+ * negative amounts. In this case, the order map will have data, but sum of amounts will be zero.
+ * In that case, new payment schedule detail elements are created for these amounts
+ *
+ */
+ private boolean ordersSumsZero(HashMap<FIN_PaymentSchedule, BigDecimal> orders,
+ FIN_PaymentSchedule ps) {
+ if (orders == null || orders.size() == 0) {
+ return true;
+ }
+ BigDecimal acum = BigDecimal.ZERO;
+ Iterator<FIN_PaymentSchedule> ite = orders.keySet().iterator();
+ while (ite.hasNext()) {
+ FIN_PaymentSchedule orderPS = ite.next();
+ BigDecimal orderAmount = orders.get(orderPS);