leads


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null
calls.parent_id Defined in XMLR
campaign_log.target_id Defined in XMLR
dri_workflows.lead_id Defined in XMLR
emails.parent_id Defined in XMLR
leads.reports_to_id Defined in XMLR
leads_audit.parent_id Defined in XMLR
meetings.parent_id Defined in XMLR
messages.parent_id Defined in XMLR
notes.parent_id Defined in XMLR
prospects.lead_id Defined in XMLR
tasks.parent_id Defined in XMLR
meetings_leads.lead_id Defined in XMLR
messages_leads.lead_id Defined in XMLR
leads_dataprivacy.lead_id Defined in XMLR
campaign_log.related_id Defined in XMLR
commentlog_rel.record_id Defined in XMLR
calls_leads.lead_id Defined in XMLR
activities_users.parent_id Defined in XMLR
email_addr_bean_rel.bean_id Defined in XMLR
emails_beans.bean_id Defined in XMLR
tag_bean_rel.bean_id Defined in XMLR
prospect_lists_prospects.related_id Defined in XMLR
locked_field_bean_rel.bean_id Defined in XMLR
leads_audit.parent_id Defined in XMLR
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
salutation VARCHAR 255 null
first_name VARCHAR 255 null
last_name VARCHAR 255 null
title VARCHAR 100 null
facebook VARCHAR 100 null
twitter VARCHAR 100 null
googleplus VARCHAR 100 null
department VARCHAR 100 null
do_not_call BIT 1 0
phone_home VARCHAR 100 null
phone_mobile VARCHAR 100 null
phone_work VARCHAR 100 null
phone_other VARCHAR 100 null
phone_fax VARCHAR 100 null
primary_address_street VARCHAR 150 null
primary_address_city VARCHAR 100 null
primary_address_state VARCHAR 100 null
primary_address_postalcode VARCHAR 20 null
primary_address_country VARCHAR 255 null
alt_address_street VARCHAR 150 null
alt_address_city VARCHAR 100 null
alt_address_state VARCHAR 100 null
alt_address_postalcode VARCHAR 20 null
alt_address_country VARCHAR 255 null
assistant VARCHAR 75 null
assistant_phone VARCHAR 100 null
picture VARCHAR 255 null
converted BIT 1 0
refered_by VARCHAR 100 null
lead_source VARCHAR 100 null
lead_source_description TEXT 65535 null
status VARCHAR 100 New
status_description TEXT 65535 null
reports_to_id CHAR 36 null
leads.id Defined in XMLR
dp_business_purpose TEXT 65535 null
dp_consent_last_updated DATE 10 null
dnb_principal_id VARCHAR 30 null
account_name VARCHAR 255 null
account_description TEXT 65535 null
contact_id CHAR 36 null
contacts.id Defined in XMLR
account_id CHAR 36 null
accounts.id Defined in XMLR
opportunity_id CHAR 36 null
opportunities.id Defined in XMLR
opportunity_name VARCHAR 255 null
opportunity_amount VARCHAR 50 null
campaign_id CHAR 36 null
campaigns.id Defined in XMLR
birthdate DATE 10 null
portal_name VARCHAR 255 null
portal_app VARCHAR 255 null
business_center_id CHAR 36 null
business_centers.id Defined in XMLR
website VARCHAR 255 null
preferred_language VARCHAR 255 null
mkto_sync BIT 1 0
mkto_id INT 10 null
mkto_lead_score INT 10 null
ai_conv_score_classification VARCHAR 255 null
ai_icp_fit_score_classification VARCHAR 255 null
market_interest_prediction_score VARCHAR 255
market_score INT 10 null
ai_conv_score_absolute DECIMAL 10,8 null
ai_conv_bin_accuracy DECIMAL 10,8 null
ai_conv_multiplier DECIMAL 10,8 null
ai_icp_fit_score_absolute DECIMAL 10,8 null
ai_icp_fit_bin_accuracy DECIMAL 10,8 null
ai_icp_fit_multiplier DECIMAL 10,8 null
hint_account_size VARCHAR 20 null
hint_account_industry VARCHAR 120 null
hint_account_location VARCHAR 255 null
hint_account_description VARCHAR 255 null
hint_job_2 VARCHAR 255 null
hint_education VARCHAR 225 null
hint_education_2 VARCHAR 225 null
hint_facebook VARCHAR 120 null
hint_twitter VARCHAR 120 null
hint_industry_tags VARCHAR 225 null
hint_account_founded_year VARCHAR 5 null
hint_account_facebook_handle VARCHAR 120 null
hint_account_twitter_handle VARCHAR 120 null
VARCHAR 255 null
hint_contact_pic TEXT 65535 null
hint_photo VARCHAR 255 null
hint_phone_1 VARCHAR 15 null
hint_phone_2 VARCHAR 15 null
hint_account_naics_code_lbl VARCHAR 170 null
hint_account_sic_code_label VARCHAR 120 null
hint_account_fiscal_year_end VARCHAR 5 null
hint_account_annual_revenue VARCHAR 25 null
hint_account_website VARCHAR 255 null
geocode_status 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.id Defined in XMLR
team_sets_teams.team_set_id Defined in XMLR
acl_team_set_id CHAR 36 null
dri_workflow_template_id CHAR 36 null
dri_workflow_templates.id Defined in XMLR
perform_sugar_action BIT 1 0

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_lead_acct_name_first Performance Asc/Asc/Asc/Asc/Asc deleted + account_name + date_modified + id + team_set_id
idx_lead_contact Performance Asc contact_id
idx_lead_idx_del_last_name Performance Asc/Asc deleted + last_name
idx_lead_mkto_id Performance Asc mkto_id
idx_lead_opp_del Performance Asc/Asc/Asc deleted + opportunity_id + id
idx_lead_phone_work Performance Asc phone_work
idx_leads_acct_del Performance Asc/Asc account_id + deleted
idx_leads_acl_tmst_id Performance Asc/Asc acl_team_set_id + deleted
idx_leads_assigned_del Performance Asc/Asc assigned_user_id + deleted
idx_leads_cjtpl_id Performance Asc dri_workflow_template_id
idx_leads_del_businesscenter Performance Asc/Asc deleted + business_center_id
idx_leads_del_d_e Performance Asc/Asc/Asc deleted + date_entered + id
idx_leads_del_d_m Performance Asc/Asc/Asc deleted + date_modified + id
idx_leads_first_last Performance Asc/Asc/Asc first_name + last_name + deleted
idx_leads_id_del Performance Asc/Asc id + deleted
idx_leads_last_first Performance Asc/Asc/Asc last_name + first_name + deleted
idx_leads_skey Must be unique Asc sync_key
idx_leads_status Performance Asc/Asc deleted + status
idx_leads_tmst_id Performance Asc/Asc team_set_id + deleted
idx_reports_to Performance Asc/Asc/Asc deleted + reports_to_id + id

Relationships