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 for the Salesforce Platform.

Fields

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