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();