BF [ 1817757 ] Error on saving MInventoryLine in a custom environment
http://sourceforge.net/tracker/index.php?func=detail&aid=1817757&group_id=176962&atid=879332
This commit is contained in:
parent
7409ab20aa
commit
13c5b4f02e
|
@ -28,6 +28,9 @@ import org.compiere.util.*;
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: MInventoryLine.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
|
* @version $Id: MInventoryLine.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
|
||||||
|
*
|
||||||
|
* @author Teo Sarca, SC ARHIPAC SERVICE SRL
|
||||||
|
* <li>BF [ 1817757 ] Error on saving MInventoryLine in a custom environment
|
||||||
*/
|
*/
|
||||||
public class MInventoryLine extends X_M_InventoryLine
|
public class MInventoryLine extends X_M_InventoryLine
|
||||||
{
|
{
|
||||||
|
@ -362,6 +365,9 @@ public class MInventoryLine extends X_M_InventoryLine
|
||||||
*/
|
*/
|
||||||
protected boolean afterSave (boolean newRecord, boolean success)
|
protected boolean afterSave (boolean newRecord, boolean success)
|
||||||
{
|
{
|
||||||
|
if (!success)
|
||||||
|
return false;
|
||||||
|
|
||||||
// Create MA
|
// Create MA
|
||||||
if (newRecord && success
|
if (newRecord && success
|
||||||
&& m_isManualEntry && getM_AttributeSetInstance_ID() == 0)
|
&& m_isManualEntry && getM_AttributeSetInstance_ID() == 0)
|
||||||
|
|
Loading…
Reference in New Issue