details: https://code.openbravo.com/erp/devel/pi/rev/d2cc1590b1a1 changeset: 34095:d2cc1590b1a1 user: Atul Gaware <atul.gaware <at> openbravo.com> date: Tue May 29 00:27:14 2018 +0530 summary: 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. diffstat: src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (23 lines): diff -r d9439b0b660b -r d2cc1590b1a1 src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java --- a/src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java Tue May 29 12:59:42 2018 +0200 +++ b/src/org/openbravo/erpCommon/ad_callouts/SL_JournalLineAmt.java Tue May 29 00:27:14 2018 +0530 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2001-2017 Openbravo SLU + * All portions are Copyright (C) 2001-2018 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -68,8 +68,8 @@ info.addResult("inpamtacctdr", amtAcctDr); info.addResult("inpamtacctcr", amtAcctCr); - info.addResult("inpamtsourcedr", amtAcctDr); - info.addResult("inpamtsourcecr", amtAcctCr); + info.addResult("inpamtsourcedr", amtSourceDr); + info.addResult("inpamtsourcecr", amtSourceCr); info.addResult("inpcurrencyrate", currencyRate); info.addResult("inpcurrencyratetype", strCurrencyRateType); } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits