fix small bug
This commit is contained in:
parent
a9ec807b68
commit
48f77c0b7b
|
@ -77,6 +77,7 @@ public class MCommission extends X_C_Commission
|
|||
String whereClause = "IsActive='Y' AND C_Commission_ID=?";
|
||||
List<MCommissionLine> list = new Query(getCtx(), MCommissionLine.Table_Name, whereClause, get_TrxName())
|
||||
.setParameters(new Object[]{getC_Commission_ID()})
|
||||
.setOrderBy("Line")
|
||||
.list();
|
||||
// Convert
|
||||
MCommissionLine[] retValue = new MCommissionLine[list.size()];
|
||||
|
|
|
@ -131,6 +131,7 @@ public class MContainer extends X_CM_Container
|
|||
String whereClause = "CM_WebProject_ID=?";
|
||||
List<MContainer> list = new Query(project.getCtx(), MContainer.Table_Name, whereClause, project.get_TrxName())
|
||||
.setParameters(new Object[]{project.getCM_WebProject_ID ()})
|
||||
.setOrderBy("CM_Container_ID")
|
||||
.list();
|
||||
//
|
||||
MContainer[] retValue = new MContainer[list.size ()];
|
||||
|
|
Loading…
Reference in New Issue