Hi, this may not be tightly coupled with this exact topic but it is related to absences and data fetching, so I'll share the comment (please feel free to suggest the proper destination if there's a better place for this).
Due to restrictions related to exports, we switched to using API for all non-standard data overviews. When it comes to absences, one of the issues we are facing is that while it's possible to fetch absences for a given time frame (e.g. from 1st of September to 30th of September), it's not possible to get exact number of days person was absent given the specified period. To be more precise, "Numbers of days in the Period" would return the total length of the absence and would not only the portion (number of days between the specified start date and end date).
When does this create a problem?
If absence is stretching across multiple months:
- example 1: someone started a vacation in August and ended it in September but number of days for the absence for a specified period wouldn't reflect only September portion of the absence, but the whole absence)
- example 2: for maternity leaves (again because it spread across longer period of time), it would display the total number of days (full length of the absence) and not just the portion that fells into a specified timeframe (between specified start date and specified end date)
Any suggestions?