Hi,
I have 3 attributes of type "Timestamp" (StartTime, EndTime, PauzeTime)
To calculate the total time I do this:
Work.TotalTIme=Work.EndTime-Work.Starttime /// This works with two times to substract
Work.TotalTIme=Work.EndTime-Work.Starttime-Work.PauzeTime ///This does NOT work. The error is:
com.bas.shared.ruleparser.ParseException Operands in expression Work.Endtime-Work.Starttime-Work.PauzeTime are of incompatible types.
But the attributes are exactly the same (I've checked this). All combinations do work as long as I substract only 2 of these attributes.
When I use 3, I get this error.
Is there a way to substract 3 time attributes???