| Table Name: | bus_prf_role |
| Table Number: | 5442 |
| Group: | Sales Mgr |
| Description: | Roles played by accounts and price factors 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., 400=a web_user's role, 5440=a payment mean'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 |
|---|---|---|---|---|---|---|---|
| bu_pf_role2bus_org | MTO | bus_org | bus_org2bus_prf_role | Account for the role | |||
| bu_pf_role2price_factor | MTO | price_factor | price_factor2bus_prf_role | Price_factor for the role |
| Index Name | Fields | Flags |
|---|---|---|
| bupf_ind | bu_pf_role2bus_org:bu_pf_role2price_factor:role_name | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| bupf_ind | bu_pf_role2bus_org, bu_pf_role2price_factor, role_name | nonclustered, unique located on PRIMARY |
| cpr2pm | bu_pf_role2price_factor | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|
| bus_prf_role | |||