PwsTimeCardRef

Overview


This structure represents the unique key fields associated with identifying a time card or time off card. Note that a time card or time off card is identified by:

  • The time card type (TimecardType). "T" for time card, or "R" for reported time off, and
  • The time card UID

Both fields are required in order for the reference to be considered valid.

Format


PwsTimecardRef
  • PwsTimecardRef
    • ReferenceId: String
    • TimecardId: Int32
    • TimecardType: String
    • TimecardUid: Int64

Elements


Element

Data Type

Description

Sample Data

ReferenceId

String

Reference id (used to affiliate PwsSaveTimeCardResult records with associated PwsTimeCardDetail records).


TimecardId

Int32

The time card Id is a unique identifier for a time card. For internal use only. 


TimecardType

String

The time card type:

'T' for time card associated with a project

'R' for reported time off

T


TimecardUid

Int64

A unique and immutable identifier for a time card.

1152921504646141261 

Usage Example(s)


Example 01
            <tim:TimeCardIdentity>
               <com:TimecardType>T</com:TimecardType>
               <com:TimecardUid>1152921504646141261</com:TimecardUid>
            </tim:TimeCardIdentity>