Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ServiceResourceLeaveBalance

Stores the leave balances for service resources. This object is available in API version 64.0 and later.

Supported Calls

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

Fields

Field Details
Name
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The name of the service resource leave balance.
Service Resource
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The service resource associated with the leave balance.
LeaveType
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the type of the leave.
Possible values are:
  • Vacation
  • Sick
  • Parental
  • Bereavement
  • Others
TotalLeaveCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The total number of leave days allotted to the service resource.
AvailableLeaveCount
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The remaining number of leave days available to the service resource.