Table Name: | usr_ter_role |
Table Number: | 5219 |
Group: | Sales Mgr |
Description: | Roles played by users and territories 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 | smallint | DIRECT | Indicates whether the role is currently being used; i.e., 0=inactive, 1=active | ||||
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 for a territory, 5002=a territory's role for a user | ||||
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 |
---|---|---|---|---|---|---|---|
owner2frcst_itm | OTM | frcst_itm | itm_owner2usr_ter_role | Items forecasted by the usr in the territory role. Reserved | |||
owner2frcst_target | OTM | frcst_target | trgt_owner2usr_ter_role | Quota for the user in the territory role. Reserved | |||
user_role2territory | MTO | territory | terr2usr_ter_role | Related sales territory | Search (1) | ||
usr_ter_role2user | MTO | user | user2usr_ter_role | Related user | Search (1) |
Index Name | Fields | Flags |
---|---|---|
usrter_role_ind | user_role2territory:usr_ter_role2user:role_name | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
ind_usr_ter_role2user | usr_ter_role2user, user_role2territory, role_name | nonclustered located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
usrter_role_ind | user_role2territory, usr_ter_role2user, role_name | nonclustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|---|---|
5349 | sfa_terr_tm | contact, employee, territory, user, usr_ter_role |
usr_ter_role | |||