FR: [ 2214883 ] Remove SQL code and Replace for Query
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2214883
This commit is contained in:
parent
30225c49c9
commit
370a752666
|
@ -31,6 +31,8 @@ import org.compiere.util.Env;
|
|||
*/
|
||||
public class MCommissionRun extends X_C_CommissionRun
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -83,7 +85,7 @@ public class MCommissionRun extends X_C_CommissionRun
|
|||
*/
|
||||
public MCommissionAmt[] getAmts()
|
||||
{
|
||||
final String whereClause = I_C_CommissionRun.COLUMNNAME_C_CommissionRun_ID+"=?";
|
||||
final String whereClause = I_C_CommissionAmt.COLUMNNAME_C_CommissionRun_ID+"=?";
|
||||
List<MCommissionAmt> list = new Query(getCtx(),I_C_CommissionAmt.Table_Name,whereClause,get_TrxName())
|
||||
.setParameters(getC_CommissionRun_ID())
|
||||
.list();
|
||||
|
|
Loading…
Reference in New Issue