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
This commit is contained in:
Carlos Ruiz 2011-03-08 10:47:41 -05:00
parent 6b9b4814e7
commit 411bbc02c3
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ public class MJournal extends X_GL_Journal implements DocAction
{ {
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1 //FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
final String whereClause = "GL_Journal_ID=?"; final String whereClause = "GL_Journal_ID=?";
List <MJournalLine> list = new Query(getCtx(), I_GL_JournalLine.Table_Name, whereClause, null) List <MJournalLine> list = new Query(getCtx(), I_GL_JournalLine.Table_Name, whereClause, get_TrxName())
.setParameters(getGL_Journal_ID()) .setParameters(getGL_Journal_ID())
.setOrderBy("Line") .setOrderBy("Line")
.list(); .list();