ProductTerritoryAvailability

Represents information about the products aligned to territories. This object is available in API version 65.0 and later.

Supported Calls 

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

Fields 

AlignmentType 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Specifies the alignment type of a product in relation to a territory. A product can be made directly available to a territory, inherited, or specifically excluded.

  • Default value: Inclusion

  • Possible values:

    • Inclusion
    • Territory Exclusion
    • Territory and Subordinates Inclusion

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

OwnerId 

  • Type: reference

  • Properties: Create, Defaulted on create, 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

ProductId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • Description: The product for which the territory availability is defined .

    This field is a polymorphic relationship field.

  • Relationship Name: Product

  • Refers To: LifeSciMarketableProduct, Product2

Purpose 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Specifies the purpose of the product territory availability.

  • Default value: Visit

  • Possible values:

    • Visit
    • Quote

RelatedProduct2Id 

  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Description: Represents the Product2 record associated with the LifeSciMarketableProduct record in the product territory availability.
  • Relationship Name: RelatedProduct2
  • Refers To: Product2

Status 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Indicates the status of the product territory alignment record.

  • Default value: Draft

  • Possible values:

    • Active
    • Draft
    • Inactive
    • Queued

TerritoryId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort, Update

  • 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: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

  • Description: Specifies the usage type of the product territory availability.

  • Default value: LifeScience

  • Possible values:

    • LifeScience

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.

ProductTerritoryAvailabilityChangeEvent

Change events are available for the object.

ProductTerritoryAvailabilityFeed

Feed tracking is available for the object.

ProductTerritoryAvailabilityShare

Sharing is available for the object.