---
schema_version: "1"
id: 4117a610acb5b147f962c4516e1b5f4fa64a2664971293df826a4c9897c7fdba
title: CustodyChainEntry
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_custodychainentry.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_custodychainentry.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 23f9c27f0937c4d74bfc1e6b314be760aaa8b8874ad58185403f26985be842ea
description: Represents information about an entry or event in the chain of custody. This object is available in API version 59.0 and later.
---
# CustodyChainEntry

Represents information about an entry or event in the chain of custody. This object is available in API version 59.0 and later.

## Supported Calls

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

## Fields

### AssessmentTaskId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The assessment task for which a custody chain entry is created.
    
    This field is a relationship field.
- **Relationship Name**: AssessmentTask
- **Relationship Type**: Lookup
- **Refers To**: AssessmentTask

### CustodianId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The user, organization, or location that has custody of the item.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Custodian
- **Relationship Type**: Lookup
- **Refers To**: Account, Contact, ServiceTerritory, User

### CustodyItemId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The parent custody item that's associated with the custody chain entry record.
    
    This field is a relationship field.
- **Relationship Name**: CustodyItem
- **Relationship Type**: Master-Detail
- **Refers To**: CustodyItem

### Description

- **Type**: textarea
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of the custody chain entry record of the item.

### EndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The end date and time of custody chain entry the item.

### EnrolleeWorkOrderId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The care program enrollee work order for which a custody chain entry is created.
    
    This field is a relationship field.
- **Relationship Name**: EnrolleeWorkOrder
- **Relationship Type**: Lookup
- **Refers To**: CarePgmEnrolleeWorkOrder

### EnrolleeWorkOrderStepId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The care program enrollee work order step for which a custody chain entry is created.
    
    This field is a relationship field.
- **Relationship Name**: EnrolleeWorkOrderStep
- **Relationship Type**: Lookup
- **Refers To**: CarePgmEnrolleeWkOrdStep

### ItemCustodySiteId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The place where the item is held in custody.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ItemCustodySite
- **Relationship Type**: Lookup
- **Refers To**: Address, Location, ServiceTerritory

### ItemVerificationType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of verification for the item.
- **Possible values**:
    - DualSignature
    - FiveSignatures
    - FourSignatures
    - NoSignature
    - NotApplicable
    - SingleSignature
    - ThreeSignatures

### 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 custody chain entry record.

### RecordUpdateInformation

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: Stores information about the update in the custody chain entry for which the record was created.

### ReferenceObjectApiName

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The API name of the reference object storing the stage, step, or task, or the custom object record for which the custody chain entry is created. For internal use only.
- **Possible values**:
    - AssessmentTask—Assessment Task
    - CarePgmEnrolleeWkOrdStep—Care Program Enrollee Work Order Step
    - CarePgmEnrolleeWorkOrder—Care Program Enrollee Work Order
    - ForecastingItem\_\_hd—Forecasting Item (Historical)

### ReferenceRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The stage, step, task, or any custom object for which the custody entry is created.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ReferenceRecord
- **Relationship Type**: Lookup
- **Refers To**: AssessmentTask, CarePgmEnrolleeWkOrdStep, CarePgmEnrolleeWorkOrder

### StartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The start date and time of custody chain entry for the item.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the status of the custody entry record.
- **Possible values**:
    - Completed
    - New
    - Rejected

### StatusCategory

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the category of the custody entry record's status.
- **Possible values**:
    - Completed
    - New
    - Rejected

### VerificationProcessType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of process in which a verification is performed.
- **Possible values**:
    - Parallel
    - Sequential

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

[CustodyChainEntryChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/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 60.0)

Change events are available for the object.

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

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