Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011652Openbravo ERP09. Financial managementpublic2009-12-07 10:442009-12-18 00:00
networkb 
eduardo_Argal 
immediatemajoralways
closedfixed 
5
2.40MP11 
2.40MP122.50MP10 
Core
No
0011652: Error when posting a manual payment with conversion rate
If I create a manual Payment in USD (by creating a Manual Settlement) and include it in a BankStatement in EUR with different date, the canceled settlement created automatically is not correctly posted due to conversion rate of payment date.
1. General Setup || Application || Currency :
      * define conversion rate for DATE1 between USD to EUR.
      * define conversion rate for DATE2 between USD to EUR.
      * define conversion rate for DATE1 between EUR to USD.
      * define conversion rate for DATE2 between EUR to USD.
2. Financial Management || Receivables & Payables || Transactions || Manual Settlement: create manual settlement header in USD for DATE1
3. Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement >> Create Payment: create payment in USD for DATE1
4. Process Manual Settlement
5. Financial Management || Receivables & Payables || Transactions || Bank Statement: create new record in EUR for DATE2 and include the previous payment
6. Post the BankStatement
7. Navigate to Cancelled Settlement automatically created (for example, trough Linked Items of BankStatement lines) and post the settlement
8. Realize that some currency differences are made due to conversion rate in DATE1 of manual payment
No tags attached.
depends on backport 00117002.40MP12 closed eduardo_Argal Error when posting a manual payment with conversion rate 
related to defect 00125392.50MP14 closed eduardo_Argal DocPayment.java has no references to currency convert 
Issue History
2009-12-07 10:44networkbNew Issue
2009-12-07 10:44networkbAssigned To => rafaroda
2009-12-07 19:29psarobeNote Added: 0022498
2009-12-07 19:29psarobeStatusnew => feedback
2009-12-09 10:42networkbNote Added: 0022568
2009-12-09 10:42networkbStatusfeedback => new
2009-12-09 10:58psarobeStatusnew => scheduled
2009-12-09 10:58psarobeAssigned Torafaroda => eduardo_Argal
2009-12-09 10:58psarobefix_in_branch => pi
2009-12-15 12:22hgbotCheckin
2009-12-15 12:22hgbotNote Added: 0022831
2009-12-15 12:22hgbotStatusscheduled => resolved
2009-12-15 12:22hgbotResolutionopen => fixed
2009-12-15 12:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/61632464a77e27e6a7dff030fb6cde0f841fe5e6 [^]
2009-12-16 16:47hudsonbotCheckin
2009-12-16 16:47hudsonbotNote Added: 0022874
2009-12-17 08:15sureshbabuNote Added: 0022896
2009-12-17 08:15sureshbabuStatusresolved => closed
2009-12-17 08:15sureshbabuFixed in Version => 2.50MP10
2009-12-18 00:00anonymoussf_bug_id0 => 2916571
2010-03-15 15:54vmromanosRelationship addedrelated to 0012539

Notes
(0022498)
psarobe   
2009-12-07 19:29   
Question: Did the manual settlement has the direct posting marked?
(0022568)
networkb   
2009-12-09 10:42   
No, the manual settlement is not marked as direct posting.

Regards
(0022831)
hgbot   
2009-12-15 12:22   
Repository: erp/devel/pi
Changeset: 61632464a77e27e6a7dff030fb6cde0f841fe5e6
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Dec 15 12:08:28 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/61632464a77e27e6a7dff030fb6cde0f841fe5e6 [^]

Fixes bug 0011652: Error when posting a manual payment with conversion rate

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0022874)
hudsonbot   
2009-12-16 16:47   
---
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/61632464a77e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/1767de909fe7 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15751.obx [^]
---
(0022896)
sureshbabu   
2009-12-17 08:15   
Tested working fine