From 523a1f1b2d73b6f27cf334e84d0c54173b215e7e Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 26 Jan 2009 07:43:05 +0000 Subject: [PATCH] MMovement: * getLines() should use trxName * added calc. serialVersionUID --- base/src/org/compiere/model/MMovement.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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();