OpportunityLineItem
Represents products or services associated with an opportunity, tracking pricing and quantities.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the opportunity line item. | |
| OpportunityId | String | False |
Opportunity.Id |
Reference to the opportunity associated with this line item. |
| SortOrder | Int | False |
Position of the line item in the opportunity's product list. | |
| PricebookEntryId | String | False |
Reference to the price book entry for the associated product. | |
| Product2Id | String | False |
Product2.Id |
ID of the Product associated with this record. |
| ProductCode | String | True |
Field containing ProductCode information. | |
| Name | String | True |
Name of the record. | |
| CurrencyIsoCode | String | True |
ISO code for the currency in which the revenue amount is expressed. | |
| Quantity | Double | False |
Number of product units included in the line item. | |
| TotalPrice | Decimal | False |
Total price for the line item, calculated as quantity multiplied by unit price. | |
| UnitPrice | Decimal | False |
Actual sales price per unit for the product. | |
| ListPrice | Decimal | True |
Standard list price per unit from the price book. | |
| ServiceDate | Date | False |
Date when the product or service is scheduled for delivery or service. | |
| Description | String | False |
Description or details of the opportunity line item. | |
| CreatedDate | Datetime | True |
Date and time when the line item was created. | |
| CreatedById | String | True |
User.Id |
ID of the user who created the line item. |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the line item. |
| IsDeleted | Bool | True |
Indicates whether the opportunity line item has been deleted. | |
| LastViewedDate | Datetime | True |
Date and time when the record was last viewed in the user interface. | |
| LastReferencedDate | Datetime | True |
Date and time when the record was last referenced. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | True |
System timestamp used for tracking and replication purposes. | |
| LastModifiedDate | Datetime | True |
Date and time when the line item was last modified. |