Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Overview


This structure defines the number of hours that have or will be requested or scheduled for a role as well as the pattern in which they will be distributed.

Format


PwsProjectRoleHoursBucket
  • PwsProjectRoleHoursBucket
    • BucketStartDate: DateTime
    • DailyMinutes: Int16[]
    • SchedulingMode: String
    • WeeklyMinutes: Int16

Elements


Element

Data Type

Required?

Default

Description

Sample Data

BucketStartDate

DateTime

No

 

The start date for which the requested or scheduled hours for the role will be distributed

2020-01-06T00:00:00.000Z

DailyMinutes

Int16[]

No 

 

The number of daily minutes to be requested or scheduled for the role. This is applicable when the scheduling mode is "D" for Daily. In "Daily" mode the array must have exactly 7 entries.


SchedulingMode

String

No 

 

The Scheduling Mode:

"D" for Daily

"W" for Weekly

W

WeeklyMinutes

Int16

No 

 

The number of weekly minutes to be requested or scheduled for the role. This is applicable when the scheduling mode is "W" for Weekly

2400

Usage Example(s)


Example 01 - Daily Mode
                  <com:HoursBuckets>
                     <com:PwsProjectRoleHoursBucket>
                        <com:BucketStartDate>2020-01-06T00:00:00.000Z</com:BucketStartDate>
                        <com:DailyMinutes>
                           <arr:short>480</arr:short>
                           <arr:short>480</arr:short>
                           <arr:short>480</arr:short>
                           <arr:short>480</arr:short>
                           <arr:short>480</arr:short>
                           <arr:short>0</arr:short>
                           <arr:short>0</arr:short>
                        </com:DailyMinutes>
                        <com:SchedulingMode>D</com:SchedulingMode>
                     </com:PwsProjectRoleHoursBucket>
                  </com:HoursBuckets>        


Example 02 - Weekly Mode
                  <com:HoursBuckets>
                     <com:PwsProjectRoleHoursBucket>
                        <com:BucketStartDate>2020-01-06T00:00:00.000Z</com:BucketStartDate>
                        <com:SchedulingMode>W</com:SchedulingMode>
                        <com:WeeklyMinutes>2400</com:WeeklyMinutes>
                     </com:PwsProjectRoleHoursBucket>
                  </com:HoursBuckets>
  • No labels