Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018485
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2011-09-09 13:402011-10-12 01:58
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione5982f367e56
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product Version2.50MP32SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018485: Payment monitor is not properly updated when payments are included on a settlement mixing receipts and payments

DescriptionIf a settlement is created mixing receipts and payments the payment monitor of the related invoices is not properly calculated.
Steps To ReproduceScenario 1:
1. Create a purchase invoice and process it (for example of 500€)
2. Create a settlement that cancels invoice's payment converting it in a negative receipt.
3. Create a bank statement to pay the generated negative receipt.
4. Update invoice's payment monitor.
Expected result is: Paid 500€ and outstanding 0€
Current result is: Paid -500€ and outstanding 1000€

Scenario 2:
1. Create a purchase invoice and process it (500€)
2. Create a sales invoice and process it (1000€)
3. Create a settlement that cancels both payments and generates a receipt of 500€
4. Create a bank statement to pay the generated receipt.
5. Update payment monitor of the purchase invoice:
Expected result is: Paid 500€ and outstanding 0€
Current result is: Paid 166.67€ and outstanding 333.33€
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0018486 closedgorkaion Payment monitor is not properly updated when payments are included on a settlement mixing receipts and payments 

-  Notes
(0041082)
hgbot (developer)
2011-09-19 17:09

Repository: erp/devel/pi
Changeset: e5982f367e56015018512a3f58ac18ae5ddd5d85
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 19 17:08:19 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e5982f367e56015018512a3f58ac18ae5ddd5d85 [^]

Fixed issue 18485.Forwardport fix on 2.50 branch.

---
M src/org/openbravo/erpCommon/ad_process/PaymentMonitor.java
---
(0041083)
hgbot (developer)
2011-09-19 17:10

Repository: erp/mods/org.openbravo.erputil.aprmigrationtool
Changeset: 9333bc12b8d0b2fc22428a97e6993218623c9ab6
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Sep 19 17:09:02 2011 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.erputil.aprmigrationtool/rev/9333bc12b8d0b2fc22428a97e6993218623c9ab6 [^]

Related to issue 18485.Forwardport fix on 2.50 branch.

---
M src/org/openbravo/erputil/aprmigrationtool/utility/UpdatePaymentMonitorOldFlow.java
---
(0041202)
psanjuan (manager)
2011-09-21 18:27

we can not directly test this but through migration process.
(0041266)
psanjuan (manager)
2011-09-23 14:59

fixed and working
(0041677)
hudsonbot (developer)
2011-10-12 01:58

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/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-09-09 13:40 gorkaion New Issue
2011-09-09 13:40 gorkaion Assigned To => gorkaion
2011-09-09 13:40 gorkaion Modules => Core
2011-09-09 13:41 gorkaion Status new => scheduled
2011-09-09 13:41 gorkaion fix_in_branch => pi
2011-09-19 17:09 hgbot Checkin
2011-09-19 17:09 hgbot Note Added: 0041082
2011-09-19 17:09 hgbot Status scheduled => resolved
2011-09-19 17:09 hgbot Resolution open => fixed
2011-09-19 17:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e5982f367e56015018512a3f58ac18ae5ddd5d85 [^]
2011-09-19 17:10 hgbot Checkin
2011-09-19 17:10 hgbot Note Added: 0041083
2011-09-21 18:27 psanjuan Note Added: 0041202
2011-09-23 14:59 psanjuan Note Added: 0041266
2011-09-23 14:59 psanjuan Status resolved => closed
2011-09-23 14:59 psanjuan fix_in_branch pi =>
2011-10-12 01:58 hudsonbot Checkin
2011-10-12 01:58 hudsonbot Note Added: 0041677


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker