Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038644Openbravo ERP09. Financial managementpublic2018-05-28 11:242018-05-29 15:19
ngarcia 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR18Q1.43.0PR18Q1.4 
dmiguelez
Core
Production - QA Approved
2017-08-04
3.0PR17Q4
https://code.openbravo.com/erp/devel/pi/rev/2ab8016a2353 [^]
No
0038644: 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.
blocks defect 0038639 closed AtulOpenbravo Debit and credit amounts are wrongly updated in G/L Journal lines with different currency than general ledger currency 
Issue History
2018-05-28 17:52AtulOpenbravoTypedefect => backport
2018-05-28 17:52AtulOpenbravoTarget Version => 3.0PR18Q1.4
2018-05-28 17:58AtulOpenbravoRegression level => Production - QA Approved
2018-05-28 17:58AtulOpenbravoRegression date => 2017-08-04
2018-05-28 17:58AtulOpenbravoRegression introduced in release => 3.0PR17Q4
2018-05-28 17:58AtulOpenbravoRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/2ab8016a2353 [^]
2018-05-28 21:32AtulOpenbravoNote Added: 0104757
2018-05-29 15:17hgbotCheckin
2018-05-29 15:17hgbotNote Added: 0104773
2018-05-29 15:17hgbotStatusscheduled => resolved
2018-05-29 15:17hgbotResolutionopen => fixed
2018-05-29 15:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q1.4/rev/e6d617174d6f0cc8d44424013719d3492b5feb3f [^]
2018-05-29 15:19dmiguelezReview Assigned To => dmiguelez
2018-05-29 15:19dmiguelezNote Added: 0104774
2018-05-29 15:19dmiguelezStatusresolved => closed
2018-05-29 15:19dmiguelezFixed in Version => 3.0PR18Q1.4

Notes
(0104757)
AtulOpenbravo   
2018-05-28 21:32   
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.
(0104773)
hgbot   
2018-05-29 15:17   
Repository: erp/backports/3.0PR18Q1.4
Changeset: e6d617174d6f0cc8d44424013719d3492b5feb3f
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue May 29 00:27:14 2018 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR18Q1.4/rev/e6d617174d6f0cc8d44424013719d3492b5feb3f [^]

Fixes Issue 0038644: 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
---
(0104774)
dmiguelez   
2018-05-29 15:19   
Code Review + Testing Ok