SVC_CHATS
This table is used for storing Chat Objects. It is referenced by ChatMessages
Details
-
Schema: FUSION
-
Object owner: SVC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
SVC_CHATS_PK |
CHAT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CHAT_ID | NUMBER | 18 | Yes | Auto-generated number and primary key for this table | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| ACCOUNT_PARTY_ID | NUMBER | 18 | Foreign key that references HZ_PARTIES (PARTY_ID) which is the account associated with the CONTACT_PARTY_ID. | ||
| CONTACT_PARTY_ID | NUMBER | 18 | Foreign key that references HZ_PARTIES (PARTY_ID), the customer contact of this work request. | ||
| ASSIGNEE_RESOURCE_ID | NUMBER | 18 | Foreign key that references HZ_PARTIES (PARTY_ID), the agent (resource) | ||
| QUEUE_ID | NUMBER | 18 | The id of the queue that the work object has been assigned to | ||
| FIRST_NAME | VARCHAR2 | 150 | As entered by the customer in the Request Chat form | ||
| LAST_NAME | VARCHAR2 | 150 | As entered by the customer in the Request Chat form | ||
| VARCHAR2 | 320 | As entered by the customer in the Request Chat form | |||
| QUESTION | VARCHAR2 | 1000 | As entered by the customer in the Request Chat form | ||
| CATEGORY_ID | NUMBER | 18 | Foreign key that references SVC_SR_CATEGORIES (CATEGORY_ID). | ||
| INVENTORY_ITEM_ID | NUMBER | 18 | The inventory item that the chat is related to. | ||
| INVENTORY_ORG_ID | NUMBER | 18 | The organization of the inventory item that the chat is related to. | ||
| PROD_GROUP_ID | NUMBER | 18 | Foreign key that references QSC_PROD_GROUPS_B (PROD_GROUP_ID), the product group that the product belongs in. | ||
| INCIDENT_TYPE | VARCHAR2 | 100 | The incident type (received in the request engagement message) associated to the chat. | ||
| INCIDENT_NAME | VARCHAR2 | 100 | Number or name of the referenced Business Object for which the chat was created. | ||
| STATUS_CD | VARCHAR2 | 30 | Lookup code that indicates the status code of the chat, such as NEW, ACCEPTED, CANCELED, COMPLETED, TRANSFERRED, SUBMITTED, REQUEUED. | ||
| TIER_ONE_SESSION_ID | VARCHAR2 | 100 | Identifies the end user's session in application context | ||
| DELETED_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the interaction is logically deleted (Y or N). | |
| OSVC_CHAT_ID | NUMBER | 18 | Yes | OSvC (RightNow) chat Id from the Right Now Server. | |
| MERCURY_CONVERSATION_ID | VARCHAR2 | 255 | References conversation_alternate_id in table SVC_MC_CONVERSATION. | ||
| MERC_CONV_DONE_FLAG | VARCHAR2 | 1 | Indicates whether Mercury Conversation is done, Y or N, or null if there is no conversation. | ||
| END_USER_SESSION_ID | VARCHAR2 | 100 | This column stores the end user session ID in chat server. | ||
| CHAT_SOURCE | VARCHAR2 | 100 | The chat source, like "WCFS", "RW UI", "Facebook". | ||
| CHAT_DIRECTION_CD | VARCHAR2 | 30 | Indicates who initiated, "Inbound" for customer initiated, "Outbound" for agent initiated. | ||
| SUBSTATUS_CD | VARCHAR2 | 100 | Provides extra information of the current chat status. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| SVC_CHATS | hz_parties | ACCOUNT_PARTY_ID |
| SVC_CHATS | hz_parties | CONTACT_PARTY_ID |
| SVC_CHATS | hz_parties | ASSIGNEE_RESOURCE_ID |
| SVC_CHATS | svc_categories_b | CATEGORY_ID |
| SVC_CHATS | qsc_prod_groups_b | PROD_GROUP_ID |
| svc_chat_messages | svc_chats | CHAT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| SVC_CHATS_F1 | Non Unique | Default | ACCOUNT_PARTY_ID |
| SVC_CHATS_F2 | Non Unique | Default | CONTACT_PARTY_ID |
| SVC_CHATS_F3 | Non Unique | Default | ASSIGNEE_RESOURCE_ID |
| SVC_CHATS_F4 | Non Unique | Default | CATEGORY_ID |
| SVC_CHATS_F5 | Non Unique | Default | INVENTORY_ITEM_ID, INVENTORY_ORG_ID |
| SVC_CHATS_F6 | Non Unique | Default | PROD_GROUP_ID |
| SVC_CHATS_F7 | Non Unique | Default | OSVC_CHAT_ID |
| SVC_CHATS_N1 | Non Unique | Default | TO_CHAR("OSVC_CHAT_ID") |
| SVC_CHATS_N2 | Non Unique | Default | MERCURY_CONVERSATION_ID |
| SVC_CHATS_N3 | Non Unique | Default | END_USER_SESSION_ID |
| SVC_CHATS_PK | Unique | Default | CHAT_ID |
| SVC_CHATS_U1 | Unique | Default | TO_CHAR("CHAT_ID") |