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,10 +31,12 @@ import org.compiere.util.Env;
|
|||
*/
|
||||
public class MCommissionRun extends X_C_CommissionRun
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -3103035295526318283L;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -3103035295526318283L;
|
||||
|
||||
/**
|
||||
* Standard Constructor
|
||||
|
@ -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