PwsProjectRoleHoursPattern
Overview
This is a data structure that holds project role's initial allocation configuration.Â
Format
PwsProjectRoleHoursPattern
- PwsProjectRoleHoursPattern
- HoursAllocationPercentage: Double
- HoursBucketCount: Int
- HoursSchedulingMode: String(1)
- HoursStartDate: DateTime
- ConstraintType: String(1)
- MinutesPerBucket: Int
Elements
Element | Data Type | Requried? | Description | Sample Data |
---|---|---|---|---|
HoursAllocationPercentage | Double | See Description | Percentage of working hours to allocate over the requested range. Must be 0 or greater. Specify the value as a ratio (e.g. 100% = 1.0). One and only one of HoursAllocationPercentage and MinutesPerBucket must be specified. | 0.75 |
HoursBucketCount | Int | Yes | Number of buckets to allocate. This is either a number of weeks or a number of days, depending upon HoursSchedulingMode. | 5 |
HoursSchedulingMode | String(1) | No | Schedule time by day (D) or week (W). Defaults to the assignment's default scheduling mode. | D |
HoursStartDate | DateTime | See Description | The starting date for the allocations. Required if the role open date is prior to the current date. Otherwise, defaults to the role open date, | 2019-10-01z |
ConstraintType | String(1) | No | The constraint to apply. N - None, W - Working Hours, H - Working Hours less Holidays, T - Working Hours less Holidays and Time Off, A - Available Hours (Working Hours less Holidays, Time Off and Other Allocations). Defaults to 'N'. | N |
MinutesPerBucket | Int | See Description | Number of minutes to allocate per bucket. This is an alternative to specifying HoursAllocationPercentage. Only one of the two can be specified. | 450 |