FR: [ 2214883 ] Remove SQL code and Replace for Query
Please keep transaction. Old code used transaction, so new should also use transaction. http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
fea9618e40
commit
025e667dd2
|
@ -85,10 +85,11 @@ public class MPaySelection extends X_C_PaySelection
|
|||
}
|
||||
//FR: [ 2214883 ] Remove SQL code and Replace for Query - red1
|
||||
String whereClause = "C_PaySelection_ID=?";
|
||||
List <MPaySelectionLine> list = new Query(getCtx(), MPaySelectionLine.Table_Name, whereClause, null)
|
||||
.setParameters(new Object[]{getC_PaySelection_ID()})
|
||||
.setOrderBy("Line")
|
||||
.list();
|
||||
List <MPaySelectionLine> list = new Query(getCtx(), MPaySelectionLine.Table_Name, whereClause, get_TrxName())
|
||||
.setParameters(new Object[]{getC_PaySelection_ID()})
|
||||
.setOrderBy("Line")
|
||||
.list()
|
||||
;
|
||||
//
|
||||
m_lines = new MPaySelectionLine[list.size ()];
|
||||
list.toArray (m_lines);
|
||||
|
|
Loading…
Reference in New Issue