---
schema_version: "1"
id: c3c07517a2e77f2cb489d8ad0f8d40e75d79a149f58f88ab36f677bc3674fcd3
title: ProdtSvcCmpnDefPtnrInv
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_prodtsvccmpndefptnrinv.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_prodtsvccmpndefptnrinv.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3856ab44450157971f1ec1a41780168c79d215b221712847ddd05bb97917e2d8
description: Represents information about the partner-held inventory of the items that are impacted by a product service campaign. Stores the granular details, such as inventory status and impacted unit count, facilitating simplified tracking and efficient execution of the product service campaign. This object is available in API version 65.0 and later.
---
# ProdtSvcCmpnDefPtnrInv

Represents information about the partner-held inventory of the items that are impacted by a product service campaign. Stores the granular details, such as inventory status and impacted unit count, facilitating simplified tracking and 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

### InventoryStatus

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The status of inventory at each partner location.

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

### Name

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

### PartnerAccountId

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

### PartnerType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The role of the partner associated with a product service campaign, such as a distributor or a dealer.

### PointOfContactId

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

### ProductItemId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The unsold inventory of the partner associated with a product service campaign.
    
    This field is a relationship field.
- **Relationship Name**: ProductItem
- **Refers To**: ProductItem

### ProductSvcCampaignDefId

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

### UnsoldInventoryQuantity

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The number of unsold and impacted inventory units.

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

**[ProdtSvcCmpnDefPtnrInvChangeEvent](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.

**[ProdtSvcCmpnDefPtnrInvHistory](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.