IDEMPIERE-1787 1003797 Payment allocation completed but did not associate the payment to selected invoices - throw exception when 'Allocation not balanced' instead of logging as severe log
This commit is contained in:
parent
5080fb0eed
commit
7ca2cbc167
|
@ -758,7 +758,7 @@ public class Allocation
|
|||
}
|
||||
|
||||
if ( unmatchedApplied.signum() != 0 )
|
||||
log.log(Level.SEVERE, "Allocation not balanced -- out by " + unmatchedApplied );
|
||||
throw new AdempiereException("Allocation not balanced -- out by " + unmatchedApplied);
|
||||
|
||||
// Should start WF
|
||||
if (alloc.get_ID() != 0)
|
||||
|
|
Loading…
Reference in New Issue