Table a0b3ffa6.quotes Generated by
SchemaSpy
Legend: SourceForge.net
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
id char 36
calls.parent_id Defined in XML R
emails.parent_id Defined in XML R
meetings.parent_id Defined in XML R
notes.parent_id Defined in XML R
product_bundles.id Defined in XML R
products.quote_id Defined in XML R
revenue_line_items.quote_id Defined in XML R
tasks.parent_id Defined in XML R
projects_quotes.quote_id Defined in XML R
contracts_quotes.quote_id Defined in XML R
quotes_audit.parent_id Defined in XML R
quotes_opportunities.quote_id Defined in XML R
documents_quotes.quote_id Defined in XML R
activities_users.parent_id Defined in XML R
emails_beans.bean_id Defined in XML R
quotes_accounts.quote_id Defined in XML R
quotes_contacts.quote_id Defined in XML R
name varchar 50  √  null
date_entered datetime 19  √  null
date_modified datetime 19  √  null
modified_user_id char 36  √  null
users.id Defined in XML R
created_by char 36  √  null
users.id Defined in XML R
description text 65535  √  null
deleted bit 1  √  0
shipper_id char 36  √  null
shippers.id Defined in XML R
taxrate_id char 36  √  null
show_line_nums bit 1  √  1
calc_grand_total bit 1  √  1
quote_type varchar 255  √  null
date_quote_expected_closed date 10  √  null
original_po_date date 10  √  null
payment_terms varchar 128  √  null
date_quote_closed date 10  √  null
date_order_shipped date 10  √  null
order_stage varchar 100  √  null
quote_stage varchar 100  √  null
purchase_order_num varchar 50  √  null
quote_num int 11  √ 
subtotal decimal 26,6  √  null
subtotal_usdollar decimal 26,6  √  null
shipping decimal 26,6  √  null
shipping_usdollar decimal 26,6  √  null
discount decimal 26,6  √  null
deal_tot decimal 26,2  √  null
deal_tot_usdollar decimal 26,2  √  null
new_sub decimal 26,6  √  null
new_sub_usdollar decimal 26,6  √  null
tax decimal 26,6  √  null
tax_usdollar decimal 26,6  √  null
total decimal 26,6  √  null
total_usdollar decimal 26,6  √  null
billing_address_street varchar 150  √  null
billing_address_city varchar 100  √  null
billing_address_state varchar 100  √  null
billing_address_postalcode varchar 20  √  null
billing_address_country varchar 100  √  null
shipping_address_street varchar 150  √  null
shipping_address_city varchar 100  √  null
shipping_address_state varchar 100  √  null
shipping_address_postalcode varchar 20  √  null
shipping_address_country varchar 100  √  null
system_id int 11  √  null
assigned_user_id char 36  √  null
users.id Defined in XML R
team_id char 36  √  null
teams.id Defined in XML R
team_set_id char 36  √  null
team_sets_teams.team_set_id Defined in XML R
team_sets.id Defined in XML R
currency_id char 36  √  -99
currencies.id Defined in XML R
base_rate decimal 26,6  √  null

Analyzed at Wed Feb 15 10:38 UTC 2017

Indexes:
Column(s) Type Sort Constraint Name
id Primary key Asc PRIMARY
name Performance Asc idx_qte_name
date_quote_expected_closed Performance Asc idx_quote_date_quote_expected_closed
quote_stage Performance Asc idx_quote_quote_stage
deleted + assigned_user_id Performance Asc/Asc idx_quotes_assigned_del
date_entered Performance Asc idx_quotes_date_entered
date_modified Performance Asc idx_quotes_date_modfied
id + deleted Performance Asc/Asc idx_quotes_id_del
name + deleted Performance Asc/Asc idx_quotes_name_del
team_set_id Performance Asc idx_quotes_tmst_id
quote_num + system_id Must be unique Asc/Asc quote_num

Close relationships  within of separation: