FR [ 1981760 ] Improve Query class
Forgot the whereClause string! (it seems SQL stuff doesnt get error before runtime)
This commit is contained in:
parent
75378bbc81
commit
55329cafb9
|
@ -86,7 +86,7 @@ public class MMovement extends X_M_Movement implements DocAction
|
||||||
return m_lines;
|
return m_lines;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
String whereClause = "";
|
String whereClause = "M_Movement_ID=?";
|
||||||
List<MMovement> list = new Query(getCtx(), MMovement.Table_Name, whereClause, null)
|
List<MMovement> list = new Query(getCtx(), MMovement.Table_Name, whereClause, null)
|
||||||
.setParameters(new Object[]{"Y", getM_Movement_ID()})
|
.setParameters(new Object[]{"Y", getM_Movement_ID()})
|
||||||
.setOrderBy("Line")
|
.setOrderBy("Line")
|
||||||
|
|
Loading…
Reference in New Issue