OKC_PURGE_LISTS

Purge List entity for the contract.

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

OKC_PURGE_LISTS_PK

BATCH_ID, CONTRACT_ID

Columns

Name Datatype Length Precision Not-null Comments
BATCH_ID NUMBER 18 Yes Purge Batch Id
CONTRACT_ID NUMBER 18 Yes the contract Id
MAJOR_VERSION NUMBER 18 Major Version Number of the Contract until data were purged. Is Null when Batch is Open. Populated during processing
STS_CODE VARCHAR2 30 Yes Status of the contract purging for e.g., Entered, Purged, Deleted, Error, Cancelled, etc Based on ORA_OKC_PURGE_DOC_STATUS lookup
PROCESSED_DATE TIMESTAMP Indicates the date and time of the contract processing completed
ERROR_CODE VARCHAR2 30 Error Code (Null if success)
ERROR_MESSAGE VARCHAR2 300 Error Message (Null if success)
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.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_PURGE_LISTS okc_k_headers_all_b CONTRACT_ID, MAJOR_VERSION

Indexes

Index Uniqueness Tablespace Columns
OKC_PURGE_LISTS_N1 Non Unique FUSION_TS_TX_IDX CONTRACT_ID, MAJOR_VERSION
OKC_PURGE_LISTS_U1 Unique FUSION_TS_TX_IDX BATCH_ID, CONTRACT_ID