CarePgmEnrolleeWorkOrder

Represents information about the work order that's executed for the care program enrollee. This object is available in API version 58.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

CareProgramEnrolleeId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: This field represents the care program enrollee for whom the work order record is created.

    This field is a relationship field.

  • Relationship Name: CareProgramEnrollee
  • Relationship Type: Master-Detail
  • Refers To: CareProgramEnrollee

EndDateTime

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date and time for the execution of the care program enrollee work order.

IsCustodyCompleted

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether all the custody chain entries for the work order are completed (true) or not (false).
  • Default value: false

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced the record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user viewed the record.

Name

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the work order record.

NextWorkOrderId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: This field represents next work order that's executed for the associated care program enrollee.

    This field is a relationship field.

  • Relationship Name: NextWorkOrder
  • Relationship Type: Lookup
  • Refers To: CarePgmEnrolleeWorkOrder

PreviousWorkOrderId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The previous work order that's executed for the associated care program enrollee.

    This field is a relationship field.

  • Relationship Name: PreviousWorkOrder
  • Relationship Type: Lookup
  • Refers To: CarePgmEnrolleeWorkOrder

ServiceAppointmentId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: This field represents the service appointment that's associated with the work type.

    This field is a relationship field.

  • Relationship Name: ServiceAppointment
  • Relationship Type: Lookup
  • Refers To: ServiceAppointment

StartDateTime

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start date and time for the execution of the care program enrollee work order.

Status

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: This field specifies the execution status of the care program enrollee work order.
  • Possible values:
    • Canceled
    • Completed
    • InProgress
    • NotStarted

WorkTypeId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: This field represents work type for which the work order of the care program enrollee is created.

    This field is a relationship field.

  • Relationship Name: WorkType
  • Relationship Type: Lookup
  • Refers To: WorkType

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

CarePgmEnrolleeWorkOrderChangeEvent (API version 60.0)
Change events are available for the object.
CarePgmEnrolleeWorkOrderFeed
Feed tracking is available for the object.
CarePgmEnrolleeWorkOrderHistory
History is available for tracked fields of the object.