---
schema_version: "1"
id: cf73ed5446f111634cdcbd89fe0c65010efd0d0f757a4e6f14d263d1d99ec309
title: ProductTerrDtlAvailability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_productterrdtlavailability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_productterrdtlavailability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e67495665ee04c6fb1537ba9db89ea78609b7c7dbaec96f964783ed988498354
description: Represents the details of the products aligned to territories. This object is an extension of the information stored in the Product Territory Availability object and is used for internal purposes. This object is available in API version 65.0 and later.
---
# ProductTerrDtlAvailability

Represents the details of the products aligned to territories. This object is an extension of the information stored in the Product Territory Availability object and is used for internal purposes. This object is available in API version 65.0 and later.

## Supported Calls

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

## Fields

### IsActive

- **Type**: boolean
- **Properties**: Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the product territory detailed availability is active (true) or not (false).
- **Default value**: false

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDateis not null, the user accessed this record or list view indirectly.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the product territory detailed availability.

### OwnerId

- **Type**: reference
- **Properties**: Filter, Group, Sort, Update
- **Description**: ID of the owner of this object.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### ProdtTerritoryAvailabilityId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: The product territory availability associated with the product territory detailed availability.
    
    This field is a relationship field.
- **Relationship Name**: ProdtTerritoryAvailability
- **Refers To**: ProductTerritoryAvailability

### ProductId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: The product for which the territory availability is defined .
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Product
- **Refers To**: LifeSciMarketableProduct, Product2

### ProductType

- **Type**: string
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The type of the product associated with the product territory detailed availability.

### Purpose

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: Specifies the purpose of the product territory detailed availability.
- **Default value**: Visit
- **Possible values**:
    - Visit
    - Quote

### RelatedTerritoryId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Stores the ID of the territory associated with the product territory detailed availability.
    
    This field is a relationship field.
- **Relationship Name**: RelatedTerritory
- **Refers To**: Territory2

### SortOrder

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort, Update
- **Description**: The order in which product territories are displayed.

### TerritoryId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: The territory for which the product availability is defined .
    
    This field is a relationship field.
- **Relationship Name**: Territory
- **Refers To**: Territory2

### UsageType

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
- **Description**: Specifies the usage type of the product territory detailed availability.
- **Default value**: LifeSciences
- **Possible values**:
    - LifeSciences

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ProductTerrDtlAvailabilityShare](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.