Click or drag to resize
TimeCardItem Class
Time Cards Item (TCI) is the foundation of Time Cards data model. It’s a single piece of data telling “this Technician was doing this particular type of work since date/time A until date/time B”.
Inheritance Hierarchy
SystemObject
  CorrigoService.EntitiesCorrigoEntity
    CorrigoServiceCorrigoEntityWithOptimisticLock
      CorrigoService.EntitiesTimeCardItem

Namespace: CorrigoService.Entities
Assembly: ClientXMLDoc (in ClientXMLDoc.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class TimeCardItem : CorrigoEntityWithOptimisticLock

The TimeCardItem type exposes the following members.

Properties
  NameDescription
Public propertyComment
Optional comment provided by Technician. Max Length=256
Public propertyDuration
TCI duration in minutes auto-computed as (dtEnd - dtStart). Only zero and positive values are allowed.
Public propertyEmployee
Technician
Public propertyEndDate
Date/time when labor ended; local time of the user. This value may be entered and then modified by user. NULL is allowed only for pending clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock).
Public propertyInternalCostItem
WO cost labor record
Public propertyLaborCode
Labor Code.
Public propertyLatitudeStart
Represent geolocation result for “time card start” action. Supported only for clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); but we don’t enforce this rule. Both values equal to zero mean geolocation data is not available.
Public propertyLatitudeStop
Represent geolocation result for “time card stop” action. Supported only for clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); but we don’t enforce this rule. Both values equal to zero mean geolocation data is not available.
Public propertyLongitudeStart
Represent geolocation result for “time card start” action. Supported only for clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); but we don’t enforce this rule. Both values equal to zero mean geolocation data is not available.
Public propertyLongitudeStop
Represent geolocation result for “time card stop” action. Supported only for clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); but we don’t enforce this rule. Both values equal to zero mean geolocation data is not available.
Public propertyMoneyId
Currency Type, applicable only for Allowance Type
Public propertyQty
Quantity, applicable only for Allowance Type. Non-negative values are allowed.
Public propertyRate
Rate, applicable only for Allowance Type
Public propertyStartDate
Date/time when labor started; local time of the user. This value may be entered and then modified by user.
Public propertySystemEndDate
Date/time when labor ended (local time of the user) as recorded automatically by application. Required for “closed” (non-pending) clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); otherwise NULL.
Public propertySystemStartDate
Date/time when labor started (local time of the user) as recorded automatically by application. Required for clock-in/out TCIs (i.e. TypeID == TimeCardType.Clock); otherwise NULL.
Public propertyTimeCard
Parent Time Card
Public propertyTypeId
Time Card Type
Public propertyWeekStartDate
Start date of the Time Card Week.
Public propertyWorkOrder
Inherited from WO labor cost record
Public propertyWorkZone
Work Zone. Not supported only for clock-in.out TCIs (i.e. TypeID == TimeCardType.Clock); but it’s not enforced.
Top
See Also