Skip to Content

Find actual leave end for an employee in CPI

Hi Experts,

I have a requirement where a 3rd party system requires planned leave start date and planned leave end date, whereas we don't store these details in EC. So we cannot fetch these details directly from the EC system.

We only have start date and the end date when the employee applies for the leaves and if at all employee extends the leaves he has to apply for a new leave.

For eg. If employee applied for a leave from 1 july 2020 to 8 july 2020 and he returns on 10 july 2020. Then he has to apply for a new leave in EC where his start date is 9 july 2020 and end date is 10 july 2020.

While fetching leaves in CPI these two leaves for this employee will come as a different records in CPI.

Is there a way in which I can calculate that his planned date was 8 july and his actual return date is 10 july.

Regards,

Akash

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.