SVC_CHAT_SESSIONS

This table is used to store mappings between agent ACCOUNT_PARTY_IDs and their corresponding Chat service session CLIENT_ID(s).

Details

  • Schema: FUSION

  • Object owner: FUSION

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_CHAT_SESSIONS_PK

CHAT_SESSION_ID

Columns

Name Datatype Length Precision Not-null Comments
CHAT_SESSION_ID NUMBER 18 Yes Auto-generated number and primary key for this table.
AGENT_PARTY_ID NUMBER 18 Yes Foreign key that references HZ_PARTIES (PARTY_ID), the agent account associated with this Chat service session.
AGENT_CLIENT_ID NUMBER 18 Client id associated with Chat service session of the agent.
STATUS_CD VARCHAR2 30 Yes Lookup code that indicates the status code of the agent's chat service session, such as PENDING, LOGGEDIN, AVAILABLE, UNAVAILABLE, LOST, DISCONNECTED.
DELETED_FLAG VARCHAR2 1 Yes Indicates whether the chat service session record is logically deleted (Y or N).
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.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_CHAT_SESSIONS hz_parties AGENT_PARTY_ID
svc_chat_pending_uwos svc_chat_sessions CHAT_SESSION_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_CHAT_SESSIONS_F1 Unique Default AGENT_PARTY_ID
SVC_CHAT_SESSIONS_PK Unique Default CHAT_SESSION_ID