PSC_CE_CODEREF_HIST
Stores the history of changes for case code violation transactions.
Details
-
Schema: FUSION
-
Object owner: PSC_CE
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
PSC_CE_CODEREF_HIST_PK |
CODEREF_HISTORY_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| CODEREF_HISTORY_KEY | NUMBER | 18 | Yes | Unique key to identify a case code reference history record. | |
| CODEREF_HISTORY_PUID | VARCHAR2 | 480 | Yes | Indicates the public unique identifier of the case code reference history record. | |
| CODEREF_KEY | NUMBER | 18 | Yes | Unique key to identify a code reference. | |
| CODEREF_PUID | VARCHAR2 | 480 | Yes | Indicates the public unique key to identify a code reference. | |
| SRC_TRX_KEY | NUMBER | 18 | To indicate the source transaction key. | ||
| HISTORY_TYPE | VARCHAR2 | 15 | Yes | Indicates the type of the case code reference history record. | |
| HISTORY_TIMESTAMP | TIMESTAMP | Yes | Indicates that the creation timestamp of the case code reference history record. | ||
| ATTRIBUTE_NAME | VARCHAR2 | 30 | Yes | This column is to indicate the attribute that was modified. | |
| ATTRIBUTE_OLD_VALUE | VARCHAR2 | 1000 | This column is used to indicate the attribute old value at the time of modification. | ||
| ATTRIBUTE_NEW_VALUE | VARCHAR2 | 1000 | This column is used to indicate the attribute new value at the time of modification. | ||
| CHANGE_REASON_CODE | VARCHAR2 | 30 | Yes | Indicates that the reason code for the modifying the attribute. | |
| CHANGE_REASON_TEXT | VARCHAR2 | 1000 | Indicates that the reason for the modifying the attribute. | ||
| MIGRATED_DATA_FLAG | VARCHAR2 | 3 | Indicates in-flight or historical transaction for data migration. | ||
| 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. | |
| 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_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_CE_CODEREF_HIST_N1 | Non Unique | Default | CODEREF_KEY |
| PSC_CE_CODEREF_HIST_PK | Unique | Default | CODEREF_HISTORY_KEY |
| PSC_CE_CODEREF_HIST_U1 | Unique | Default | CODEREF_HISTORY_PUID |