EBS Customizations (MOSC)

MOSC Banner

how to disable form validation failure error, using CO in OAF

my requirement is i want to employee should not be able to create absence for previous dates, this should only happen only when absence type is Annual Leave,

so im trying to capture the absence type id in CO and accordingly setting the minimum value for OAMessageDateField. ie Start date.

but since start date id a required field, it is throwing form validation error. any solution.

In CO PR.

---------------

In PFR....

----------

    OAApplicationModule am = (OAApplicationModule)oapagecontext.getApplicationModule(oawebbean);

  

    if ("update".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM))){

     

    String dtSql= "Select sysdate min_date, sysdate+1 max_date from dual"; 

   

      

      

     //   Date currDate = new Date(System.currentTimeMillis());

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center