Newer Version Available

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

Opportunity

Represents an opportunity, which is a sale or pending deal.

For more information, see Opportunity in the Object Reference.

Fields

Field Label API Field Name Type Digits Length Precision Scale
Account ID AccountId reference 18
Amount Amount currency 18 2
Campaign ID CampaignId reference 18
Close Date CloseDate date
Closed IsClosed boolean
Contact ID ContactId reference 18
Created By ID CreatedById reference 18
Created Date CreatedDate datetime
Deleted IsDeleted boolean
Description Description textarea 32000
Fiscal Period Fiscal string 6
Fiscal Quarter FiscalQuarter int 8
Fiscal Year FiscalYear int 8
Forecast Category ForecastCategoryName picklist 255
Forecast Category ForecastCategory picklist 40
Has Line Item HasOpportunityLineItem boolean
Has Open Activity HasOpenActivity boolean
Has Overdue Task HasOverdueTask boolean
Last Activity LastActivityDate date
Last Modified By ID LastModifiedById reference 18
Last Modified Date LastModifiedDate datetime
Last Referenced Date LastReferencedDate datetime
Last Viewed Date LastViewedDate datetime
Lead Source LeadSource picklist 255
Name Name string 120
Next Step NextStep string 255
Opportunity History ID LastCloseDateChangedHistoryId reference 18
Opportunity History ID LastAmountChangedHistoryId reference 18
Opportunity ID Id id 18
Opportunity Type Type picklist 255
Owner ID OwnerId reference 18
Price Book ID Pricebook2Id reference 18
Probability (%) Probability percent 3 0
Stage StageName picklist 255
System Modstamp SystemModstamp datetime
Won IsWon boolean