BF [ 2306161 ] Locator on line level when creating lines from

https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2306161&group_id=176962

Do not set M_Product.M_Locator when change the locator on line
This commit is contained in:
teo_sarca 2009-02-13 09:32:04 +00:00
parent 5d1a1db86f
commit 53f27cbd6b
1 changed files with 0 additions and 6 deletions

View File

@ -132,12 +132,6 @@ public class VCreateFromShipment extends VCreateFrom implements VetoableChangeLi
MLocator locator = new MLocator(Env.getCtx(), key, null);
m_locatorKey = new KeyNamePair(key, locator.getValue());
m_table.getModel().setValueAt(m_locatorKey, m_row, m_column);
// Get product and save new locator
KeyNamePair prodKey = (KeyNamePair)m_table.getModel().getValueAt(m_row, m_column + 1);
MProduct prod = new MProduct(Env.getCtx(), prodKey.getKey(), null);
prod.setM_Locator_ID(key);
prod.save();
}
}