Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026718Openbravo ERP09. Financial managementpublic2014-05-28 12:302014-08-12 20:57
malsasua 
daniOpenbravo 
highmajoralways
closedfixed 
20Community Appliance
 
pi 
AtulOpenbravo
Google Chrome
Core
No
0026718: No differences by exchange rate are generated in Doubtful debt accounting process
if there is a sales invoice in USD, with exchange rate "2" and this invoice is used in Doubtful debt process, with exchange rate "1.5", the accounting generated in EUR is wrong, because the difference by exchange rate is not generated
. create sales invoice in USD:
 . gross 100 USD
 . exchange rate 2

. include this invoice in doubtful debt process. and generate doubtful debt document. To post this document, the exchange rate used is distinct of "2"
. The accounting generated is wrong, because no amount is moved to account differences by exchange rate
No tags attached.
Issue History
2014-05-28 12:30malsasuaNew Issue
2014-05-28 12:30malsasuaAssigned To => dmiguelez
2014-05-28 12:30malsasuaWeb browser => Google Chrome
2014-05-28 12:30malsasuaModules => Core
2014-05-28 12:30malsasuaTriggers an Emergency Pack => No
2014-05-28 12:52malsasuaWeb browserGoogle Chrome => Google Chrome
2014-05-28 12:52malsasuaSeverityminor => major
2014-05-28 12:53jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2014-05-28 12:53jonalegriaesarteResolution time => 1372629600
2014-07-04 07:54dmiguelezAssigned Todmiguelez => jonalegriaesarte
2014-07-15 15:51daniOpenbravoWeb browserGoogle Chrome => Google Chrome
2014-07-15 15:51daniOpenbravoAssigned Tojonalegriaesarte => daniOpenbravo
2014-07-15 15:51daniOpenbravoStatusnew => scheduled
2014-07-24 13:13jonalegriaesarteWeb browserGoogle Chrome => Google Chrome
2014-07-24 13:13jonalegriaesarteResolution time1372629600 => 1404165600
2014-08-08 13:22daniOpenbravoNote Added: 0069125
2014-08-08 13:46daniOpenbravoNote Added: 0069126
2014-08-12 09:31daniOpenbravoReview Assigned To => AtulOpenbravo
2014-08-12 09:31daniOpenbravoWeb browserGoogle Chrome => Google Chrome
2014-08-12 09:54hgbotCheckin
2014-08-12 09:54hgbotNote Added: 0069303
2014-08-12 09:54hgbotStatusscheduled => resolved
2014-08-12 09:54hgbotResolutionopen => fixed
2014-08-12 09:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ee7091c40efb3763b1797d6021d95870e4d3bc01 [^]
2014-08-12 09:59AtulOpenbravoNote Added: 0069304
2014-08-12 09:59AtulOpenbravoStatusresolved => closed
2014-08-12 09:59AtulOpenbravoFixed in Version => pi
2014-08-12 20:57hudsonbotCheckin
2014-08-12 20:57hudsonbotNote Added: 0069329

Notes
(0069125)
daniOpenbravo   
2014-08-08 13:22   
The main problem of the issue was not that there is no line generated with exchange rate differences when posting, however credit/debit quantities (when posting doubtful debt document) were not correct when there are exchange rates in different dates than invoice, payment or whatever.
(0069126)
daniOpenbravo   
2014-08-08 13:46   
In order to reproduce this issue you have to follow these steps:

- Change "Tarifa de Ventas" Price List Currency to USD and save it.
- Create Sales Invoice in USD for an Spanish Organization (F&B España - Región Norte; 100 USD; Invoice Date: 01-06-2014 for example)
- Add Exchange rate for that invoice in Exchange rates tab. For example: rate=2 ; To Currency=EUR.
- Include this invoice in doubtful debt process (Doubtful debt Run window) and generate doubtful debt document with current date for example.
- Lines generated when posting have wrong amount for Debit and Credit fields for General Ledger "F&B España, S.A. US/A/Euro".
(0069303)
hgbot   
2014-08-12 09:54   
Repository: erp/devel/pi
Changeset: ee7091c40efb3763b1797d6021d95870e4d3bc01
Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com>
Date: Mon Aug 11 08:51:14 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ee7091c40efb3763b1797d6021d95870e4d3bc01 [^]

Fixes Issue 26718: Wrong credit/debit amounts when posting Doubtful debt doc

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
---
(0069304)
AtulOpenbravo   
2014-08-12 09:59   
Review + Testing, Ok.
(0069329)
hudsonbot   
2014-08-12 20:57   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f93c6f350902 [^]
Maturity status: Test