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

How to fetch -4 days from to_date without weekend and holidays

Received Response
24
Views
3
Comments
edited Jun 9, 2020 10:21AM in Reporting and Analytics for ERP 3 comments

Summary

Hi, i need to fetch -4 working date from to_date. so here i am using gl_periods table to get start_date and end_date. end date -4 should be my to_date.

Content

Hi, i need to fetch -4 working date from to_date. so here i am using gl_periods table to get start_date and end_date. end date -4 should be my to_date.

and need to exclude holidays too. so i am using per_calander_events table.

if -4 working date from end_date is holiday then need to fetch previous working date as to_date.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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