Newer Version Available

This content describes an older version of this product. View Latest

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

Field Details
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 are:
  • 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.
The default value is 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.