An Entitlement represents a person's time-off allowance for one absence category (Event), such as Vacation or Sick leave, over the period from start_date to end_date. A person can have several entitlements for the same event, for example one for each year.
Each entitlement tracks three balances:
allocated is the allowance granted to the person.used is the part of the allowance taken by absence bookings, including bookings that are still waiting for approval.pending is the part of used that belongs to bookings still waiting for approval.The remaining allowance is allocated minus used. The unit depends on the event's limitation type: for events limited by days the values are in days, and allocated accepts whole and half days; for events limited by hours the values are in minutes.
You set allocated, the dates and an optional note. Productive calculates used and pending itself and updates them whenever an absence booking on the event is created, changed, approved, rejected or canceled. When more than one of a person's entitlements covers a booking, the booking takes from the one that ends first.
allocated can't be lowered below what is already used. The dates can't be changed to leave out days that bookings already take from the entitlement, and its person or event can't be changed while it has active bookings.
The following diagram shows entitlements in our data hierarchy:
Total hours allocated to this person for the absence category in the entitlement period.
Whether an approval workflow is required for absence requests under this entitlement.
The reference date for this entitlement record (typically the start of the accrual period).
The date when this entitlement period ends. After this date, unused hours may expire.
The absence category (event) this entitlement is for, such as vacation or sick leave.
The ID of the absence category (event) this entitlement covers.
The unique identifier of this entitlement record.
Optional note providing additional context for this entitlement allocation.
The organization this entitlement belongs to.
Hours pending approval — absence bookings submitted but not yet approved.
The person this entitlement applies to.
The ID of the person this entitlement applies to.
The date when this entitlement period starts.
Hours already used — approved absence bookings that have been taken within the entitlement period.