| Table Name: | usr_opp_role |
| Table Number: | 5218 |
| Group: | Sales Mgr |
| Description: | Gives roles which opportunities and users play for one another |
| 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 | DIRECT | Indicates whether the role is active; i.e., 0=inactive, 1=active | ||||
| comments | CHAR | varchar | 255 | Comments about the role | ||||
| 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., 20=a user's role, 5000=an opportunity's role | ||||
| 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 |
|---|---|---|---|---|---|---|---|
| usr_role2opportunity | MTO | opportunity | opp2usr_opp_role | The related opportunity | Search (1) | ||
| opp_role2user | MTO | user | user2usr_opp_role | The related user | Search (1) |
| Index Name | Fields | Flags |
|---|---|---|
| usropp_role_ind | usr_role2opportunity:opp_role2user:role_name | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| ind_opp_role2user | opp_role2user, usr_role2opportunity, role_name | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| usropp_role_ind | usr_role2opportunity, opp_role2user, role_name | nonclustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|---|---|
| 5350 | sfa_opp_tm | contact, employee, opportunity, user, usr_opp_role |
| usr_opp_role | |||