IDEMPIERE-2787 Request Action Escalated Issue
This commit is contained in:
parent
8fbab46917
commit
b8671ca91e
|
@ -238,10 +238,17 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
|
|||
if (r.is_ValueChanged(columnName))
|
||||
{
|
||||
Object value = r.get_ValueOld(columnName);
|
||||
if (value == null)
|
||||
if (value == null) {
|
||||
ra.addNullColumn(columnName);
|
||||
else
|
||||
} else {
|
||||
if (value instanceof Boolean
|
||||
&& ( MRequestAction.COLUMNNAME_IsEscalated.equals(columnName)
|
||||
|| MRequestAction.COLUMNNAME_IsSelfService.equals(columnName))) {
|
||||
ra.set_ValueNoCheck(columnName, ((Boolean)value).booleanValue() ? "Y" : "N");
|
||||
} else {
|
||||
ra.set_ValueNoCheck(columnName, value);
|
||||
}
|
||||
}
|
||||
r.setIsChanged(true);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue