---
schema_version: "1"
id: 806a8a0b17ee5ed017375d8a2457535b6dd406b5694105bbe0c279af446ad5b9
title: EntitlementTemplate
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_entitlementtemplate.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_entitlementtemplate.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ecf40a911c53009e732b68bbb96ef62556a71b39463be47fc111bd6c53acb5a1
description: Represents predefined terms of customer support for a product (Product2). This object is available in API version 18.0 and later.
---
# EntitlementTemplate

Represents predefined terms of customer support for a product (Product2). This object is available in API version 18.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Special Access Rules

As of Summer ’20 and later, only Salesforce admins, users with access to the Case, Entitlement, or Work Order objects, and users with the View Setup and Configuration permission can access this object.

## Fields

| Field | Details |
| --- | --- |
| BusinessHoursId | 
Type

reference

Properties

Create, Filter, Nillable, Update

Description

ID of the BusinessHours associated with the entitlement template. Must be a valid business hours ID.



 |
| CasesPerEntitlement | 

Type

int

Properties

Create, Filter, Nillable, Update

Description

The total number of cases the entitlement template supports.

This field is only available if IsPerIncident is true.



 |
| IsPerIncident | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Update

Description

Indicates whether the entitlement template is limited to supporting a specific number of cases (true) or not (false).



 |
| Name | 

Type

string

Properties

Create, Filter, idLookup, Update

Description

Required. Name of the entitlement template.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix that is associated with this object. Each Developer Edition org that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.

The namespace prefix can have one of the following values.

- In Developer Edition orgs, NamespacePrefix is set to the namespace prefix of the org for all objects that support it, unless an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition org of the package developer.
- In orgs that are not Developer Edition orgs, NamespacePrefix is set only for objects that are part of an installed managed package. All other objects have no namespace prefix.

Available in version 34.0 and later.



 |
| SlaProcessId | 

Type

reference

Properties

Create, Filter, Nillable, Update

Description

ID of the SlaProcess associated with the entitlement template. This field is available in API version 19.0 and later.



 |
| Term | 

Type

int

Properties

Create, Defaulted on create, Filter, Nillable, Update

Description

Number of days that the entitlement template is valid.



 |
| Type | 

Type

picklist

Properties

Create, Filter, Nillable, Update

Description

The type of entitlement template, such as Web or phone support.



 |

## Usage

Use this object to manage entitlement templates.