opportunities


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null
accounts_opportunities.opportunity_id Defined in XMLR
aos_contracts.opportunity_id Defined in XMLR
aos_quotes.opportunity_id Defined in XMLR
calls.parent_id Defined in XMLR
documents_opportunities.opportunity_id Defined in XMLR
emails.parent_id Defined in XMLR
emails_beans.bean_id Defined in XMLR
leads.opportunity_id Defined in XMLR
meetings.parent_id Defined in XMLR
notes.parent_id Defined in XMLR
opportunities_audit.parent_id Defined in XMLR
opportunities_contacts.opportunity_id Defined in XMLR
opportunities_cstm.id_c Defined in XMLR
projects_opportunities.opportunity_id Defined in XMLR
securitygroups_records.record_id Defined in XMLR
tasks.parent_id Defined in XMLR
jjwg_maps.parent_id Defined in XMLR
campaign_log.related_id Defined in XMLR
name VARCHAR 50 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
assigned_user_id CHAR 36 null
users.id Defined in XMLR
opportunity_type VARCHAR 255 null
campaign_id CHAR 36 null
campaigns.id Defined in XMLR
lead_source VARCHAR 50 null
amount DOUBLE 22 null
amount_usdollar DOUBLE 22 null
currency_id CHAR 36 null
currencies.id Defined in XMLR
date_closed DATE 10 null
next_step VARCHAR 100 null
sales_stage VARCHAR 255 null
probability DOUBLE 22 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_opp_assigned Performance Asc assigned_user_id
idx_opp_id_deleted Performance Asc/Asc id + deleted
idx_opp_name Performance Asc name

Relationships