CustomFunction not apprearing in the User defined fuction - tab

CustomFunction not apprearing in the User defined fuction - tab



Hi ZC team,
I have 2 functions within my application


Func 1  : --  This calculates no. of days left until due date
Func 2  :---  Uses the result of Func1 as parameter & gives custom alert messages
 
eg :- 0-5 days , RED alert -- 5-10 days , 10 - 15 etc
 
Both functions work great & they are intended to be used like this
 
  No_of_days_due = thisapp.datecomputations.Duedate_daysleft(Due date);
 AlertMsg = thisapp.customalert.AlertMessage_duedate(No_of_days_due)

However, when i try to "set variable" &  access the function,
it refuses to show up in the User defined functions tab.

----I have attached the screen shot of the edit box for refrence.

 
When i try to get into the free flow scripting mode and add the above peice of line
it saves without any error.
But, when i access the application in the live mode, it gives me "Error occured please contact the application owner."
 
Please advice,
Thank you,
Regards
Deepa Govind