| Table Name: | con_lsc_role |
| Table Number: | 5315 |
| Group: | Sales Mgr |
| Description: | Roles played by contacts and lead sources for each other |
| Flags: | |
| Baseline/Custom: | Baseline |
| Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
|---|---|---|---|---|---|---|---|---|
| active | LONG | tinyint | 1 | DIRECT | Indicates whether the role is currently being used; i.e., 0=inactive, 1=active, default=1 | Search (1) | ||
| dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
| focus_type | LONG | smallint | DIRECT | Object type ID of the role player; i.e., 5017=a lead source's role for the contact, 45=a contact's role for the lead source | Search (1) | |||
| objid | LONG | int | 3 | DIRECT | Internal record number | Search (1) | ||
| role_name | CHAR | varchar | 80 | Name of the role | Search (1) |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
|---|---|---|---|---|---|---|---|
| con_lsc2contact | MTO | contact | contact2con_lsc_role | Related contact | Search (1) | ||
| con_lsc2lead_source | MTO | lead_source | source2con_lsc_role | Related lead source | Search (1) |
| Index Name | Fields | Flags |
|---|---|---|
| conlsc_role_ind | role_name:con_lsc2contact:con_lsc2lead_source | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| conlsc_role_ind | role_name, con_lsc2contact, con_lsc2lead_source | nonclustered, unique located on PRIMARY |
| ind_con_lsc2contact | con_lsc2contact, con_lsc2lead_source, role_name | nonclustered located on PRIMARY |
| ind_con_lsc2lead_source | con_lsc2lead_source, con_lsc2contact, role_name | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|---|---|
| 5323 | con_lsc_view | con_lsc_role, contact, lead_source |
| con_lsc_role | |||