WorkTypeSvcTerrSchdPrio

Represents the priority of the combination of the service territory, work type, and work procedure while fetching appointment slots. This object is available in API version 59.0 and later.

Supported Calls 

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

Fields 

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: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the work type service territory scheduling priority record.

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update

  • Description: The owner of the work type service territory scheduling priority record.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner

  • Relationship Type: Lookup

  • Refers To: Group, User

ParentServiceTerritoryId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: Represents the parent service territory condition for which priority is being defined.

    This field is a relationship field.

  • Relationship Name: ParentServiceTerritory

  • Relationship Type: Lookup

  • Refers To: ServiceTerritory

Priority 

  • Type: int
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The combined priority of all the conditions for a service territory.

ServiceTerritoryId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • Description: Represents the service territory condition for which priority is being defined.

    This field is a relationship field.

  • Relationship Name: ServiceTerritory

  • Relationship Type: Lookup

  • Refers To: ServiceTerritory

UsageType 

  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update

  • Description: The usage type of the scheduling priority in an application or cloud. For internal use only.

  • Possible values:

    • Healthcare
    • RequestForProposal

WorkProcedureId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: Represents the work procedure condition for which priority is being defined.

    This field is a relationship field.

  • Relationship Name: WorkProcedure

  • Relationship Type: Lookup

  • Refers To: WorkProcedure

WorkTypeId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • Description: Represents the work type condition for which priority is being defined.

    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.

WorkTypeSvcTerrSchdPrioChangeEvent (API version 60.0)

Change events are available for the object.

WorkTypeSvcTerrSchdPrioFeed

Feed tracking is available for the object.

WorkTypeSvcTerrSchdPrioHistory

History is available for tracked fields of the object.

WorkTypeSvcTerrSchdPrioOwnerSharingRule

Sharing rules are available for the object.

WorkTypeSvcTerrSchdPrioShare

Sharing is available for the object.