MMovement:
* getLines() should use trxName * added calc. serialVersionUID
This commit is contained in:
parent
d5a5a6e1d5
commit
523a1f1b2d
|
@ -48,6 +48,11 @@ import org.eevolution.model.MDDOrderLine;
|
|||
*/
|
||||
public class MMovement extends X_M_Movement implements DocAction
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -2900004259579407998L;
|
||||
|
||||
/**
|
||||
* Standard Constructor
|
||||
* @param ctx context
|
||||
|
@ -98,8 +103,8 @@ public class MMovement extends X_M_Movement implements DocAction
|
|||
return m_lines;
|
||||
}
|
||||
//
|
||||
String whereClause = "M_Movement_ID=?";
|
||||
List<MMovement> list = new Query(getCtx(), MMovementLine.Table_Name, whereClause, null)
|
||||
final String whereClause = "M_Movement_ID=?";
|
||||
List<MMovement> list = new Query(getCtx(), MMovementLine.Table_Name, whereClause, get_TrxName())
|
||||
.setParameters(new Object[]{getM_Movement_ID()})
|
||||
.setOrderBy(MMovementLine.COLUMNNAME_Line)
|
||||
.list();
|
||||
|
|
Loading…
Reference in New Issue