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 

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:

    • 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.