Click or drag to resize
Turn Class
Turn is a unit of pending work that’s been scheduled by application user to create Turn Work Order at some point in the future (depending on how database instance is configured, it’s done by application when deadline is reached or done explicitly by end user). Turn defines where the work will be done (via reference to Asset), what work will be done (via reference to Work Template) and when it needs to start.
Inheritance Hierarchy

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

The Turn type exposes the following members.

Properties
  NameDescription
Public propertyAssetId
Target Asset for Turn; This field tells where the work will be done. This field is expected to reference a Unit but it’s not enforced. Required
Public propertyDtParentScheduledStart
Scheduled start date for parent Turn WO. This value is exposed as "Move Out Date" on UI; it’s either entered by end user or taken from Space record.
Public propertyDtReadyByDue
Ready/Due By date for parent Turn WO. User may provide this value explicitly when creating a Turn. If specified, the date will define Turn WO’s Due By value.
Public propertyErrorDetails
Error feedback for failed Turns. This value is set by scheduler if Turn Work Order can’t be created due to failure.
Public propertyStatusId
Public propertyWorkOrderId
Work Order created from Turn; This field is expected to be NULL for pending and failed Turns.
Public propertyWtTemplateId
Work Template; This field tells what work will be done. This field must reference Work Template whose WO Type has category Turn.
Top
See Also