---
schema_version: "1"
id: b9bc850b70ce6fd7ce874ac0dec88503d5714837c0ca02276d22e69663f52c9a
title: TrackedCommunicationDetail
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/sforce_api_objects_trackedcommunicationdetail.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_objects_trackedcommunicationdetail.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cbcd2766e75130bf38223c37c43704b06304dd33b4429322d9fa1daeebdc570c
description: Stores additional information associated with TrackedCommunication records. This object is available in API version 57.0 and later.
---
# TrackedCommunicationDetail

Stores additional information associated with TrackedCommunication records. This object is available in API version 57.0 and later.

## Supported Calls

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

## Fields

### DetailCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The code set or code set bundle that contains the information to be added to the tracked communication record. Select a detail code when the specified detail type is Category, Medium, Reason Code, or Payload.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: DetailCode
- **Relationship Type**: Lookup
- **Refers To**: CodeSet, CodeSetBundle

### DetailRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The record that contains the information to be added to the tracked communication record. Select the record based on the detail type you’ve specified.
    
    - For the Replaced Item detail type, select a tracked communication record.
    - For the About detail type, select either a case or a case request record.
    - For the Recipient detail type, select either an account or a healthcare provider record.
    - For the Note detail type, select an author note record.
    - For the Payload detail type, select an author note record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: DetailRecord
- **Relationship Type**: Lookup
- **Refers To**: Account, AuthorNote, CareRequest, Case, HealthcareProvider, TrackedCommunication

### DetailType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the type of information that you’re adding to the tracked communication record.
- **Possible values**:
    - About
    - Category
    - Medium
    - Note
    - Payload
    - Reason Code
    - Recipient
    - Replaced Item

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced the record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed the record.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The name of the tracked communication detail.

### TrackedCommunicationId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The parent tracked communication record you're adding information to.
    
    This field is a relationship field.
- **Relationship Name**: TrackedCommunication
- **Relationship Type**: Master-Detail
- **Refers To**: TrackedCommunication

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

[TrackedCommunicationDetailChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent 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.")(API Version 63.0)

Change events are available for the object.

[TrackedCommunicationDetailFeed](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[TrackedCommunicationDetailHistory](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/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.