Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017319Openbravo ERP09. Financial managementpublic2011-05-23 18:282011-07-26 13:47
malsasua 
dalsasua 
urgentmajoralways
closedfixed 
20Community Appliance
 
 
Core
No
0017319: wrong accounting with multicurrency
If you have multicurrency and you create a manual settlement with a debt payment negative and the check "receipt" is unselected, if you cancel the payment in bank statement, the accounting of settlement BSP is wrong
. accounting schema currency EUR
. conversion rates:
 . EUR - USD : 01/01/2000 - 20-05-2011: MULT: 2 DIV: 0.5
 . EUR - USD : 20-05-2011 - 01-01-3000: MULT: 3 DIV: 0.33333
 . USD - EUR : 01/01/2000 - 20-05-2011: MULT: 0.5 DIV: 2
 . USD - EUR : 20-05-2011 - 01-01-3000: MULT: 0.3333 DIV: 3

. create manual settlement:
Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement
   date: 15/05/2011
   currency: USD
 >> DEBT PAYMENT:
    amount -750
    Receipt NOT selected
    currency USD
 >> Balance Payment
     Debit Amount 0 Credit amount 750

. Financial Management || Receivables & Payables || Transactions || Bank Statement || Header
   new record (bank currency EUR)
   select the debt payment created in step 1
   process

go to the settlement *BSP* generated:
   . post it

The accounting generated is:
90010 Cuenta de compensación de asientos 250.00
76800 Diferencias positivas de cambio 125.00
46500 Remuneraciones pendientes de pago 375.00
55500 Partidas pendientes de aplicación 250.00

and it should be
76800 Diferencias positivas de cambio 125.00
46500 Remuneraciones pendientes de pago 375.00
55500 Partidas pendientes de aplicación 250.00
No tags attached.
blocks defect 0017318 closed dalsasua wrong accounting with multicurrency 
diff issue17319.diff (2,712) 2011-06-21 18:15
https://issues.openbravo.com/file_download.php?file_id=4211&type=bug
Issue History
2011-05-23 18:28malsasuaTypedefect => backport
2011-05-23 18:28malsasuafix_in_branch => 2.50
2011-05-23 18:30malsasuaIssue Monitored: networkb
2011-06-21 18:15dalsasuaFile Added: issue17319.diff
2011-06-21 18:28dalsasuaNote Added: 0038423
2011-07-05 13:01hgbotCheckin
2011-07-05 13:01hgbotNote Added: 0038769
2011-07-05 13:01hgbotStatusscheduled => resolved
2011-07-05 13:01hgbotResolutionopen => fixed
2011-07-05 13:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/7637f8adeeed495e0641c5f773c325d8af4b9968 [^]
2011-07-26 13:47malsasuaNote Added: 0039374
2011-07-26 13:47malsasuaStatusresolved => closed

Notes
(0038423)
dalsasua   
2011-06-21 18:28   
Attached fix of the backport. Repository is frozen. Will commit as soon as it's unfrozen.
(0038769)
hgbot   
2011-07-05 13:01   
Repository: erp/stable/2.50
Changeset: 7637f8adeeed495e0641c5f773c325d8af4b9968
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jun 21 17:25:50 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/7637f8adeeed495e0641c5f773c325d8af4b9968 [^]

Fixes issue 17319: wrong accounting with multicurrency

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0039374)
malsasua   
2011-07-26 13:47   
verified