| Table Name: | shp_sit_role |
| Table Number: | 5370 |
| Group: | Sales Mgr |
| Description: | Roles played by sites and contract ship_parts 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 | 1 | DIRECT | Indicates whether the role is currently being used; i.e., 0=inactive, 1=active, default=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., 52=a site's role, 315=a ship_part's role | ||||
| objid | LONG | int | 3 | DIRECT | Internal record number | |||
| role_name | CHAR | varchar | 80 | Name of the role |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
|---|---|---|---|---|---|---|---|
| shp_role2ship_parts | MTO | ship_parts | shpr2shp_sit_role | Ship_parts involved | |||
| shp_role2site | MTO | site | site2shp_sit_role | Site involved |
| Index Name | Fields | Flags |
|---|---|---|
| shpsit_role_ind | shp_role2ship_parts:shp_role2site:role_name | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| ind_shp_role2ship_parts | shp_role2ship_parts, shp_role2site | nonclustered located on PRIMARY |
| ind_shp_role2site | shp_role2site, shp_role2ship_parts | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| shpsit_role_ind | shp_role2ship_parts, shp_role2site, role_name | nonclustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|
| shp_sit_role | |||