Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018276Openbravo ERP09. Financial managementpublic2011-08-12 15:262011-10-31 18:28
gorkaion 
gorkaion 
normalminorhave not tried
closedfixed 
5
 
3.0MP5 
Advanced Payables and Receivables Mngmt
No
0018276: 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.
related to feature request 0018277 closed gorkaion APR Payment monitor background process should update paid and outstanding amounts 
depends on backport 00187063.0MP5 closed gorkaion due amount on invoices is not properly initialized 
related to defect 00190103.0MP7 closed gorkaion FIN_PaymentMonitorProcess uses static conn member which is wrong if process scheduled multiple times 
Issue History
2011-08-12 15:26gorkaionNew Issue
2011-08-12 15:26gorkaionAssigned To => jonalegriaesarte
2011-08-12 15:26gorkaionModules => Advanced Payables and Receivables Mngmt
2011-08-29 12:43psanjuanNote Added: 0040535
2011-08-29 12:43psanjuanNote Edited: 0040535bug_revision_view_page.php?bugnote_id=0040535#r2625
2011-08-29 12:43psanjuanTarget Version => 3.0MP4
2011-08-29 12:47psanjuanTarget Version3.0MP4 => 3.0MP3
2011-08-29 12:48jonalegriaesarteAssigned Tojonalegriaesarte => gorkaion
2011-08-29 13:25psanjuanTarget Version3.0MP3 => 3.0MP4
2011-09-15 12:52dalsasuaAssigned Togorkaion => mirurita
2011-09-27 13:28miruritaNote Added: 0041316
2011-09-27 13:28miruritaAssigned Tomirurita => gorkaion
2011-09-27 13:28miruritaTarget Version3.0MP4 => 3.0MP5
2011-09-27 13:28miruritaRelationship addedrelated to 0018277
2011-10-05 16:18gorkaionStatusnew => scheduled
2011-10-05 16:18gorkaionfix_in_branch => pi
2011-10-13 15:57hgbotCheckin
2011-10-13 15:57hgbotNote Added: 0041805
2011-10-13 15:57hgbotStatusscheduled => resolved
2011-10-13 15:57hgbotResolutionopen => fixed
2011-10-13 15:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a7122d9b429a70e63410279013fee50ec0bcdc61 [^]
2011-10-18 17:26hudsonbotCheckin
2011-10-18 17:26hudsonbotNote Added: 0041896
2011-10-31 18:28eduardo_ArgalStatusresolved => closed
2011-11-07 14:05shuehnerRelationship addedrelated to 0019010

Notes
(0040535)
psanjuan   
2011-08-29 12:43   
issue planned to be fixed by MP4

(0041316)
mirurita   
2011-09-27 13:28   
This issue will be solved together with this one: https://issues.openbravo.com/view.php?id=18277 [^]

as gorkaion is working on it make sense to have both assigned.

targeted for MP5
(0041805)
hgbot   
2011-10-13 15:57   
Repository: erp/devel/pi
Changeset: a7122d9b429a70e63410279013fee50ec0bcdc61
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Thu Oct 13 15:55:46 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a7122d9b429a70e63410279013fee50ec0bcdc61 [^]

Fixed issue 18276.Fixed issue 18277.Several fixes and inprovements on Payment Monitor process.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
---
(0041896)
hudsonbot   
2011-10-18 17:26   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/3a0e09f510aa [^]

Maturity status: Test