Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015617Openbravo ERP09. Financial managementpublic2011-01-11 18:002011-01-21 00:00
gmauleon 
dalsasua 
immediatemajoralways
closedno change required 
5
2.50MP25 
2.50MP26 
Core
No
0015617: Payment monitor process fails
In some special scenario the payment monitor is failling. See steps to reporduce
-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
-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 [^]
No tags attached.
depends on backport 00157192.50MP26 closed dalsasua Payment monitor process fails 
related to defect 00165132.50MP29 closed AinhoaPagola Error when running "Update Payment Monitor" process 
jpeg paymentmonitor.jpeg (62,287) 2011-01-11 18:00
https://issues.openbravo.com/file_download.php?file_id=3469&type=bug
jpeg
Issue History
2011-01-11 18:00gmauleonNew Issue
2011-01-11 18:00gmauleonAssigned To => dalsasua
2011-01-11 18:00gmauleonFile Added: paymentmonitor.jpeg
2011-01-11 18:00gmauleonModules => Core
2011-01-20 12:11jonalegriaesartePrioritynormal => immediate
2011-01-20 12:11jonalegriaesarteTarget Version => 2.50MP26
2011-01-20 12:18dalsasuaAssigned Todalsasua => eduardo_Argal
2011-01-20 12:19dalsasuaAssigned Toeduardo_Argal => dalsasua
2011-01-20 18:29dalsasuaStatusnew => scheduled
2011-01-20 18:29dalsasuafix_in_branch => pi
2011-01-20 18:30dalsasuaNote Added: 0033797
2011-01-20 18:30dalsasuaStatusscheduled => closed
2011-01-20 18:30dalsasuaResolutionopen => no change required
2011-01-21 00:00anonymoussf_bug_id0 => 3163029
2011-04-11 12:00AinhoaPagolaRelationship addedrelated to 0016513

Notes
(0033797)
dalsasua   
2011-01-20 18:30   
Settlements do not exist in 3.0