HNS_INCIDENT_WITNESSES_

HNS INCIDENT WITNESSES. This table stores witness information related to an incident event.

Details

  • Schema: FUSION

  • Object owner: HNS

  • Object type: TABLE

  • Tablespace: TRANSACTION_TABLES

Primary Key

Name Columns

HNS_INCIDENT_WITNESSES_PK_

LAST_UPDATE_DATE, LAST_UPDATED_BY, WITNESS_ID

Columns

Name Datatype Length Precision Not-null Comments
WITNESS_ID NUMBER 18 Yes Unique Witness Identifier.Primary key for HNS_INCIDENT_WITNESSES table.
INCIDENT_DETAIL_ID NUMBER 18 Incident Detail identifier. Foreign key for HNS_INCIDENTS_DETAIL table.
EMPLOYEE_ID NUMBER EMPLOYEE_ID column : Employee ID if witness is an employee.
EMPLOYEE_ASSIGN_ID NUMBER 18 EMPLOYEE_ASSIGN_ID column : Assignment ID if witness is an employee.
WITNESS_PER_TYPE_CODE VARCHAR2 30 EMP/NON EMP lookup. To check whether the witness is an employee or not.
WITNESS_TYPE_CODE VARCHAR2 30 Unique Witness type id. Foreign key for WITNESS_TYPE_ID
WITNESS_NAME VARCHAR2 200 Witness Name (for both Employee and Non Employee)
WITNESS_EMAIL VARCHAR2 250 Witness email id when employee is an non employee.
WITNESS_COUNTRY_CODE_NUM VARCHAR2 30 WITNESS_COUNTRY_CODE_NUM : Witness phoney country code number.
WITNESS_AREA_CODE VARCHAR2 30 WITNESS_AREA_CODE column : Witness phone area code number.
WITNESS_PHONE VARCHAR2 18 Witness phone number. This is for non employee only.
DELETED_FLAG VARCHAR2 1 Deleted flag.This column signifies whether the incident witness is checked for deletion.
CREATED_BY VARCHAR2 64 Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Who column: indicates the date and time of the creation of 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.
OBJECT_VERSION_NUMBER NUMBER 9 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.
AUDIT_ACTION_TYPE_ VARCHAR2 10 Action Type - have values like INSERT, UPDATE and DELETE.
AUDIT_CHANGE_BIT_MAP_ VARCHAR2 1000 Used to store a bit map of 1s and 0s for each column in the table.
AUDIT_IMPERSONATOR_ VARCHAR2 64 Original Impersonator User.

Indexes

Index Uniqueness Tablespace Columns
HNS_INCIDENT_WITNESSES_UK1_ Unique FUSION_TS_TX_DATA LAST_UPDATE_DATE, LAST_UPDATED_BY, WITNESS_ID
HNS_INCI_WITNESSN1_ Non Unique Default WITNESS_ID, LAST_UPDATE_DATE