Overview
This structure is part of the response for method PwsGetResourcePto, and returns the details about one time off reason for a resource.
...
Panel | ||
---|---|---|
| ||
|
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. |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:PwsTimeOffReasonPto> <TimeOffReasonId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/> <TimeOffReasonName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">Vacation</TimeOffReasonName> <TimeOffReasonUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606854584</TimeOffReasonUid> <a:InactiveFlag>false</a:InactiveFlag> <a:SortOrder>0</a:SortOrder> <a:ReportedTimeOffDescriptionRequiredFlag>false</a:ReportedTimeOffDescriptionRequiredFlag> <a:ScheduledTimeOffDescriptionRequiredFlag>false</a:ScheduledTimeOffDescriptionRequiredFlag> <a:AvailableMinutesAtEndOfLastYear>0</a:AvailableMinutesAtEndOfLastYear> <a:AvailableMinutesAtEndOfThisYear>8400</a:AvailableMinutesAtEndOfThisYear> <a:LastYearInactiveFlag>false</a:LastYearInactiveFlag> <a:PostCutoffInactiveFlag>false</a:PostCutoffInactiveFlag> <a:ThisYearInactiveFlag>false</a:ThisYearInactiveFlag> </a:PwsTimeOffReasonPto> |
...