leads


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null
calls.parent_id Defined in XMLR
calls_leads.lead_id Defined in XMLR
campaign_log.target_id Defined in XMLR
email_addr_bean_rel.bean_id Defined in XMLR
emails.parent_id Defined in XMLR
emails_beans.bean_id Defined in XMLR
fp_events_leads_1_c.fp_events_leads_1leads_idb Defined in XMLR
leads.reports_to_id Defined in XMLR
leads_audit.parent_id Defined in XMLR
leads_cstm.id_c Defined in XMLR
linked_documents.parent_id Defined in XMLR
meetings.parent_id Defined in XMLR
meetings_leads.lead_id Defined in XMLR
notes.parent_id Defined in XMLR
prospect_lists_prospects.related_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
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
salutation VARCHAR 255 null
first_name VARCHAR 100 null
last_name VARCHAR 100 null
title VARCHAR 100 null
photo VARCHAR 255 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
lawful_basis TEXT 65535 null
date_reviewed DATE 10 null
lawful_basis_source 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
converted BIT 1 0
refered_by VARCHAR 100 null
lead_source VARCHAR 100 null
lead_source_description TEXT 65535 null
status VARCHAR 100 null
status_description TEXT 65535 null
reports_to_id CHAR 36 null
leads.id Defined in XMLR
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
website VARCHAR 255 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_del_user Performance Asc/Asc deleted + assigned_user_id
idx_lead_acct_name_first Performance Asc/Asc account_name + deleted
idx_lead_assigned Performance Asc assigned_user_id
idx_lead_contact Performance Asc contact_id
idx_lead_del_stat Performance Asc/Asc/Asc/Asc last_name + status + deleted + first_name
idx_lead_last_first Performance Asc/Asc/Asc last_name + first_name + deleted
idx_lead_opp_del Performance Asc/Asc opportunity_id + deleted
idx_lead_phone_work Performance Asc phone_work
idx_leads_acct_del Performance Asc/Asc account_id + deleted
idx_leads_id_del Performance Asc/Asc id + deleted
idx_reports_to Performance Asc reports_to_id

Relationships