Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018706Openbravo ERP09. Financial managementpublic2011-08-12 15:262011-11-15 13:41
gorkaion 
gorkaion 
normalminorhave not tried
closedfixed 
5
 
3.0MP5 
Advanced Payables and Receivables Mngmt
No
0018706: due amount on invoices is not properly initialized
The due amount of the invoice should be initialized when there is an expected payment with due date in the past.

This value is only initialized when the invoice is processed, so, only in case the payment term is immediate it is initialized.

Later processes decrease properly the amount if the payment is not on the due date, so the amount become negative instead of zero.
1. Create an invoice with payment term with due date more than 1d.
2. Modify the due date of the payment schedule through database to a date in the past.
3. Create a payment for that payment schedule.
4. Check that the invoice's due amount is now negative.
Payment Monitor background process should update the due amount of the invoices periodically.
No tags attached.
blocks defect 00182763.0MP5 closed gorkaion due amount on invoices is not properly initialized 
Issue History
2011-10-05 16:18gorkaionTypedefect => backport
2011-10-05 16:18gorkaionfix_in_branch => 2.50
2011-10-05 16:54hgbotCheckin
2011-10-05 16:54hgbotNote Added: 0041511
2011-10-05 16:54hgbotStatusscheduled => resolved
2011-10-05 16:54hgbotResolutionopen => fixed
2011-10-05 16:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/774da5af5bf1638a38803099043809c3f1478af9 [^]
2011-10-05 17:03hgbotCheckin
2011-10-05 17:03hgbotNote Added: 0041512
2011-11-15 13:41eduardo_ArgalStatusresolved => closed

Notes
(0041511)
hgbot   
2011-10-05 16:54   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 774da5af5bf1638a38803099043809c3f1478af9
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Oct 05 16:52:42 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/774da5af5bf1638a38803099043809c3f1478af9 [^]

Fixed issue 18705.Fixed issue 18706.Several fixes and inprovements on Payment Monitor process.

---
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
---
(0041512)
hgbot   
2011-10-05 17:03   
Repository: erp/mods/org.openbravo.erputil.aprmigrationtool
Changeset: cc4cd1cb27baf5438975b8bafec6beb7bbaf1dc8
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed Oct 05 17:02:06 2011 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/cc4cd1cb27baf5438975b8bafec6beb7bbaf1dc8 [^]

Related to issue 18706.Related to issue 18705.Ported Payment Monitor inprovements.

---
M src/org/openbravo/erputil/aprmigrationtool/utility/UpdatePaymentMonitorOldFlow.java
---