You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script will output a User's Capacity and Availability hourly breakdown of a on a daily basis for a given range.
2
+
This is normally not easily accessible in the platform as there are only Weekly and Monthly aggregates in the platform (resource_aggregate_weekly and resource_aggregate_monthly).
3
+
4
+
If there is a Schedule change, the Capacity and Availablility aggregates may be out of sync as well.
5
+
So, this script will show you what the breakdown is based on the current Schedule.
6
+
7
+
Of course, you need "Resource Management" installed to use this which typically comes as part of the "PPM Standard" plugin.
8
+
9
+
To use it, call the "getUserCapacity" function. You can run this in the [System Defintion > Scripts - Background] module
10
+
11
+
- Argument 1 can be a Sys ID or a User ID from the sys_user table
12
+
- Argument 2 is the Start Date of the range you care about in YYYY-MM-DD format
13
+
- Argument 3 is the End Date of the range you care about in YYYY-MM-DD format
0 commit comments