The Holiday object represents an individual holiday within a Holiday Schedule. Each holiday record defines a specific date, name, and the number of hours that resources will be unavailable.
Object Details
| Property | Value |
|---|---|
| API Name | ResourceHeroApp__Holiday__c |
| Label | Holiday |
| Plural Label | Holidays |
| Sharing Model | Controlled by Parent |
Usage Notes
Impact on Resource Forecasts
Changes to Holiday records automatically update Resource Forecasts for all affected resources:
- Adding a holiday: Creates forecast records for all resources with active Holiday Schedule Assignments that include the holiday date in their date range.
- Deleting a holiday: Removes forecast records for that holiday from all affected resources.
- Updating a holiday: Updates existing forecast records (e.g., if hours change from 8 to 4).
These updates occur automatically. No manual intervention is required.
Date Format
Holidays are timezone-agnostic – the date is stored as a calendar date without time component
Master-Detail Relationship
Holidays are automatically deleted if their parent Holiday Schedule is deleted.
Fields
Standard Fields
| Field Label | API Name | Type | Description |
|---|---|---|---|
| Holiday Name | Name | Text | The name of the holiday (e.g., “Christmas Day”, “Independence Day”) |
Custom Fields
| Field Label | API Name | Type | Required | Description |
|---|---|---|---|---|
| Date | ResourceHeroApp__Date__c | Date | Yes | The calendar date of the holiday |
| Hours | ResourceHeroApp__Hours__c | Number (18,2) | Yes | The number of hours for this holiday (typically 8 for a full day) |
| Holiday Schedule | ResourceHeroApp__Holiday_Schedule__c | Master-Detail | Yes | The parent Holiday Schedule this holiday belongs to |