Table Name: | emp_ter_role |
Table Number: | 5076 |
Group: | Sales Mgr |
Description: | Roles played by employees and territories for one another. Reserved; obsolete-replaced by usr_ter_role (5219) |
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., 44=an employee's role for a territory, 5002=a territory's role for an employee | ||||
objid | LONG | int | 3 | DIRECT | Internal record number | Search (1) | ||
role_name | CHAR | varchar | 80 | Name of the role | Search (1) |
Index Name | Fields | Flags |
---|---|---|
empter_role_ind | role_name:emp_ter_role2territory:emp_ter_role2employee | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
empter_role_ind | role_name, emp_ter_role2territory, emp_ter_role2employee | nonclustered, unique located on PRIMARY |
ind_emp_ter_role2employee | emp_ter_role2employee, emp_ter_role2territory, role_name | nonclustered located on PRIMARY |
ind_emp_ter_role2territory | emp_ter_role2territory, emp_ter_role2employee, role_name | nonclustered located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|---|---|
5092 | terr_empl_view | emp_ter_role, employee, territory, user |
emp_ter_role | |||