- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 07:36 AM
I spotted an issue with Person Days calculations for a couple of users in the Allocation Workbench. One of the users is not allocated for Feb 2024 and works on a 12-hour/week schedule. The calculations in hours and FTE are correct:
But the calculations in Person days are way off:
On the other hand the calculation in Resource Reports is correct:
How is the Person Days availability calculated? What can cause such error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2023 01:07 PM
Hi @Pawel Kozlik ,
The calculation is made in the client script "ResourcePlanStateChangeHandler" callieg the process funtion and passing your current resource plan. That script also call the script include "ResourcePlan", here are calculated the hours, you can read the script and look for the exact part "getPlannedHoursFromFte" function. The exactly part where is calculated is in the workingDays variables and here return the planned hours returning "ResourceManagementUtils.roundOffBasedOnCalendarEventProperty(averageDailyFte * workingDays[0] * fte, true);" variable. Now you can look how is calculated.
Hope that help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 02:19 PM
Review the calculations in Workbench?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2023 01:07 PM
Hi @Pawel Kozlik ,
The calculation is made in the client script "ResourcePlanStateChangeHandler" callieg the process funtion and passing your current resource plan. That script also call the script include "ResourcePlan", here are calculated the hours, you can read the script and look for the exact part "getPlannedHoursFromFte" function. The exactly part where is calculated is in the workingDays variables and here return the planned hours returning "ResourceManagementUtils.roundOffBasedOnCalendarEventProperty(averageDailyFte * workingDays[0] * fte, true);" variable. Now you can look how is calculated.
Hope that help you