WorkTypeCodeSetBundle

Represents a relationship between visit type (Work Type) and code set bundles that represent the service and appointment details for the visit type. This object is available in API version 52.0 and later.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Supported Calls 

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

Fields 

AppointmentTypeId 

  • Type: reference

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

  • Description: The system-defined code that represents the type of appointment associated with the visit type (work type) and service.

    This is a relationship field.

  • Relationship Name: AppointmentType

  • Relationship Type: Lookup

  • Refers To: CodeSetBundle

FlowName 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the internal flow that’s invoked when the visit type (work type) is selected.

HasPrerequisitesCheckInFlow 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the flow associated with the work type code set bundle checks prerequisites (true) or not (false).
  • Default value: false

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date and time when the record was last referenced.

LastViewedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date and time when the record was last viewed.

Name 

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

ParentId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The parent visit type (work type) that the code sets for service and appointment details are associated with. The value for this field is unique across your org in records. That means you can’t have multiple WorkTypeCodeSetBundle records for the same WorkType record.

    This is a relationship field.

  • Relationship Name: Parent

  • Relationship Type: Master-Detail

  • Refers To: WorkType

SchedulingSystem 

  • Type: picklist

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

  • Description: Specifies the scheduling system that’s used to schedule an appointment.

  • Default value: External

  • Possible values:

    • External
    • Salesforce

ServiceCategoryId 

  • Type: reference

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

  • Description: The system-defined code that represents the category of service associated with the visit type (Work Type).

    This is a relationship field.

  • Relationship Name: ServiceCategory

  • Relationship Type: Lookup

  • Refers To: CodeSetBundle

ServiceTypeId 

  • Type: reference

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

  • Description: The system-defined code that represents the type of service associated with the visit type (Work Type).

    This is a relationship field.

  • Relationship Name: ServiceType

  • Relationship Type: Lookup

  • Refers To: CodeSetBundle