IDEMPIERE-2083 can't complete a internal inventory when date account > date account all receipt
This commit is contained in:
parent
afb8d58ef6
commit
d67c4db60a
|
@ -264,7 +264,7 @@ public class MInOutLineMA extends X_M_InOutLineMA
|
|||
protected boolean beforeSave (boolean newRecord)
|
||||
{
|
||||
//Set DateMaterialPolicy
|
||||
if(is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
if(!newRecord && is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
//TODO Require testing for all scenario
|
||||
I_M_InOutLine line = getM_InOutLine();
|
||||
|
||||
|
|
|
@ -243,7 +243,7 @@ public class MMovementLineMA extends X_M_MovementLineMA
|
|||
protected boolean beforeSave (boolean newRecord)
|
||||
{
|
||||
//Set DateMaterialPolicy
|
||||
if(is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
if(!newRecord && is_ValueChanged(COLUMNNAME_M_AttributeSetInstance_ID)){
|
||||
I_M_MovementLine line = getM_MovementLine();
|
||||
|
||||
Timestamp dateMPolicy = null;
|
||||
|
|
Loading…
Reference in New Issue