IDEMPIERE-545 improve logic of MMovementLineConfirm.ProcessLine() method. Fixed difference doc not created when it is fully confirmed but there's scrapped qty.
This commit is contained in:
parent
19e875baf1
commit
a9b1e95f6b
|
@ -390,7 +390,7 @@ public class MMovementConfirm extends X_M_MovementConfirm implements DocAction
|
||||||
m_processMsg = "ShipLine not saved - " + confirm;
|
m_processMsg = "ShipLine not saved - " + confirm;
|
||||||
return DocAction.STATUS_Invalid;
|
return DocAction.STATUS_Invalid;
|
||||||
}
|
}
|
||||||
if (confirm.isFullyConfirmed())
|
if (confirm.isFullyConfirmed() && confirm.getScrappedQty().signum() == 0)
|
||||||
{
|
{
|
||||||
confirm.setProcessed(true);
|
confirm.setProcessed(true);
|
||||||
confirm.saveEx(get_TrxName());
|
confirm.saveEx(get_TrxName());
|
||||||
|
|
Loading…
Reference in New Issue