---
schema_version: "1"
id: 9a944c0b0bc6af2e7c553ad10c3de7f324b9e5c552738d08b156c63b8bf8638f
title: SalesContractLine
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_salescontractline.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_salescontractline.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cf7cadd79f2b79fd802682d6b6c0ba32afe1bed4b6a1d768124c9b4523bd6f0f
description: Stores a contract's product information, including price, quantity, and components covered. This object is available in API version 59.0 and later.
---
# SalesContractLine

Stores a contract's product information, including price, quantity, and components covered. 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

### ContractId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Identifier of the parent contract.
    
    This field is a relationship field.
- **Relationship Name**: Contract
- **Relationship Type**: Lookup
- **Refers To**: Contract

### Description

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: The description of the sales contract line.

### EffectiveEndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date from which the line item is effective.

### EffectiveStartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The date till which the line item is effective.

### ExpenseRecoveryType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: Specifies the type of expense recovery from the supplier.
- **Possible values**:
    - PartExpense—Part Expense
    - TotalExpense—Total Expense

### IsPartReturnRequired

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether it's mandatory for the manufacturer to return the product to the supplier for the supplier contract to apply.
- **Default value**: false

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view.

### LineItemNumber

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The unique number of the line item.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: Name of the contract line item.

### OriginalLineItemId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: ID of the original line item that this line item references (for example if this line item is due to a contract amendment).
    
    This field is a relationship field.
- **Relationship Name**: OriginalLineItem
- **Refers To**: SalesContractLine

### Product2Id

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Product ID associated with the line item.
    
    This field is a relationship field.
- **Relationship Name**: Product2
- **Refers To**: Product2

### ProductCode

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: Product code associated with the line item.

### Quantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Product quantity associated with the line item.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Status of the contract line item.

### TotalPrice

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The total price of the line item based on the quantity and unit price.

### UnitPrice

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The price of a single unit of the line item.