| Table Name: | tsk_stg_role |
| Table Number: | 5032 |
| Group: | Task_Mgr |
| Description: | Roles played by tasks and life cycle stages 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., 5013=stage's role, 5014=an task's role | ||||
| objid | LONG | int | 3 | DIRECT | Internal record number | |||
| role_name | CHAR | varchar | 80 | Name of the role | ||||
| role_type | LONG | smallint | DIRECT | Type of role for the stage; to be defined |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
|---|---|---|---|---|---|---|---|
| role2cycle_stage | MTO | cycle_stage | stage2tsk_stg_role | The related life cycle stage | |||
| role2stage_task | MTO | stage_task | task2tsk_stg_role | The related task |
| Index Name | Fields | Flags |
|---|---|---|
| tsk_stg_role_ind | role_name:role_type:role2cycle_stage:role2stage_task | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| objindex | objid | clustered, unique located on PRIMARY |
| tsk_stg_role_ind | role_name, role_type, role2cycle_stage, role2stage_task | nonclustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|
| tsk_stg_role | |||