PSC_CE_INC_STATUS_HIST

It contains code enforcement incident status change history

Details

  • Schema: FUSION

  • Object owner: PSC_CE

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

PSC_CE_INC_STATUS_HIST_PK

STATUS_HIST_KEY

Columns

Name Datatype Length Precision Not-null Comments
STATUS_HIST_KEY NUMBER 18 Yes Unique identifier for the subject code transaction.
STATUS_HIST_PUID VARCHAR2 480 Yes Status History PUID
TRANSACTION_KEY NUMBER 18 Yes Indicates the meaningful key identifier for the transaction.
TRANSACTION_ID VARCHAR2 50 Yes Indicates the meaningful id identifier for the transaction.
INCIDENT_PUID VARCHAR2 480 Yes Incident's PUID
STATUS_COUNT NUMBER 3 Yes Sequence use to identify status change number
TRANSACTION_TYPE VARCHAR2 30 Yes Indicates the transaction type relating to the status change.
CHANGE_DATE TIMESTAMP Yes Unique date-timestamp when the status change was made.
ATTRIBUTE_CHANGED VARCHAR2 30 Indicates the column name that is being changed.
REL_ATTRIBUTE_CHANGED VARCHAR2 30 Indicates the related column name that is being changed.
REL_NEW_VALUE VARCHAR2 100 Indicates the new value for the related column name being changed.
REASON VARCHAR2 1000 Indicates the reason for the status change.
AGENCY_ID NUMBER 18 Indicates the meaningful identifier for the AGENCY.
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.
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.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
MIGRATED_DATA_FLAG VARCHAR2 3 Indicates in-flight or historical transaction for data migration

Foreign Keys

Table Foreign Table Foreign Key Column
PSC_CE_INC_STATUS_HIST psc_ce_incident TRANSACTION_KEY

Indexes

Index Uniqueness Tablespace Columns
PSC_CE_INC_STATUS_HIST_N1 Non Unique Default STATUS_HIST_KEY, STATUS_COUNT
PSC_CE_INC_STATUS_HIST_PK Unique Default STATUS_HIST_KEY
PSC_CE_INC_STATUS_HIST_U1 Unique Default STATUS_HIST_PUID