---
schema_version: "1"
id: 5ad55731940a5c35d1a6aff0d100e514fc0155c1f3dff5ab96887937c4153a7b
title: ProdtSvcCmpnPreferredPartner
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_prodtsvccmpnpreferredpartner.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_prodtsvccmpnpreferredpartner.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3db941d58b287d3b6d703a1e9ecedbd29b3ddc4059cc96c1ab6c45a0bdb07008
description: Represents information about the most appropriate partner to execute a product service campaign within a specific geographic area. Helps to map and allocate service providers to minimize costs and turnaround time,facilitating efficient execution of the product service campaign. This object is available in API version 65.0 and later.
---
# ProdtSvcCmpnPreferredPartner

Represents information about the most appropriate partner to execute a product service campaign within a specific geographic area. Helps to map and allocate service providers to minimize costs and turnaround time,facilitating efficient execution of the product service campaign. This object is available in API version 65.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The account associated with the product service campaign preferred partner.
    
    This field is a relationship field.
- **Relationship Name**: Account
- **Refers To**: Account

### ContactId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The point of contact for the product service campaign preferred partner.
    
    This field is a relationship field.
- **Relationship Name**: Contact
- **Refers To**: Contact

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### LocationId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The location of the product service campaign preferred partner.
    
    This field is a relationship field.
- **Relationship Name**: Location
- **Refers To**: Location

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the product service campaign preferred partner.

### PartnerPrefOrder

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The order of preference for the product service campaign preferred partner.

### ProductServiceCampaignId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The product service campaign associated with the product service campaign preferred partner.
    
    This field is a relationship field.
- **Relationship Name**: ProductServiceCampaign
- **Relationship Type**: Master-detail
- **Refers To**: ProductServiceCampaign (the master object)

### Role

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The role of the product service campaign preferred partner, such as a supplier.

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

**[ProdtSvcCmpnPreferredPartnerChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events."):** Change events are available for the object.

**[ProdtSvcCmpnPreferredPartnerHistory](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object."):** History is available for tracked fields of the object.