product_templates


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id CHAR 36 null
forecast_worksheets.product_template_id Defined in XMLR
product_templates_audit.parent_id Defined in XMLR
products.product_template_id Defined in XMLR
purchased_line_items.product_template_id Defined in XMLR
purchases.product_template_id Defined in XMLR
revenue_line_items.product_template_id Defined in XMLR
tag_bean_rel.bean_id Defined in XMLR
commentlog_rel.record_id Defined in XMLR
locked_field_bean_rel.bean_id Defined in XMLR
activities_users.parent_id Defined in XMLR
product_templates_audit.parent_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
type_id CHAR 36 null
product_types.id Defined in XMLR
manufacturer_id CHAR 36 null
manufacturers.id Defined in XMLR
category_id CHAR 36 null
product_categories.id Defined in XMLR
mft_part_num VARCHAR 50 null
vendor_part_num VARCHAR 50 null
date_cost_price DATE 10 null
cost_price DECIMAL 26,6 null
discount_price DECIMAL 26,6 null
list_price DECIMAL 26,6 null
cost_usdollar DECIMAL 26,6 null
discount_usdollar DECIMAL 26,6 null
list_usdollar DECIMAL 26,6 null
status VARCHAR 100 null
tax_class VARCHAR 100 null
active_status VARCHAR 100 Active
date_available DATE 10 null
website VARCHAR 255 null
weight DECIMAL 12,2 null
qty_in_stock INT 10 null
support_name VARCHAR 50 null
support_description VARCHAR 255 null
support_contact VARCHAR 50 null
support_term VARCHAR 100 null
pricing_formula VARCHAR 100 null
pricing_factor DECIMAL 8,2 null
service_duration_value INT 10 null
service_duration_unit VARCHAR 50 null
renewable BIT 1 0
service BIT 1 0
lock_duration BIT 1 0
sync_key VARCHAR 100 null
assigned_user_id CHAR 36 null
users.id Defined in XMLR
currency_id CHAR 36 -99
currencies.id Defined in XMLR
base_rate DECIMAL 26,6 null
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

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
idx_id_name Performance Asc/Asc id + name
idx_product_templates_acl_tmst_id Performance Asc/Asc acl_team_set_id + deleted
idx_product_templates_assigned_del Performance Asc/Asc assigned_user_id + deleted
idx_product_templates_del_d_e Performance Asc/Asc/Asc deleted + date_entered + id
idx_product_templates_del_d_m Performance Asc/Asc/Asc deleted + date_modified + id
idx_product_templates_id_del Performance Asc/Asc id + deleted
idx_product_templates_name_del Performance Asc/Asc name + deleted
idx_product_templates_skey Must be unique Asc sync_key
idx_product_templates_tmst_id Performance Asc/Asc team_set_id + deleted
idx_producttemplate_category Performance Asc/Asc/Asc category_id + active_status + deleted
idx_producttemplate_qty_in_stock Performance Asc qty_in_stock

Relationships