...
This structure represents the fields associated with the history of a time off time carda historical record of an adjustment to a time off card. The values in this structure represent the details of the adjustment that was performed (who, when, what, etc), as well as the resultant attributes of the time off card (date, status, rejected reason, etc.). Note that the time off card attributes in this structure will not necessarily match the current values on the time off card, as further adjustments may have been made to the card.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
AdjustmentType | String | The time off time card adjustment type: 'SU' for Unsubmitted 'SS' for Submitted 'SR' for Rejected 'SP' for Unapproved 'SA' for Approved | SS |
ApprovalWorkflowStatus | String | The time off time card's |
resulting approval workflow status: 'D' for Draft 'S' for Submitted 'R' for Rejected 'A' for Approved | S | |
Date | DateTime | The date |
associated with the time off time card (in UTC format). | 2018-03-06T00:00:00Z | |
RejectedReason | String | The reject reason associated with the time off time card. Note: This is only applicable if the AdjustmentType = 'R' |
TimeOffMinutes | Int32 | The number of time off minutes associated with the time off time card. | 480 |
TimeOffReasonIdentity | The time off reason. |
TransactionTimestamp | DateTime | The transaction date and time associated with the time off time card adjustment (in UTC format). | 2018-03-07T20:33:16.677Z |
TransactionUser | The identity of the user who performed the transaction |
. |
Usage Example(s)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<a:PwsTimeOffHistory> <a:AdjustmentType>SS</a:AdjustmentType> <a:ApprovalWorkflowStatus>S</a:ApprovalWorkflowStatus> <a:Date>2018-03-06T00:00:00Z</a:Date> <a:RejectedReason i:nil="true"/> <a:TimeOffMinutes>480</a:TimeOffMinutes> <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:TransactionTimestamp>2018-03-07T20:33:16.677Z</a:TransactionTimestamp> <a:TransactionUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:UserDisplayName>Jack Spratt</b:UserDisplayName> <b:UserId i:nil="true"/> <b:UserReferenceSystemId>E123</b:UserReferenceSystemId> <b:UserUid>1152921504607112369</b:UserUid> <b:EmailAddress>jack@revcorp.bb</b:EmailAddress> <b:FirstName>Jack</b:FirstName> <b:LastName>Spratt</b:LastName> <b:MiddleName i:nil="true"/> </a:TransactionUser> </a:PwsTimeOffHistory> |