Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0015719 | Openbravo ERP | 09. Financial management | public | 2011-01-11 18:00 | 2011-02-28 13:43 | |||||||
| Reporter | gmauleon | |||||||||||
| Assigned To | dalsasua | |||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | 2.50MP25 | |||||||||||
| Target Version | 2.50MP26 | Fixed in Version | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | OBPS | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0015719: Payment monitor process fails | |||||||||||
| Description | In 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 [^] | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=3553&type=bug | |||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2011-01-20 18:29 | dalsasua | Type | defect => backport | |||||||||
| 2011-01-20 18:29 | dalsasua | fix_in_branch | => 2.50 | |||||||||
| 2011-01-20 18:36 | dalsasua | Note Added: 0033798 | ||||||||||
| 2011-01-27 17:23 | dalsasua | File Added: fix15719.diff | ||||||||||
| 2011-01-27 17:23 | dalsasua | Note Added: 0033930 | ||||||||||
| 2011-02-01 12:12 | hgbot | Checkin | ||||||||||
| 2011-02-01 12:12 | hgbot | Note Added: 0033981 | ||||||||||
| 2011-02-01 12:12 | hgbot | Status | scheduled => resolved | |||||||||
| 2011-02-01 12:12 | hgbot | Resolution | open => fixed | |||||||||
| 2011-02-01 12:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/00c537cdbb45620490b1da1ccdc3cc44fabfa30c [^] | |||||||||
| 2011-02-28 13:43 | adrianromero | Note Added: 0034420 | ||||||||||
| 2011-02-28 13:43 | adrianromero | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||