opportunities


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null
calls.parent_id Defined in XMLR
contracts.id Defined in XMLR
dri_workflows.opportunity_id Defined in XMLR
emails.parent_id Defined in XMLR
escalations.parent_id Defined in XMLR
forecast_worksheets.opportunity_id Defined in XMLR
leads.opportunity_id Defined in XMLR
meetings.parent_id Defined in XMLR
messages.parent_id Defined in XMLR
notes.parent_id Defined in XMLR
opportunities.renewal_parent_id Defined in XMLR
opportunities_audit.parent_id Defined in XMLR
products.opportunity_id Defined in XMLR
purchased_line_items.renewal_opp_id Defined in XMLR
revenue_line_items.opportunity_id Defined in XMLR
tasks.parent_id Defined in XMLR
opportunities_contacts.opportunity_id Defined in XMLR
tag_bean_rel.bean_id Defined in XMLR
projects_opportunities.opportunity_id Defined in XMLR
locked_field_bean_rel.bean_id Defined in XMLR
emails_beans.bean_id Defined in XMLR
documents_opportunities.opportunity_id Defined in XMLR
commentlog_rel.record_id Defined in XMLR
accounts.id Defined in XMLR
opportunities_audit.parent_id Defined in XMLR
activities_users.parent_id Defined in XMLR
external_users_opportunities.opportunity_id Defined in XMLR
quotes_opportunities.opportunity_id Defined in XMLR
campaign_log.related_id Defined in XMLR
name VARCHAR 255 null
date_entered DATETIME 26 null
date_modified DATETIME 26 null
modified_user_id CHAR 36 null
users.id Defined in XMLR
created_by CHAR 36 null
users.id Defined in XMLR
description TEXT 65535 null
deleted BIT 1 0
opportunity_type VARCHAR 255 null
campaign_id CHAR 36 null
campaigns.id Defined in XMLR
lead_source VARCHAR 50 null
amount DECIMAL 26,6 null
amount_usdollar DECIMAL 26,6 null
date_closed DATE 10 null
date_closed_timestamp BIGINT UNSIGNED 20 null
next_step VARCHAR 100 null
sales_stage VARCHAR 255 Prospecting
sales_status VARCHAR 255 New
probability DOUBLE 22 null
best_case DECIMAL 26,6 null
worst_case DECIMAL 26,6 null
commit_stage VARCHAR 50 null
forecasted_likely DECIMAL 26,6 null
lost DECIMAL 26,6 null
closed_won_revenue_line_items INT 10 null
service_start_date DATE 10 null
service_open_revenue_line_items INT 10 null
total_revenue_line_items INT 10 null
closed_revenue_line_items INT 10 null
included_revenue_line_items INT 10 null
renewal_parent_id CHAR 36 null
opportunities.id Defined in XMLR
ai_opp_conv_score_absolute DECIMAL 10,8 null
ai_opp_conv_bin_accuracy DECIMAL 10,8 null
ai_opp_conv_multiplier DECIMAL 10,8 null
service_duration_value INT 10 null
service_duration_unit VARCHAR 50 null
service_open_flex_duration_rlis INT 10 0
geocode_status VARCHAR 255 null
mkto_sync BIT 1 0
mkto_id INT 10 null
ai_opp_close_week_scores LONGTEXT 2147483647 null
renewal BIT 1 0
ai_opp_conv_score_enum VARCHAR 255 null
sync_key VARCHAR 100 null
assigned_user_id CHAR 36 null
users.id Defined in XMLR
team_id CHAR 36 null
teams.id Defined in XMLR
team_set_id CHAR 36 null
team_sets_teams.team_set_id Defined in XMLR
team_sets.id Defined in XMLR
acl_team_set_id CHAR 36 null
currency_id CHAR 36 -99
currencies.id Defined in XMLR
base_rate DECIMAL 26,6 null
is_escalated BIT 1 0
dri_workflow_template_id CHAR 36 null
dri_workflow_templates.id Defined in XMLR

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_opp_del_renewal_pid Performance Asc/Asc/Asc deleted + renewal_parent_id + id
idx_opp_name Performance Asc/Asc/Asc deleted + name + date_modified
idx_opportunities_acl_tmst_id Performance Asc/Asc acl_team_set_id + deleted
idx_opportunities_assigned_del Performance Asc/Asc assigned_user_id + deleted
idx_opportunities_cjtpl_id Performance Asc dri_workflow_template_id
idx_opportunities_del_d_e Performance Asc/Asc/Asc deleted + date_entered + id
idx_opportunities_del_d_m Performance Asc/Asc/Asc deleted + date_modified + id
idx_opportunities_id_del Performance Asc/Asc id + deleted
idx_opportunities_name_del Performance Asc/Asc name + deleted
idx_opportunities_skey Must be unique Asc sync_key
idx_opportunities_tmst_id Performance Asc/Asc team_set_id + deleted
idx_opportunity_next_step Performance Asc/Asc/Asc deleted + next_step + date_modified

Relationships