Salesforce: Opportunity Daily History

Description

  • Each record is a daily record in an opportunity, starting with its first active date and updating up toward either the current date (if still active) or its last active date.

Supported Data Sources

  • Salesforce

Columns

Type
Name
Description

STRING

opportunity_day_id

Surrogate key hashed on date_day and opportunity_id

DATE

date_day

Date on which the opportunity had these field values.

STRING

opportunity_id

The unique, system-generated ID assigned during creation.

DATETIME

_fivetran_start

The time when the record was first created or modified in the source, based on a timestamp value in the source table that monotonically increases over time with data change or update.

DATETIME

_fivetran_end

The time until which the record was active minus epsilon, where epsilon is the smallest time difference that can be stored in the timestamp type value.

DATE

_fivetran_date

STRING

history_unique_key

Surrogate key hashed on _fivetran_start and opportunity_id.

BOOLEAN

_fivetran_active

true if it is the currently active record. false if it is a historical version of the record. Only one version of the record can be true.

DATETIME

_fivetran_synced

The time at which fivetran last synced this record.

STRING

account_id

ID of the account associated with this opportunity.

DECIMAL

amount

Estimated total sale amount. For opportunities with products, the amount is the sum of the related products.

INTEGER

campaign_id

ID of a related Campaign. This field is defined only for those organizations that have the campaign feature Campaigns enabled.

DATETIME

close_date

Required. Date when the opportunity is expected to close.

DATETIME

created_date

Date when the opportunity is was created.

INTEGER

description

DECIMAL

expected_revenue

Read-only field that is equal to the product of the opportunity Amount field and the Probability.

STRING

fiscal

If fiscal years are not enabled, the name of the fiscal quarter or period in which the opportunity CloseDate falls.

INTEGER

fiscal_quarter

Represents the fiscal quarter. Valid values are 1, 2, 3, or 4.

INTEGER

fiscal_year

Represents the fiscal year, for example, 2006.

STRING

forecast_category

Restricted picklist field.

STRING

forecast_category_name

The name of the forecast category.

BOOLEAN

has_open_activity

Indicates whether an opportunity has an open event or task (true) or not (false).

BOOLEAN

has_opportunity_line_item

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.

BOOLEAN

has_overdue_task

Indicates whether an opportunity has an overdue task (true) or not (false).

BOOLEAN

is_closed

True, if Stage Name Label is Closed.

BOOLEAN

is_deleted

Indicates whether the object has been moved to the Recycle Bin (true) or not (false).

BOOLEAN

is_won

True, if Stage Name Label is Won.

DATETIME

last_activity_date

Value is one of the following, whichever is the most recent:Due date of the most recent event logged against the record or Due date of the most recently closed task associated with the record.

DATETIME

last_referenced_date

The timestamp when the current user last accessed this record, a record related to this record, or a list view.

DATETIME

last_viewed_date

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.

STRING

lead_source

Source of this opportunity, such as Advertisement or Trade Show.

STRING

name

INTEGER

next_step

Description of next task in closing opportunity.

STRING

owner_id

ID of the User who has been assigned to work this opportunity.

INTEGER

probability

Percentage of estimated confidence in closing the opportunity.

STRING

record_type_id

ID of the record type assigned to this object.

STRING

stage_name

Required. Current stage of this record. The StageName field controls several other fields on an opportunity.

INTEGER

synced_quote_id

The ID of the Quote that syncs with the opportunity.

STRING

type

Type of opportunity. For example, Existing Business or New Business.

INTEGER

row_num

Last updated

Was this helpful?