AnsweredAssumed Answered

Custom Error Messages on GUI

Question asked by Clarity_User_09 on Jan 18, 2010
Latest reply on Jan 18, 2010 by senthi
Hi,  We have written a database trigger which raises custom application error whenever somebody tries to put more than 24 hours per day  in the timesheets. However, whenver this trigger fires, on GUI it       displays as 'System error. Contact system administrator.' I want to show custom message as 'Hey, you can not enter more than 24 hours per day'...Can someone please help me with steps on how to do this?  In trigger we have this line: raise_application_error(- 20900 , 'The timesheet has  24 hrs.' )      -Swap