Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009532Openbravo ERP09. Financial managementpublic2009-06-18 11:382009-07-18 00:00
networkb 
eduardo_Argal 
immediatemajoralways
closedfixed 
30
2.40MP6 
pi 
Core
No
0009532: A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.
A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.
-Use a application that has as currency in the schema EURO
-Create different conversions for two different dates (date A and date B), from EURO to USD and USD to EURO.
-Create a pricelist with currency USD
-Create a bank account with currency USD
-Create an invoice for date A, with lines using the pricelist created in USD. -Complete and post the invoice.
-Create a bank statement using the bank account defined using USD in date B.
-Click on create lines and select the debt_payment created when completing the invoice.
-Complete and post the bank statement
-Go to the settlement (*BSP*) generated when completing the bank statement created.
-Post the settlement.
-The accounting generated is not correct because the lost or proffits generated by the conversion rate of the currency are not taked into account.
-When posting the settlment use the currency of the accouting schema instead of using the currency of the settlement header.
No tags attached.
depends on backport 0009544 closed eduardo_Argal A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency. 
related to defect 0010195 closed dalsasua The settlement are not posted correctly posted 
related to backport 0010200 closed dalsasua The settlement are not posted correctly posted 
Issue History
2009-06-18 11:38networkbNew Issue
2009-06-18 11:38networkbAssigned To => rafaroda
2009-06-18 15:56rafarodaAssigned Torafaroda => eduardo_Argal
2009-06-18 15:57rafarodaStatusnew => scheduled
2009-06-18 15:57rafarodafix_in_branch => pi
2009-06-19 19:49williams-tegikIssue Monitored: williams-tegik
2009-07-15 16:47hgbotCheckin
2009-07-15 16:47hgbotNote Added: 0018268
2009-07-15 16:47hgbotStatusscheduled => resolved
2009-07-15 16:47hgbotResolutionopen => fixed
2009-07-15 16:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1fec850f7253fda212dd0ae84cfbfe1ab14a747 [^]
2009-07-17 09:25sureshbabuStatusresolved => closed
2009-07-17 09:25sureshbabuNote Added: 0018344
2009-07-17 09:25sureshbabuFixed in Version => pi
2009-07-18 00:00anonymoussf_bug_id0 => 2823346
2009-08-06 08:07rafarodaRelationship addedrelated to 0010195
2009-08-06 09:42dalsasuaRelationship addedrelated to 0010200

Notes
(0018268)
hgbot   
2009-07-15 16:47   
Repository: erp/devel/pi
Changeset: b1fec850f7253fda212dd0ae84cfbfe1ab14a747
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Wed Jul 15 16:44:54 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b1fec850f7253fda212dd0ae84cfbfe1ab14a747 [^]

Fixes bug 0009532: A settlement generated from a Bank statement is not posted correctly when the currency of the bank is a foreing currency.

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0018344)
sureshbabu   
2009-07-17 09:25   
Tested working fine