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:
parent
6b9b4814e7
commit
411bbc02c3
|
@ -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 <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())
|
||||
.setOrderBy("Line")
|
||||
.list();
|
||||
|
|
Loading…
Reference in New Issue