Overview
This structure is part of the response for method PwsGetResourcePto, and returns the details about one time off reason for a resource.
Format
- PwsTimeOffReasonPto
- TimeOffReasonId: Int32
- TimeOffReasonName: String
- TimeOffReasonUid: Int64
- InactiveFlag: Boolean
- SortOrder: Int16
- ReportedTimeOffDescriptionRequiredFlag: Boolean
- ScheduledTimeOffDescriptionRequiredFlag: Boolean
- AvailableMinutesAtEndOfLastYear: Int32
- AvailableMinutesAtEndOfThisYear: Int32
- LastYearInactiveFlag: Boolean
- PostCutoffInactiveFlag: Boolean
- ThisYearInactiveFlag: Boolean
Elements
Element | Data Type | Description |
---|---|---|
TimeOffReasonId | Int32 | The time off reason Id is a unique identifier for a time off reason. For internal use only. |
TimeOffReasonName | String | The time off reason name is a unique identifier for a time off reason. |
TimeOffReasonUid | Int64 | The time off reason UID is a unqiue and immutable identifier for a time off reason. |
InactiveFlag | Boolean | If set to 'true', the time off reason is inactive. |
SortOrder | Int16 | The sort order of the time off reason, among the time off reasons defined for the account. |
ReportedTimeOffDescriptionRequiredFlag | Boolean | If set to 'true', description is required when user submits reported time off with this time off reason. |
ScheduledTimeOffDescriptionRequiredFlag | Boolean | If set to 'true', description is required when time off is requested with this time off reason. |
AvailableMinutesAtEndOfLastYear | Int32 | If tracked, the available time off minutes at the end of last year for this time off reason. |
AvailableMinutesAtEndOfThisYear | Int32 | If tracked, the available time off minutes at the end of this year for this time off reason. |
LastYearInactiveFlag | Boolean | True if the resource was inactive or the resource's resource type did not allow this time off reason at any point during the previous year. |
PostCutoffInactiveFlag | Boolean | True if the resource was inactive or the resource's resource type did not allow this time off reason at any point during the after the specified cutoff date. |
ThisYearInactiveFlag | Boolean | True if the resource was inactive or the resource's resource type did not allow this time off reason at any point during the current year. |