Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016741Openbravo ERP07. Sales managementpublic2011-03-28 14:022011-04-12 18:36
maite 
AinhoaPagola 
urgentmajoralways
closedfixed 
5
2.50MP27 
2.50MP292.50MP29 
Core
No
0016741: Error when running "Update Payment Monitor" process
Error when running "Update Payment Monitor" process, when you have paid partially a payment
1. 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
No tags attached.
blocks defect 00165132.50MP29 closed AinhoaPagola Error when running "Update Payment Monitor" process 
Issue History
2011-04-11 12:33AinhoaPagolaTypedefect => backport
2011-04-11 12:33AinhoaPagolafix_in_branch => 2.50
2011-04-11 12:55hgbotCheckin
2011-04-11 12:55hgbotNote Added: 0035814
2011-04-11 12:55hgbotStatusscheduled => resolved
2011-04-11 12:55hgbotResolutionopen => fixed
2011-04-11 12:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ccfc117bc81de48e376ae435ef4dad87d6e7975c [^]
2011-04-12 18:36maiteNote Added: 0035872
2011-04-12 18:36maiteStatusresolved => closed
2011-04-12 18:36maiteFixed in Version => 2.50MP29

Notes
(0035814)
hgbot   
2011-04-11 12:55   
Repository: erp/stable/2.50
Changeset: ccfc117bc81de48e376ae435ef4dad87d6e7975c
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Mon Apr 11 12:53:48 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/ccfc117bc81de48e376ae435ef4dad87d6e7975c [^]

Fixes issue 16741. Rounding error on Update Payment Monitor process

---
M src/org/openbravo/erpCommon/ad_process/PaymentMonitor.java
---
(0035872)
maite   
2011-04-12 18:36   
verified