PSC_CE_CODEREF_B

Stores the code references related to violations.

Details

  • Schema: FUSION

  • Object owner: PSC_CE

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

PSC_CE_CODEREF_B_PK

AGENCY_ID, CODE_REF_CODE

Columns

Name Datatype Length Precision Not-null Comments
AGENCY_ID NUMBER 8 Yes This column is used to indicate agency id.
CODE_REF_CODE VARCHAR2 100 Yes Unique key to identify a code reference.
CORRECTIVE_ACTION_CODE VARCHAR2 100 Yes Key to identify a corrective action code associated with the code reference.
ENABLED_FLAG VARCHAR2 1 Yes Indicates whether the code reference is enabled.
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.
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data.
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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
psc_ce_coderefgrpcode psc_ce_coderef_b AGENCY_ID, CODE_REF_CODE
psc_ce_coderef_tl psc_ce_coderef_b AGENCY_ID, CODE_REF_CODE

Indexes

Index Uniqueness Tablespace Columns
PSC_CE_CODEREF_B_PK Unique Default AGENCY_ID, CODE_REF_CODE