OperatingHoursHoliday

Represents the day or hours for which a service territory or service resource is unavailable in Field Service, Salesforce Scheduler, Salesforce Meetings, Sales Engagement, or Workforce Engagement. This object is available in API version 54.0 and later.

Supported Calls

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

Special Access Rules

Field Service must be enabled.

Fields

Field Details
DateAndTime
Type
string
Properties
Filter, Group, Nillable, Sort
Description
(Read-Only) The date or time for the holiday.
HolidayId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the holiday that’s related to the operating hours indicated in the OperatingHoursId field.
This value is a relationship field.
Relationship Name
Holiday
Relationship Type
Lookup
Refers To
Holiday
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time that the current user last viewed a record related to this object.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this object.
OperatingHoursHolidayNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
(Read-Only) An auto-generated number identifying the operating hours holiday.
OperatingHoursId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the operating hours that’s related to the holiday that’s indicated in the HolidayId field.
This value is a relationship field.
Relationship Name
OperatingHours
Relationship Type
Lookup
Refers To
OperatingHours

Associated Objects

This object has the following associated objects. If the API version isn’t specified, the associated objects are either available in the same API versions as the OperatingHoursHoliday object or in the specified API version and later.

OperatingHoursHolidayChangeEvent (API version 62.0)
Change events are available for the object.
OperatingHoursHolidayHistory (API version 62.0)
History is available for tracked fields of the object.