From 411bbc02c39693ea049dc3a727c88669b73b923f Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 8 Mar 2011 10:47:41 -0500 Subject: [PATCH] Fix problem in MJournal - in the replacement of SQL code the transaction was dropped Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883 --- org.adempiere.base/src/org/compiere/model/MJournal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MJournal.java b/org.adempiere.base/src/org/compiere/model/MJournal.java index 55d52c0e34..a1dc6b5ca5 100644 --- a/org.adempiere.base/src/org/compiere/model/MJournal.java +++ b/org.adempiere.base/src/org/compiere/model/MJournal.java @@ -216,7 +216,7 @@ public class MJournal extends X_GL_Journal implements DocAction { //FR: [ 2214883 ] Remove SQL code and Replace for Query - red1 final String whereClause = "GL_Journal_ID=?"; - List list = new Query(getCtx(), I_GL_JournalLine.Table_Name, whereClause, null) + List list = new Query(getCtx(), I_GL_JournalLine.Table_Name, whereClause, get_TrxName()) .setParameters(getGL_Journal_ID()) .setOrderBy("Line") .list();