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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016513
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2011-03-28 14:022011-04-12 00:00
ReportermaiteView Statuspublic 
Assigned ToAinhoaPagola 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP29
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP27SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016513: Error when running "Update Payment Monitor" process

DescriptionError when running "Update Payment Monitor" process, when you have paid partially a payment
Steps To Reproduce1. Sales Management || Transactions || Sales Invoice || Header: create AR Invoice for any BP and any product and Complete.
2. Run 'Update Payment Monitor' process (verify that total paid is 0)
2. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header: create record and press "Create Lines From" button.
3. Select payment related with invoice created and set amount to paid it partially
4. Process Bank statement
5. Come back to sales invoice and run 'Update Payment Monitor' process. You will obtain error "Rounding necessary"

Having a look at the log problem seems to be in calculatePaidAmount method of PaymentMonitor.java
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00156172.50MP26 closeddalsasua Payment monitor process fails 
depends on backport 00167412.50MP29 closedAinhoaPagola Error when running "Update Payment Monitor" process 

-  Notes
(0035734)
AinhoaPagola (reporter)
2011-04-07 13:22

Proposed Solution by Maria:
 
src/org/openbravo/erpCommon/ad_process/PaymentMonitor.java: line 194

Change:
if (cancelledNotPaidAmount.setScale(0).equals(BigDecimal.ZERO))

For:
if (cancelledNotPaidAmount.setScale(0, ROUND_UP).equals(BigDecimal.ZERO))
(0035810)
AinhoaPagola (reporter)
2011-04-11 12:35

No change required for Openbravo 3.0

- Issue History
Date Modified Username Field Change
2011-03-28 14:02 maite New Issue
2011-03-28 14:02 maite Assigned To => adrianromero
2011-03-28 14:02 maite Modules => Core
2011-03-28 15:50 maite Issue Monitored: networkb
2011-04-07 12:53 AinhoaPagola Assigned To adrianromero => AinhoaPagola
2011-04-07 13:22 AinhoaPagola Note Added: 0035734
2011-04-11 12:00 AinhoaPagola Relationship added related to 0015617
2011-04-11 12:33 AinhoaPagola Status new => scheduled
2011-04-11 12:33 AinhoaPagola fix_in_branch => pi
2011-04-11 12:35 AinhoaPagola Note Added: 0035810
2011-04-11 12:35 AinhoaPagola Status scheduled => closed
2011-04-11 12:35 AinhoaPagola Resolution open => no change required
2011-04-12 00:00 anonymous sf_bug_id 0 => 3284839


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker