Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038639Openbravo ERP09. Financial managementpublic2018-05-28 11:242018-11-07 09:44
ngarcia 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR18Q3 
dmiguelez
Core
Production - Confirmed Stable
2017-08-04
3.0PR17Q4
https://code.openbravo.com/erp/devel/pi/rev/2ab8016a2353 [^]
No
0038639: Debit and credit amounts are wrongly updated in G/L Journal lines with different currency than general ledger currency
Debit and credit amounts are wrongly updated in G/L Journal lines with different currency than general ledger currency
As group admin role:
   Define a valid Conversion Rate (different from 1) from EUR to USD
   Create a G/L Journal
      Organization: F&B US, Inc.
      Currency: EUR

   Add a header to it
      Organization: F&B US, Inc.
      General Ledger: F&B International Group US/A/US Dollar
      Currency: EUR
   Check the rate is updated accordingly

   Add a line to it
   Select an account
   Add a Debit amount and check it is updated with the value of 'General Ledger Currency Debit' and it should not
   The same happens with Credit amount
No tags attached.
depends on backport 00386433.0PR18Q2.1 closed AtulOpenbravo Debit and credit amounts are wrongly updated in G/L Journal lines with different currency than general ledger currency 
depends on backport 00386443.0PR18Q1.4 closed AtulOpenbravo Debit and credit amounts are wrongly updated in G/L Journal lines with different currency than general ledger currency 
caused by design defect 0036067 closed markmm82 old callouts should be refactored to implement SimpleCallout 
Issue History
2018-05-28 11:24ngarciaNew Issue
2018-05-28 11:24ngarciaAssigned To => Triage Finance
2018-05-28 11:24ngarciaModules => Core
2018-05-28 11:24ngarciaResolution time => 1529272800
2018-05-28 11:24ngarciaTriggers an Emergency Pack => No
2018-05-28 11:24ngarciaRelationship addedcaused by 0036067
2018-05-28 11:25ngarciaIssue Monitored: networkb
2018-05-28 15:48dmiguelezAssigned ToTriage Finance => AtulOpenbravo
2018-05-28 17:52AtulOpenbravoStatusnew => scheduled
2018-05-28 17:56AtulOpenbravoRegression level => Production - Confirmed Stable
2018-05-28 17:56AtulOpenbravoRegression date => 2017-08-04
2018-05-28 17:56AtulOpenbravoRegression introduced in release => 3.0PR17Q4
2018-05-28 17:56AtulOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/2ab8016a2353 [^]
2018-05-28 21:31AtulOpenbravoNote Added: 0104755
2018-05-29 15:16hgbotCheckin
2018-05-29 15:16hgbotNote Added: 0104771
2018-05-29 15:16hgbotStatusscheduled => resolved
2018-05-29 15:16hgbotResolutionopen => fixed
2018-05-29 15:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d2cc1590b1a146d9bca402b1704b2fb53c50a9aa [^]
2018-05-29 15:20dmiguelezReview Assigned To => dmiguelez
2018-05-29 15:20dmiguelezNote Added: 0104775
2018-05-29 15:20dmiguelezStatusresolved => closed
2018-05-29 15:20dmiguelezFixed in Version => 3.0PR18Q3
2018-05-30 00:14hudsonbotCheckin
2018-05-30 00:14hudsonbotNote Added: 0104792
2018-11-07 09:44SandrahuguetNote Added: 0107775

Notes
(0104755)
AtulOpenbravo   
2018-05-28 21:31   
Test Plan
- Login as F&B International Group Admin role:
- For current period May 18 realize that Currency Conversion EUR to USD is 1.23
- Create a G/L Journal
   - Organization: F&B US, Inc.
   - Currency: EUR
- Add a header to it
   - Organization: F&B US, Inc.
   - General Ledger: F&B International Group US/A/US Dollar
   -Currency: EUR
- Check the rate is set as 1.23
- Add a line to it
- Select any account
- Set Debit amount as 100 and realize that 'General Ledger Currency Debit' is set as 123.
- Set Credit amount as 100 and realize that 'General Legder Currency Credit' is set as 123.
(0104771)
hgbot   
2018-05-29 15:16   
Repository: erp/devel/pi
Changeset: d2cc1590b1a146d9bca402b1704b2fb53c50a9aa
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue May 29 00:27:14 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d2cc1590b1a146d9bca402b1704b2fb53c50a9aa [^]

Fixes Issue 0038639: Debit and credit amounts are wrongly updated
in G/L Journal lines with different currency than general ledger
currency

**amtSourceDr was wrongly set as amtAcctDr and amtSourceCr as
amtAcctCr in the callouts refactor project. Both values are
set correctly now.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java
---
(0104775)
dmiguelez   
2018-05-29 15:20   
Code Review + Testing Ok
(0104792)
hudsonbot   
2018-05-30 00:14   
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/08f13cf1fa33 [^]
Maturity status: Test
(0107775)
Sandrahuguet   
2018-11-07 09:44   
Created test case in testlink:

https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-11014 [^]