PSC_INS_APP_INSP_DEP

This table contains inspection dependency information across permits and within inspection groups.

Details

  • Schema: FUSION

  • Object owner: PSC_PER

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

psc_ins_app_insp_dep_PK

INSPECTION_DEP_KEY

Columns

Name Datatype Length Precision Not-null Comments
INSPECTION_DEP_KEY NUMBER 18 Yes Unique identifier for inspection dependencies.
INSPECTION_DEP_PUID VARCHAR2 480 Yes This column is used to indicate the alternate key for CRM import.
PRIMARY_APPLICATION_KEY NUMBER 18 Yes This column is used to indicate the Primary Permit Key
APPLICATION_KEY NUMBER 18 Yes This column is used to indicate the Permit Key of the Inspection Type for which the dependency is defined
INSPECTION_TYPE VARCHAR2 15 Yes This column is used to indicate the Inspection Type for which the dependency is defined
DEP_APPLICATION_KEY NUMBER 18 Yes This column is used to indicate the Permit key of the dependent Inspection Type
DEP_INSPECTION_TYPE VARCHAR2 15 Yes This column is used to indicate the dependent Inspection Type
AGENCY_ID NUMBER 8 Yes This column is used to indicate the Agency Id
MIGRATED_DATA_FLAG VARCHAR2 1 This column is used to indicate the status of CRM Data Import 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.
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_INS_APP_INSP_DEP psc_lnp_record PRIMARY_APPLICATION_KEY
PSC_INS_APP_INSP_DEP psc_lnp_record APPLICATION_KEY
PSC_INS_APP_INSP_DEP psc_lnp_record DEP_APPLICATION_KEY

Indexes

Index Uniqueness Tablespace Columns
PSC_INS_APP_INSP_DEP_FK1 Non Unique Default PRIMARY_APPLICATION_KEY
PSC_INS_APP_INSP_DEP_FK2 Non Unique Default APPLICATION_KEY
PSC_INS_APP_INSP_DEP_FK3 Non Unique Default DEP_APPLICATION_KEY
PSC_INS_APP_INSP_DEP_UK1 Unique Default INSPECTION_DEP_PUID
PSC_INS_APP_INSP_DEP_UK2 Unique Default INSPECTION_TYPE, APPLICATION_KEY, DEP_INSPECTION_TYPE, DEP_APPLICATION_KEY, PRIMARY_APPLICATION_KEY
PSC_INS_APP_INSP_DEP_UK3 Unique Default INSPECTION_DEP_KEY