Integrate revision 5905
Fix from Paul (phib) BF [ 2032185 ] Periods should not overlap Improvement: use log.saveError instead of log.log in beforeSave
This commit is contained in:
parent
65c863c116
commit
318ef4fe8c
|
@ -581,8 +581,7 @@ public class MPeriod extends X_C_Period
|
|||
{
|
||||
if ( periods.get(i).getC_Period_ID() != getC_Period_ID() )
|
||||
{
|
||||
log.log(Level.WARNING, "Period overlaps with: "
|
||||
+ periods.get(i).getName());
|
||||
log.saveError("Error", "Period overlaps with: " + periods.get(i).getName());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue