You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Determine Weekend Days which are not Public Holidays

Received Response


Determine Weekend Days which are not Public Holidays 

Content (required):

We are having a requirement to check the weekends and public holidays based on the employee work schedule in our absence duration fast formula.

We are using the GET_PAY_VAILABILITY function for the same as below:

L_Availability_Days = GET_PAY_AVAILABILITY ('ASSIGN', /*lc_asg_resource_typ,*/



'Y', /*lc_use_sch_asg_y*/

'Y', /*lc_use_sch_inh_y*/

'Y', /*lc_include_noshift_y*/

'Y', /*lc_include_calevents_y*/

'D')  /*lc_calc_units_d*/

The above code will return 0 for a day if this day is either weekend or public holiday. But we need it to return 0 only in case of Public Holidays, in other words we need the function to return 1 for the weekend days which are not public holidays.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!