This table requires activation of Salesforce CRM Pipeline functional area. Represents an opportunity, which is a sale or pending deal.
Module:
OPPORTUNITY_ID
| Name | Datatype | Length | Precision | Not Null | Comments | Referred Table | Referred Column |
|---|---|---|---|---|---|---|---|
| OPPORTUNITY_ID | VARCHAR2 | 32 | True | Primary key | |||
| SOURCE_RECORD_ID | VARCHAR2 | 32 | This column is for Oracle Internal use only. SOURCE_RECORD_ID | ||||
| ACCOUNT_ID | VARCHAR2 | 32 | ID of the account associated with this opportunity. | ||||
| AMOUNT | NUMBER | Estimated total sale amount | |||||
| CAMPAIGN_ID | VARCHAR2 | 32 | ID of a related Campaign | ||||
| CLOSE_DATE | DATE | Date when the opportunity is expected to close | |||||
| CONTACT_ID | VARCHAR2 | 32 | ID of the contact associated with this opportunity | ||||
| CREATED_BY_USER_ID | VARCHAR2 | 32 | Opportunity Created by user | ||||
| CREATED_DATE | DATE | Creation Date - Audit column | |||||
| CREATED_TIMESTAMP | TIMESTAMP | Creation Date - Audit column | |||||
| CURRENCY_CODE | VARCHAR2 | 32 | Available only for organizations with the multicurrency feature enabled. Contains the ISO code for any currency allowed by the organization. | ||||
| DESCRIPTION | VARCHAR2 | 999 | description of the opportunity | ||||
| EXPECTED_REVENUE | NUMBER | Read-only field that is equal to the product of the opportunity Amount field and the Probability. You cant directly set this field, but you can indirectly set it by setting the Amount or Probability fields. | |||||
| FORECAST_CATEGORY | VARCHAR2 | 64 | Restricted picklist field. It is implied, but not directly controlled, by the StageName field. You can override this field to a different value than is implied by the StageName value. The values of this field are fixed enumerated values. The field labels are localized to the language of the user performing the operation, if localized versions of those labels are available for that language in the user interface. | ||||
| FORECAST_CATEGORY_NAME | VARCHAR2 | 512 | The name of the forecast category. It is implied, but not directly controlled, by the StageName field. You can override this field to a different value than is implied by the StageName value | ||||
| OPPORTUNITY_HAS_OPEN_ACTIVITY | VARCHAR2 | 16 | Indicates whether an opportunity has an open event or task (true) or not (false). | ||||
| OPPORTUNITY_HAS_OPPORTUNITY_LINE_ITEM | VARCHAR2 | 16 | Read-only field that indicates whether the opportunity has associated line items. A value of true means that Opportunity line items have been created for the opportunity. | ||||
| OPPORTUNITY_HAS_OVERDUE_TASK | VARCHAR2 | 16 | Indicates whether an opportunity has an overdue task (true) or not (false). | ||||
| IS_CLOSED | VARCHAR2 | 16 | Directly controlled by StageName. You can query and filter on this field, but you cant directly set it in a create, upsert, or update request. It can only be set via StageName | ||||
| IS_DELETED | VARCHAR2 | 16 | Indicates whether the object has been moved to the Recycle Bin (true) or not (false) | ||||
| IS_PRIVATE | VARCHAR2 | 16 | Private flag | ||||
| IS_SPLIT | VARCHAR2 | 16 | Read-only field that indicates whether credit for the opportunity is split between opportunity team members. Label is IsSplit. This field is available in versions 14.0 and later for organizations that enabled Opportunity Splits during the pilot period. | ||||
| IS_WON | VARCHAR2 | 16 | Directly controlled by StageName. You can query and filter on this field, but you cant directly set the value. It can only be set via StageName | ||||
| LAST_ACTIVITY_DATE | DATE | Value is one of the following, whichever is the most recent:Due date of the most recent event logged against the record.Due date of the most recently closed task associated with the record. | |||||
| LAST_MODIFIED_BY_USER_ID | VARCHAR2 | 32 | Opportunity last updated by user | ||||
| LAST_MODIFIED_DATE | DATE | Last Modfied Date - Audit column | |||||
| LAST_MODIFIED_TIMESTAMP | TIMESTAMP | Last Modfied Date - Audit column | |||||
| LAST_STAGE_CHANGE_DATE | DATE | The date of the last change made to the Stage field on this opportunity record. | |||||
| LAST_STAGE_CHANGE_TIMESTAMP | TIMESTAMP | The date of the last change made to the Stage field on this opportunity record. | |||||
| LEAD_SOURCE | VARCHAR2 | 512 | Source of this opportunity, such as Advertisement or Trade Show. | ||||
| OPPORTUNITY_NAME | VARCHAR2 | 120 | A name for this opportunity. | ||||
| NEXT_STEP | VARCHAR2 | 512 | Description of next task in closing opportunity. | ||||
| OWNER_ID | VARCHAR2 | 32 | ID of the User who has been assigned to work this opportunity. | ||||
| PRICEBOOK_ID | VARCHAR2 | 32 | ID of a related Pricebook2 | ||||
| PRIMARY_PARTNER_ACCOUNT_ID | VARCHAR2 | 32 | ID of the partner account for the partner user that owns this opportunity | ||||
| PROBABILITY | NUMBER | Percentage of estimated confidence in closing the opportunity. It is implied, but not directly controlled, by the StageName field. You can override this field to a different value than what is implied by the StageName. | |||||
| PUSH_COUNT | NUMBER | The number of times an opportunitys close date has been pushed out by one calendar month. For example, moving a close date from April to May counts as one push, but moving from April 1 to April 30 doesn't count. The total is not decreased when the close date is moved in. | |||||
| RECORD_TYPE_ID | VARCHAR2 | 32 | ID of the record type assigned | ||||
| STAGE_NAME | VARCHAR2 | 512 | Stage Name Of Opporunity | ||||
| TOTAL_OPPORTUNITY_QUANTITY | NUMBER | Number of items included in this opportunity | |||||
| OPPORTUNITY_TYPE | VARCHAR2 | 512 | Type of opportunity. For example, Existing Business or New Business. Label is Opportunity Type. | ||||
| TERRITORY_ID | VARCHAR2 | 32 | The ID of the territory that is assigned to the opportunity | ||||
| CORPORATE_CONVERSION_RATE | NUMBER | Corporate conversion rate | |||||
| CORPORATE_CURRENCY_CODE | VARCHAR2 | 64 | Corporate currency code | ||||
| CORPORATE_AMOUNT | NUMBER | Corporate amount | |||||
| CORPORATE_EXPECTED_REVENUE | NUMBER | Corporate expected amount |
Copyright © 2019, 2025, Oracle and/or its affiliates.