/
PwsTimeEntryTimeOff

PwsTimeEntryTimeOff

Overview


This structure represents a collection of time off time cards for a specific time off reason.

Format


PwsTimeEntryTimeOff

Elements


Element

Data Type

Description

Sample Data

InactiveFlag

Boolean

If set to 'true', the time off reason is inactive.

false

MinutesYearToDate

Int32

The number of minutes associated with the resource and time off reason from the beginning of the year until today.

SortOrder

Int16

The sort order of the time off reason within the list of time off reasons.

148 

TimeOffCards

PwsTimeOffCardDetail []

The time off cards associated with this time off reason.


TimeOffReasonIdentity

PwsTimeOffReasonRef

The identity of the time off reason.


Usage Example(s)


Example 01
               <a:PwsTimeEntryTimeOff>
                  <a:InactiveFlag>false</a:InactiveFlag>
                  <a:MinutesYearToDate>0</a:MinutesYearToDate>
                  <a:SortOrder>148</a:SortOrder>
                  <a:TimeOffCards>
                     <a:PwsTimeOffCardDetail>
                        <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <TimecardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <TimecardType xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">R</TimecardType>
                        <TimecardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504608460883</TimecardUid>
                        <a:Description i:nil="true"/>
                        <a:DescriptionClearFlag>false</a:DescriptionClearFlag>
                        <a:RejectedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                        <a:RejectedReason i:nil="true"/>
                        <a:RejectedTimestamp i:nil="true"/>
                        <a:Status>Submitted</a:Status>
                        <a:WorkDate>2018-03-06T00:00:00Z</a:WorkDate>
                        <a:WorkMinutes>480</a:WorkMinutes>
                        <a:Timestamp>AAAAAA64Nlc=</a:Timestamp>
                        <a:CardStatus>S</a:CardStatus>
                        <a:TimeOffReasonIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                           <b:TimeOffReasonId i:nil="true"/>
                           <b:TimeOffReasonName>Vacation</b:TimeOffReasonName>
                           <b:TimeOffReasonUid>1152921504606858293</b:TimeOffReasonUid>
                        </a:TimeOffReasonIdentity>
                     </a:PwsTimeOffCardDetail>
                  </a:TimeOffCards>
                  <a:TimeOffReasonIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:TimeOffReasonId i:nil="true"/>
                     <b:TimeOffReasonName>Vacation</b:TimeOffReasonName>
                     <b:TimeOffReasonUid>1152921504606858293</b:TimeOffReasonUid>
                  </a:TimeOffReasonIdentity>
               </a:PwsTimeEntryTimeOff>

Related content

PwsGetTimeCards
PwsGetTimeCards
Read with this
PwsTimeOffSummary
PwsTimeOffSummary
More like this
Methods
Read with this
PwsScheduleTimeOff
PwsScheduleTimeOff
More like this
PwsScheduleTimeOffDate
PwsScheduleTimeOffDate
More like this
PwsTimeOffCardDetail
PwsTimeOffCardDetail
More like this