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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015617
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-01-11 18:002011-01-21 00:00
ReportergmauleonView Statuspublic 
Assigned Todalsasua 
PriorityimmediateResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP26
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP25SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015617: Payment monitor process fails

DescriptionIn some special scenario the payment monitor is failling. See steps to reporduce
Steps To Reproduce-Create a purchase invoice. For instance with amount 100€
-Create another purchase invoinces with the same amount but negative -100€
-Create a settlement incluiding both effects.
-In the same settlement include also some "Created payments"
-So in this scenario we have a pair of callcelled payment one calcelling the other and a some entries in the "created payments" tab
-Now return to the created invoices and try to launch the payment monitor process in the invoice header tab. Error image attached
Proposed Solution-The main error come from the class payment monitor line 205 [1]. In this line is trying to divide something with cancelledNotPaidAmount (0 in this case)




[1] https://code.openbravo.com/erp/devel/main/file/67254b289f54/src/org/openbravo/erpCommon/ad_process/PaymentMonitor.java#l205 [^]
TagsNo tags attached.
Attached Filesjpeg file icon paymentmonitor.jpeg [^] (62,287 bytes) 2011-01-11 18:00

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

-  Notes
(0033797)
dalsasua (reporter)
2011-01-20 18:30

Settlements do not exist in 3.0

- Issue History
Date Modified Username Field Change
2011-01-11 18:00 gmauleon New Issue
2011-01-11 18:00 gmauleon Assigned To => dalsasua
2011-01-11 18:00 gmauleon File Added: paymentmonitor.jpeg
2011-01-11 18:00 gmauleon Modules => Core
2011-01-20 12:11 jonalegriaesarte Priority normal => immediate
2011-01-20 12:11 jonalegriaesarte Target Version => 2.50MP26
2011-01-20 12:18 dalsasua Assigned To dalsasua => eduardo_Argal
2011-01-20 12:19 dalsasua Assigned To eduardo_Argal => dalsasua
2011-01-20 18:29 dalsasua Status new => scheduled
2011-01-20 18:29 dalsasua fix_in_branch => pi
2011-01-20 18:30 dalsasua Note Added: 0033797
2011-01-20 18:30 dalsasua Status scheduled => closed
2011-01-20 18:30 dalsasua Resolution open => no change required
2011-01-21 00:00 anonymous sf_bug_id 0 => 3163029
2011-04-11 12:00 AinhoaPagola Relationship added related to 0016513


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker