diff --git a/client/src/org/compiere/grid/ed/VPAttribute.java b/client/src/org/compiere/grid/ed/VPAttribute.java
index cd1015993f..765b00bc1f 100644
--- a/client/src/org/compiere/grid/ed/VPAttribute.java
+++ b/client/src/org/compiere/grid/ed/VPAttribute.java
@@ -36,6 +36,7 @@ import org.compiere.util.*;
*
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
*
BF [ 1895041 ] NPE when move product with attribute set
+ * BF [ 1770177 ] Inventory Move Locator Error
*/
public class VPAttribute extends JComponent
implements VEditor, ActionListener
@@ -351,6 +352,8 @@ public class VPAttribute extends JComponent
{
m_text.setText(vad.getM_AttributeSetInstanceName());
M_AttributeSetInstance_ID = vad.getM_AttributeSetInstance_ID();
+ if (m_GridTab != null)
+ m_GridTab.setValue("M_Locator_ID", vad.getM_Locator_ID());
changed = true;
}
}
diff --git a/client/src/org/compiere/grid/ed/VPAttributeDialog.java b/client/src/org/compiere/grid/ed/VPAttributeDialog.java
index 701c773168..fbec700ef7 100644
--- a/client/src/org/compiere/grid/ed/VPAttributeDialog.java
+++ b/client/src/org/compiere/grid/ed/VPAttributeDialog.java
@@ -739,6 +739,15 @@ public class VPAttributeDialog extends CDialog
{
return m_M_AttributeSetInstanceName;
} // getM_AttributeSetInstanceName
+
+ /**
+ * Get Locator ID
+ * @return M_Locator_ID
+ */
+ public int getM_Locator_ID()
+ {
+ return m_M_Locator_ID;
+ }
/**
* Value Changed