From a9e6b6f3c2516f3e0ef4a5ff06069ea60f0df315 Mon Sep 17 00:00:00 2001 From: kthiemann Date: Fri, 20 Jun 2008 12:36:58 +0000 Subject: [PATCH] [1998727] MMovementLine.setM_LocatorTo_ID() sets the M_Locator_ID --- base/src/org/compiere/model/MMovementLine.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/base/src/org/compiere/model/MMovementLine.java b/base/src/org/compiere/model/MMovementLine.java index 128acb604a..e98024f312 100644 --- a/base/src/org/compiere/model/MMovementLine.java +++ b/base/src/org/compiere/model/MMovementLine.java @@ -267,16 +267,16 @@ public class MMovementLine extends X_M_MovementLine } // setM_Locator_ID /** - * Set M_Locator_ID - * @param M_Locator_ID id + * Set M_LocatorTo_ID + * @param M_LocatorTo_ID id */ - public void setM_LocatorTo_ID (int M_Locator_ID) + public void setM_LocatorTo_ID (int M_LocatorTo_ID) { - if (M_Locator_ID < 0) + if (M_LocatorTo_ID < 0) throw new IllegalArgumentException ("M_LocatorTo_ID is mandatory."); // set to 0 explicitly to reset - set_Value ("M_Locator_ID", new Integer(M_Locator_ID)); - } // setM_Locator_ID + set_Value ("M_LocatorTo_ID", new Integer(M_LocatorTo_ID)); + } // M_LocatorTo_ID /** * Get Movement lines Of Distribution Order Line