diff --git a/org.adempiere.base.process/src/org/compiere/process/StorageCleanup.java b/org.adempiere.base.process/src/org/compiere/process/StorageCleanup.java index 3a09cb1067..5fcc1bc8ef 100644 --- a/org.adempiere.base.process/src/org/compiere/process/StorageCleanup.java +++ b/org.adempiere.base.process/src/org/compiere/process/StorageCleanup.java @@ -170,7 +170,11 @@ public class StorageCleanup extends SvrProcess } // for all movements // Process - mh.processIt(MMovement.ACTION_Complete); + if (!mh.processIt(MMovement.ACTION_Complete)) { + log.warning("Movement Process Failed: " + mh + " - " + mh.getProcessMsg()); + throw new IllegalStateException("Movement Process Failed: " + mh + " - " + mh.getProcessMsg()); + + } mh.saveEx(); addLog(0, null, new BigDecimal(lines), "@M_Movement_ID@ " + mh.getDocumentNo() + " ("