---
schema_version: "1"
id: e3a64738dd6cde1f0e5dcec5d1ec5f4543c9225a5f42baeecb6d37e912b968f4
title: AssetContractRelationship
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_assetcontractrelationship.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_assetcontractrelationship.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: de221512f3f0556d91340752c247321cb500d133935c27e60ca05dac4659637a
description: Represents a relationship between an asset and a contract. This object is available in API version 60.0 and later.
---
# AssetContractRelationship

Represents a relationship between an asset and a contract. This object is available in API version 60.0 and later.

## Supported Calls

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

## Special Access Rules

This object is available in Enterprise, Unlimited, and Developer Editions of Revenue Cloud.

## Fields

| Field | Details |
| --- | --- |
| AssetId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the asset related to the contract.

This field is a relationship field.

Relationship Name

Asset

Relationship Type

Lookup

Refers To

Asset



 |
| ContractId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the contract related to the asset.

This field is a relationship field.

Relationship Name

Contract

Relationship Type

Lookup

Refers To

Contract



 |
| EndDate | 

Type

dateTime

Properties

Create, Filter, Sort, Update

Description

The end date and time of the relationship between contract and asset.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record, a record related to this record, or a list view. The associated UI label is **Last Modified Date**.



 |
| 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, the user accessed this record or list view (LastReferencedDate) but didn’t view it.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The auto-generated number assigned to AssetContractRelationship. (Read Only)



 |
| StartDate | 

Type

dateTime

Properties

Create, Filter, Sort, Update

Description

The start date and time of the relationship between contract and asset.



 |

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

[AssetContractRelationshipFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "HTML (New Window)")

Feed tracking is available for the object.

[AssetContractRelationshipHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "HTML (New Window)")

History is available for tracked fields of the object.