Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | CHAR | 36 | null |
|
|
|||||||||||||||||||||||||||||||||||||
| name | VARCHAR | 255 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_entered | DATETIME | 26 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_modified | DATETIME | 26 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| modified_user_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| created_by | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| description | TEXT | 65535 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| deleted | BIT | 1 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||
| revenuelineitem_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| product_template_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| lock_duration | BIT | 1 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||
| account_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| contact_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| subtotal | DECIMAL | 26,6 | √ | 0.000000 |
|
|
||||||||||||||||||||||||||||||||||||
| total_amount | DECIMAL | 26,6 | √ | 0.000000 |
|
|
||||||||||||||||||||||||||||||||||||
| type_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| quote_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| manufacturer_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| category_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| mft_part_num | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| cost_price | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| discount_amount_signed | DECIMAL | 26,6 | √ | 0.000000 |
|
|
||||||||||||||||||||||||||||||||||||
| discount_price | DECIMAL | 26,6 | √ | 0.000000 |
|
|
||||||||||||||||||||||||||||||||||||
| discount_amount | DECIMAL | 26,6 | √ | 0.000000 |
|
|
||||||||||||||||||||||||||||||||||||
| discount_rate_percent | DECIMAL | 26,2 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| discount_amount_usdollar | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| discount_select | BIT | 1 | √ | 1 |
|
|
||||||||||||||||||||||||||||||||||||
| deal_calc | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| deal_calc_usdollar | 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 | √ |
|
|
|||||||||||||||||||||||||||||||||||||
| book_value_usdollar | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_closed | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_closed_timestamp | BIGINT UNSIGNED | 20 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| next_step | VARCHAR | 100 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| campaign_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| opportunity_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| parent_rli_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| add_on_to_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| sync_key | VARCHAR | 100 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| assigned_user_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| team_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| team_set_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| acl_team_set_id | CHAR | 36 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| asset_number | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| book_value | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| book_value_date | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_purchased | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_support_expires | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| date_support_starts | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| list_price | DECIMAL | 26,6 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| pricing_factor | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| pricing_formula | VARCHAR | 100 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| quantity | DECIMAL | 12,2 | √ | 1.00 |
|
|
||||||||||||||||||||||||||||||||||||
| serial_number | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| renewable | BIT | 1 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||
| service | BIT | 1 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||
| service_duration_value | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| service_duration_unit | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| catalog_service_duration_value | INT | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| catalog_service_duration_unit | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| service_duration_multiplier | DECIMAL | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| service_end_date | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| service_start_date | DATE | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| support_contact | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| support_description | VARCHAR | 255 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| support_name | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| support_term | VARCHAR | 100 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| tax_class | VARCHAR | 100 | √ | Taxable |
|
|
||||||||||||||||||||||||||||||||||||
| vendor_part_num | VARCHAR | 50 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| website | VARCHAR | 255 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| weight | DECIMAL | 12,2 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||
| renewal | BIT | 1 | √ | 0 |
|
|
||||||||||||||||||||||||||||||||||||
| currency_id | CHAR | 36 | √ | -99 |
|
|
||||||||||||||||||||||||||||||||||||
| base_rate | DECIMAL | 26,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| idx_del_p_rli_id | Performance | Asc/Asc | deleted + parent_rli_id |
| idx_prod_user_dc_timestamp | Performance | Asc/Asc/Asc | id + assigned_user_id + date_closed_timestamp |
| idx_product_account | Performance | Asc | account_id |
| idx_product_contact | Performance | Asc | contact_id |
| idx_product_del_created_by_pt_id | Performance | Asc/Asc/Asc | deleted + created_by + product_template_id |
| idx_product_opp | Performance | Asc | opportunity_id |
| idx_product_quantity | Performance | Asc | quantity |
| idx_product_quote | Performance | Asc | quote_id |
| idx_product_rli | Performance | Asc | revenuelineitem_id |
| idx_products_acl_tmst_id | Performance | Asc/Asc | acl_team_set_id + deleted |
| idx_products_assigned_del | Performance | Asc/Asc | assigned_user_id + deleted |
| idx_products_del_d_e | Performance | Asc/Asc/Asc | deleted + date_entered + id |
| idx_products_del_d_m | Performance | Asc/Asc/Asc | deleted + date_modified + id |
| idx_products_id_del | Performance | Asc/Asc | id + deleted |
| idx_products_name_del | Performance | Asc/Asc | name + deleted |
| idx_products_skey | Must be unique | Asc | sync_key |
| idx_products_tmst_id | Performance | Asc/Asc | team_set_id + deleted |

