I am facing similar issue with one of my conditional object in XI R2.
The object definitaion is as below,
@Select(Working Day Calendar\Date Value) = (case when @Prompt(‘Select Reporting Date’,‘D’,mono,free,Not_Persistent,USER:51) = ‘10-10-2010 00:00:00’
then sysdate
else @Prompt(‘Select Reporting Date’,‘D’,mono,free,Not_Persistent,USER:51)
end)
While parsing this object, I am getting error message as
“Parse failed: Exception: DBD, ORA-00932: inconsistent datatypes: expected DATE got CHAR. State: N/A”
Date Value object is of datatype Date.
Instead of sysdate if I put any other date, it is working fine. The database I am using is Oracle 10G.
I am not able to understand where I am making mistake
Any help in this regard will be greatly appriciated.