details: https://code.openbravo.com/erp/devel/pi/rev/ae1bc7348ee3 changeset: 35516:ae1bc7348ee3 user: Atul Gaware <atul.gaware <at> openbravo.com> date: Tue Feb 26 00:08:06 2019 +0530 summary: Fixes Issue 0040239:Bug in Journal Entries Report
When accessing Journal Entries Report from General Ledger Report apply organization filter from General Ledger Report in Journal Entries Report. diffstat: src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diffs (26 lines): diff -r 2e165a3c1b45 -r ae1bc7348ee3 src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java --- a/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java Wed Mar 06 09:31:18 2019 +0100 +++ b/src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java Tue Feb 26 00:08:06 2019 +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-2018 Openbravo SLU + * All portions are Copyright (C) 2001-2019 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -202,10 +202,11 @@ } else if (vars.commandIn("DIRECT2")) { String strFactAcctGroupId = vars.getGlobalVariable("inpFactAcctGroupId", "ReportGeneralLedgerJournal|FactAcctGroupId"); + String strOrg = vars.getGlobalVariable("inpOrg", "ReportGeneralLedger|Org", vars.getOrg()); setHistoryCommand(request, "DIRECT2"); vars.setSessionValue("ReportGeneralLedgerJournal.initRecordNumber", "0"); - printPageDataSheet(response, vars, "", "", "", "", "", "", "", strFactAcctGroupId, "", "", "", - "", "1", "1", "", "Y", "", "", "", "", "", "", ""); + printPageDataSheet(response, vars, "", "", "", "", strOrg, "", "", strFactAcctGroupId, "", "", + "", "", "1", "1", "", "Y", "", "", "", "", "", "", ""); } else if (vars.commandIn("FIND")) { try { OBError msg = checkReportUsage(vars); _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits