OKC_K_STATUS_HISTORY_B

History entity for the contract.

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

OKC_K_STATUS_HISTORY_B_PK

ID

Columns

Name Datatype Length Precision Not-null Comments
ID NUMBER 18 Yes Primary key, unique identifier of the contract history record.
CONTRACT_ID NUMBER 18 Yes Primary key, unique identifier of the contract.
MAJOR_VERSION NUMBER 18 Yes Major Version Number of the Contract.
STS_CODE VARCHAR2 30 Yes User status of the contract for e.g., Entered, Cancelled, Active, Terminated, Signed, Expired etc. Each user status corresponds to a status type.
USER_STATUS_CODE VARCHAR2 30 Customer defined code from OKC_USER_STATUSES_B table.
ASSIGNEE_ID NUMBER 18 Current assignee of a contract
ASSIGNEE_TYPE VARCHAR2 30 Assignee type of the assignee
HISTORY_CREATION_DATE DATE Yes Date history was created.
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.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
PROGRAM_NAME VARCHAR2 30 Identifies the concurrent program.
PROGRAM_APP_NAME VARCHAR2 50 Identifies the Application name spawning the Concurrent Request.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_K_STATUS_HISTORY_B okc_k_headers_all_b CONTRACT_ID, MAJOR_VERSION
okc_k_status_history_tl_h okc_k_status_history_b K_HIST_ID
okc_k_status_history_tl okc_k_status_history_b K_HIST_ID

Indexes

Index Uniqueness Tablespace Columns
OKC_K_STATUS_HISTORY_B_N1 Non Unique FUSION_TS_TX_IDX CONTRACT_ID, MAJOR_VERSION
OKC_K_STATUS_HISTORY_B_U1 Unique FUSION_TS_TX_IDX ID