| Table Name: | rsrc |
| Table Number: | 5380 |
| Group: | Resource Mgr |
| Description: | Represents availability of a resource, either queue or user, for assignment of routing requests |
| Flags: | |
| Baseline/Custom: | Baseline |
| Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
|---|---|---|---|---|---|---|---|---|
| dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
| focus_lowid | LONG | int | DIRECT, ALLOW_NULL | Internal record number of the resource | Search (2) | |||
| focus_type | LONG | smallint | DIRECT, ALLOW_NULL | Type ID of the resource; i.e., 4=queue, 20=user | Search (2) | |||
| last_update | CLK_TIME | datetime | CHANGE_DATE | Date and time of last update to the rscr_state field | ||||
| objid | LONG | int | 3 | DIRECT | Internal record number | Search (3) | ||
| rsrc_state | LONG | smallint | 0 | DIRECT, CHANGE_FIELD | State of the resource; i.e., 0=free; 1=busy, default=0. Used by routing server |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views | Set Name | Type ID Stored in | Objid Stored In |
|---|---|---|---|---|---|---|---|---|---|---|
| Exclusive Set Relations | ||||||||||
| rsrc2queue | OTOP | queue | queue2rsrc | For a resource that represents a queue, the queue | route_to | focus_type | focus_lowid | |||
| rsrc2r_rqst | OTM | r_rqst | r_rqst2rsrc | Routing request routed to the resource | ||||||
| rsrc2rsc_rqt_scr | OTM | rsc_rqt_scr | rsc_rqt_scr2rsrc | The scoring of the resource for a request | ||||||
| rsrc2rsrc_skill | OTM | rsrc_skill | rsrc_skill2rsrc | The skills assigned to the resource | ||||||
| rsrc2user | OTOP | user | user2rsrc | For a resource that represents a user, the user | Search (1) | route_to | focus_type | focus_lowid | ||
| Index Name | Fields | Flags |
|---|---|---|
| rsrc_ind | focus_type:focus_lowid | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| ft5380 | focus_type, focus_lowid | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| rsrc_ind | focus_type, focus_lowid | nonclustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|---|---|
| 5384 | v_rsrc_skill | rsrc, rsrc_skill, skill |
| 5394 | v_rscrqtscr | r_rqst, rsc_rqt_scr, rsrc |
| 5395 | rs_lst | contact, r_rqst, rsrc, user |
| rsrc | |||