PSC_COM_CC_ATTACHMENTS
Contains communication log attachments data.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_CC_ATTACHMENTS_PK |
DOCUMENT_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| DOCUMENT_KEY | NUMBER | 18 | Yes | System generated primary column | Active | |
| LOG_MESSAGE_ID | NUMBER | 18 | Yes | Message Identifier. Foreign Key to PSC_COM_CC_LOG_MESSAGES.MESSAGE_ID | Active | |
| ATTACHMENT_ID | NUMBER | 18 | Yes | Determines if the message was sent. | Active | |
| AGENCY_ID | NUMBER | 8 | This column is used to indicate agency id | Active | ||
| DOC_CATEGORY | VARCHAR2 | 30 | This column is used to store the document category information | |||
| DOC_SUBCATEGORY | VARCHAR2 | 30 | This column is used to store the document subcategory information | |||
| ATTACHMENT_TYPE | VARCHAR2 | 15 | This column is used to store the attachment type information | |||
| RECORD_FIRST_KEY_NAME | VARCHAR2 | 32 | First Key name of the record | |||
| RECORD_FIRST_KEY_VALUE | VARCHAR2 | 32 | First Key value of the record | |||
| RECORD_SECOND_KEY_NAME | VARCHAR2 | 32 | Second Key name of the record | |||
| RECORD_SECOND_KEY_VALUE | VARCHAR2 | 32 | Second Key value of the record | |||
| APPL_ATTACH_ID_XREF | NUMBER | 18 | This column is used to store the application attachment ID cross reference information | |||
| APPL_ATTACH_TYPE_XREF | VARCHAR2 | 15 | This column is used to store the application attachment type cross reference information | |||
| LOGMSG_ATTACH_ID_XREF | NUMBER | 18 | This field is used to store the original log message attachment ID cross reference information | |||
| LOGMSG_ATTACH_TYPE_XREF | VARCHAR2 | 15 | This field is used to store the original log message attachment type cross reference information | |||
| MSG_DELETE_FLG | VARCHAR2 | 1 | Indicates if the attachment is deleted or not | |||
| 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. | Active | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_COM_CC_ATTACHMENTS | psc_com_cc_log_messages | LOG_MESSAGE_ID |
| psc_com_cc_brf_attachment | psc_com_cc_attachments | ATTACHMENT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| PSC_COM_CC_ATTACHMENTS_FK1 | Non Unique | Default | LOG_MESSAGE_ID | |
| PSC_COM_CC_ATTACHMENTS_PK | Unique | Default | DOCUMENT_KEY | Active |