PSC_LNP_INS_RE_XREF
This table contains cross reference between permits inspection and reference entities.
Details
-
Schema: FUSION
-
Object owner: PSC_PER
-
Object type: TABLE
-
Tablespace: PSC_LNP_INS_RE_XREF
Primary Key
| Name | Columns |
|---|---|
|
PSC_LNP_INS_RE_XREF_PK |
LNP_INS_RE_XREF_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| LNP_INS_RE_XREF_KEY | NUMBER | 18 | Yes | This column is the unique identifier. This unique value is automatically generated. | |
| MIGRATED_DATA_FLAG | VARCHAR2 | 3 | This column indicates if the transaction is migrated data. | ||
| LNP_INS_RE_XREF_PUID | VARCHAR2 | 480 | Yes | Unique identifier of the inspection reference entity transaction record in the legacy system. | |
| INSP_GRID_ID | VARCHAR2 | 50 | This column is used to indicate inspection grid instance id. | ||
| INSTANCE_STRING_ID | VARCHAR2 | 1024 | This column is used to indicate inspection grid string id. | ||
| LNP_RECORD_KEY | NUMBER | 18 | Yes | This column is used to indicate permit record key. | |
| LNP_RECORD_ID | VARCHAR2 | 50 | This column is used to indicate permit record id. | ||
| INSPECTION_KEY | NUMBER | 18 | Yes | This column is used to indicate an inspection. | |
| INSPECTION_ID | VARCHAR2 | 50 | This column is used to indicate inspection id. | ||
| RE_RECORD_KEY | NUMBER | 18 | Yes | This column is used to indicate reference entity key. | |
| RE_RECORD_ID | VARCHAR2 | 50 | This column is used to indicate reference entity id. | ||
| RE_INSP_KEY | NUMBER | 18 | This column is used to indicate reference entity inspectable component unique key. | ||
| INSPECTION_RESULT | VARCHAR2 | 25 | This column is used to indicate inspection result. | ||
| 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_LNP_INS_RE_XREF | psc_lnp_record | LNP_RECORD_KEY |
| PSC_LNP_INS_RE_XREF | psc_ins_inspection | INSPECTION_KEY |
| PSC_LNP_INS_RE_XREF | psc_com_re_record | RE_RECORD_KEY |
| PSC_LNP_INS_RE_XREF | psc_com_re_insp | RE_INSP_KEY |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_LNP_INS_RE_XREF_FK | Unique | PSC_LNP_INS_RE_XREF_PK | LNP_RECORD_KEY, INSPECTION_KEY, RE_RECORD_KEY, RE_INSP_KEY |
| PSC_LNP_INS_RE_XREF_PK | Unique | PSC_LNP_INS_RE_XREF_PK | LNP_INS_RE_XREF_KEY |
| PSC_LNP_INS_RE_XREF_U1 | Unique | PSC_LNP_INS_RE_XREF_U1 | LNP_INS_RE_XREF_PUID |