BF [ 1770177 ] Inventory Move Locator Error

This commit is contained in:
teo_sarca 2008-02-18 14:04:17 +00:00
parent 6d57f81797
commit f0d46ccd6b
2 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,7 @@ import org.compiere.util.*;
* *
* @author Teo Sarca, SC ARHIPAC SERVICE SRL * @author Teo Sarca, SC ARHIPAC SERVICE SRL
* <li>BF [ 1895041 ] NPE when move product with attribute set * <li>BF [ 1895041 ] NPE when move product with attribute set
* <li>BF [ 1770177 ] Inventory Move Locator Error
*/ */
public class VPAttribute extends JComponent public class VPAttribute extends JComponent
implements VEditor, ActionListener implements VEditor, ActionListener
@ -351,6 +352,8 @@ public class VPAttribute extends JComponent
{ {
m_text.setText(vad.getM_AttributeSetInstanceName()); m_text.setText(vad.getM_AttributeSetInstanceName());
M_AttributeSetInstance_ID = vad.getM_AttributeSetInstance_ID(); M_AttributeSetInstance_ID = vad.getM_AttributeSetInstance_ID();
if (m_GridTab != null)
m_GridTab.setValue("M_Locator_ID", vad.getM_Locator_ID());
changed = true; changed = true;
} }
} }

View File

@ -739,6 +739,15 @@ public class VPAttributeDialog extends CDialog
{ {
return m_M_AttributeSetInstanceName; return m_M_AttributeSetInstanceName;
} // getM_AttributeSetInstanceName } // getM_AttributeSetInstanceName
/**
* Get Locator ID
* @return M_Locator_ID
*/
public int getM_Locator_ID()
{
return m_M_Locator_ID;
}
/** /**
* Value Changed * Value Changed