diff --git a/base/src/org/compiere/model/MMovement.java b/base/src/org/compiere/model/MMovement.java index 384faf9251..32bb132fab 100644 --- a/base/src/org/compiere/model/MMovement.java +++ b/base/src/org/compiere/model/MMovement.java @@ -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 list = new Query(getCtx(), MMovementLine.Table_Name, whereClause, null) + final String whereClause = "M_Movement_ID=?"; + List list = new Query(getCtx(), MMovementLine.Table_Name, whereClause, get_TrxName()) .setParameters(new Object[]{getM_Movement_ID()}) .setOrderBy(MMovementLine.COLUMNNAME_Line) .list();