---
schema_version: "1"
id: 3cfdd92e7cfb1317a9d87dca38820dc49960a2ef54948eaabb89fb785eb8b091
title: Contract Line DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-contractlinedmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contractlinedmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f0465d138c0a182bbcdd137ee77789956b968828ca6494887554b76c00801870
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Contract Line DMO

Represents a line item within a contract.

## Object Properties

**Object API Name:** `ssot__ContractLine__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **CreatedById** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **ContractId** has a FOREIGNKEY relationship with the [Contract DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contractdmo-dmo.md) `Id` field.
- **AssetId** has a FOREIGNKEY relationship with the [Asset DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-assetdmo-dmo.md) `Id` field.
- **PriceBookEntryId** has a FOREIGNKEY relationship with the [Price Book Entry DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-pricebookentrydmo-dmo.md) `Id` field.
- **LocationId** has a FOREIGNKEY relationship with the [Location DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-locationdmo-dmo.md) `Id` field.
- **LastModifiedById** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **ProductId** has a FOREIGNKEY relationship with the [Product DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-productdmo-dmo.md) `Id` field.
- **ParentContractLineId** has a FOREIGNKEY relationship with the [Contract Line DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contractlinedmo-dmo.md) `Id` field.
- **RootContractLineId** has a FOREIGNKEY relationship with the [Contract Line DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-contractlinedmo-dmo.md) `Id` field.
- **SupplierProductId** has a FOREIGNKEY relationship with the [Supplier DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-supplierdmo-dmo.md) `Id` field.
- **AssociatedLocationId** has a FOREIGNKEY relationship with the [Account Location DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-accountlocationdmo-dmo.md) `Id` field.


## Fields

- [AssetId](#assetid)
- [AssociatedLocationId](#associatedlocationid)
- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ContractId](#contractid)
- [ContractLineStatus](#contractlinestatus)
- [CreatedById](#createdbyid)
- [CreatedDate](#createddate)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [Description](#description)
- [DiscountPercent](#discountpercent)
- [EndDateTime](#enddatetime)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [KQ_AssetId](#kq_assetid)
- [KQ_ContractId](#kq_contractid)
- [KQ_CreatedById](#kq_createdbyid)
- [KQ_Id](#kq_id)
- [KQ_LastModifiedById](#kq_lastmodifiedbyid)
- [KQ_LocationId](#kq_locationid)
- [KQ_ParentContractLineId](#kq_parentcontractlineid)
- [KQ_PriceBookEntryId](#kq_pricebookentryid)
- [KQ_ProductId](#kq_productid)
- [KQ_RootContractLineId](#kq_rootcontractlineid)
- [LastModifiedById](#lastmodifiedbyid)
- [LastModifiedDate](#lastmodifieddate)
- [LineItemNumber](#lineitemnumber)
- [LocationId](#locationid)
- [Name](#name)
- [ParentContractLineId](#parentcontractlineid)
- [PriceBookEntryId](#pricebookentryid)
- [ProductId](#productid)
- [ProductPriceAmount](#productpriceamount)
- [ProductQuantity](#productquantity)
- [RootContractLineId](#rootcontractlineid)
- [StartDateTime](#startdatetime)
- [SubtotalAmount](#subtotalamount)
- [SupplierProductId](#supplierproductid)
- [SystemModstamp](#systemmodstamp)
- [TotalPriceAmount](#totalpriceamount)
- [UnitPriceAmount](#unitpriceamount)

### AssetId

- **Field API Name:** `ssot__AssetId__c`
- **Data Type:** TEXT
- **Description:** Reference to the asset related to a contract line.

### AssociatedLocationId

- **Field API Name:** `ssot__AssociatedLocationId__c`
- **Data Type:** TEXT
- **Description:** The location where the contracted product is sourced from or delivered to. References an associated location record linked to the supplier's account.

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### ContractId

- **Field API Name:** `ssot__ContractId__c`
- **Data Type:** TEXT
- **Description:** Required. This is a One to One (1:1) relationship field. ContractProducts is the relationship name and Contract is the referenced object. Maximum size is 36 characters.

### ContractLineStatus

- **Field API Name:** `ssot__ContractLineStatus__c`
- **Data Type:** TEXT
- **Description:** The status of one product or service within a larger contract, for example Draft, InApproval or Approved.

### CreatedById

- **Field API Name:** `ssot__CreatedById__c`
- **Data Type:** TEXT
- **Description:** User who created the record.

### CreatedDate

- **Field API Name:** `ssot__CreatedDate__c`
- **Data Type:** DATETIME
- **Description:** Date and time when this record was created.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### Description

- **Field API Name:** `ssot__Description__c`
- **Data Type:** TEXT
- **Description:** Description of a Contract Product.

### DiscountPercent

- **Field API Name:** `ssot__DiscountPercent__c`
- **Data Type:** DOUBLE
- **Description:** Discount Percentage for the Contract line item.

### EndDateTime

- **Field API Name:** `ssot__EndDateTime__c`
- **Data Type:** DATETIME
- **Description:** When the contract product ceases to be in effect.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this ContractLine record. Maximum size is 36 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### KQ_AssetId

- **Field API Name:** `KQ_AssetId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for AssetId

### KQ_ContractId

- **Field API Name:** `KQ_ContractId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ContractId

### KQ_CreatedById

- **Field API Name:** `KQ_CreatedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for CreatedById

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_LastModifiedById

- **Field API Name:** `KQ_LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LastModifiedById

### KQ_LocationId

- **Field API Name:** `KQ_LocationId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LocationId

### KQ_ParentContractLineId

- **Field API Name:** `KQ_ParentContractLineId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ParentContractLineId

### KQ_PriceBookEntryId

- **Field API Name:** `KQ_PriceBookEntryId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PriceBookEntryId

### KQ_ProductId

- **Field API Name:** `KQ_ProductId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ProductId

### KQ_RootContractLineId

- **Field API Name:** `KQ_RootContractLineId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RootContractLineId

### LastModifiedById

- **Field API Name:** `ssot__LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** User who most recently changed the record.

### LastModifiedDate

- **Field API Name:** `ssot__LastModifiedDate__c`
- **Data Type:** DATETIME
- **Description:** Date and time when a user last modified this record.

### LineItemNumber

- **Field API Name:** `ssot__LineItemNumber__c`
- **Data Type:** TEXT
- **Description:** Line number of contract line item.

### LocationId

- **Field API Name:** `ssot__LocationId__c`
- **Data Type:** TEXT
- **Description:** Where a contract product is physically located.

### Name

- **Field API Name:** `ssot__Name__c`
- **Data Type:** TEXT
- **Description:** Name of the contract line item.

### ParentContractLineId

- **Field API Name:** `ssot__ParentContractLineId__c`
- **Data Type:** TEXT
- **Description:** A contract line item may be grouped within another contract line item on the same contract.

### PriceBookEntryId

- **Field API Name:** `ssot__PriceBookEntryId__c`
- **Data Type:** TEXT
- **Description:** A list of products and their prices.

### ProductId

- **Field API Name:** `ssot__ProductId__c`
- **Data Type:** TEXT
- **Description:** What is intended to be sold. For example, goods, services, bundles, made to order products.

### ProductPriceAmount

- **Field API Name:** `ssot__ProductPriceAmount__c`
- **Data Type:** DOUBLE
- **Description:** Product Quantity * Product List Price.

### ProductQuantity

- **Field API Name:** `ssot__ProductQuantity__c`
- **Data Type:** DOUBLE
- **Description:** Product quantity associated with the line item.

### RootContractLineId

- **Field API Name:** `ssot__RootContractLineId__c`
- **Data Type:** TEXT
- **Description:** Self reference to the root Contract line.

### StartDateTime

- **Field API Name:** `ssot__StartDateTime__c`
- **Data Type:** DATETIME
- **Description:** When the contract product is in effect.

### SubtotalAmount

- **Field API Name:** `ssot__SubtotalAmount__c`
- **Data Type:** DOUBLE
- **Description:** Product Price Amount: Adjustment Amount + Tax Amount.

### SupplierProductId

- **Field API Name:** `ssot__SupplierProductId__c`
- **Data Type:** TEXT
- **Description:** The supplier product that this line item references. Identifies which supplier provides the product and enables supply chain risk analysis.

### SystemModstamp

- **Field API Name:** `ssot__SystemModstamp__c`
- **Data Type:** DATETIME
- **Description:** Date and time when this record was last modified by a user or by an automated process.

### TotalPriceAmount

- **Field API Name:** `ssot__TotalPriceAmount__c`
- **Data Type:** DOUBLE
- **Description:** Total price of the line item.

### UnitPriceAmount

- **Field API Name:** `ssot__UnitPriceAmount__c`
- **Data Type:** DOUBLE
- **Description:** Unit price of the line item.
