JDBC Driver for Salesforce

Build 26.0.9770

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

PricebookEntry.Id

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.

HasRevenueSchedule Bool True

Indicates whether this opportunity product has a revenue schedule.

HasQuantitySchedule Bool True

Indicates whether this opportunity product has a quantity schedule.

Description String False

Description or details of the opportunity line item.

HasSchedule Bool True

Indicates whether this opportunity product has any schedule, revenue or quantity.

CanUseQuantitySchedule Bool True

Indicates whether a quantity schedule can be used for this opportunity product.

CanUseRevenueSchedule Bool True

Indicates whether a revenue schedule can be used for this opportunity product.

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.

SystemModstamp Datetime True

System timestamp used for tracking and replication purposes.

LastModifiedDate Datetime True

Date and time when the line item was last modified.

Pseudocolumns

Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
SOQL String

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

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

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.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770