OKC_K_KEY_TERMS
This table captures the extracted key terms for a contract.
Details
-
Schema: FUSION
-
Object owner: OKC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
OKC_K_KEY_TERMS_PK |
ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ID | NUMBER | 18 | Yes | Unique identifier of the extracted key term. | |
DNZ_CHR_ID | NUMBER | 18 | Yes | Reference to the unique identifier of the contract header. | |
MAJOR_VERSION | NUMBER | 18 | Yes | Reference to the contract major version. | |
KEY_TERM_EXTRACT_ID | NUMBER | 18 | Yes | Reference to the key term extraction. | |
KEY_TERMS_CODE | VARCHAR2 | 80 | Yes | Reference to the unique identifier of the key term code. | |
RAW_VALUE | VARCHAR2 | 4000 | Key term value returned by the LLM. | ||
UPDATED_VALUE | VARCHAR2 | 4000 | Updated key term value by the publisher. | ||
UPDATED_VALUE_NUMBER | NUMBER | 18 | If the updated value is number it is stored in this field. | ||
UPDATED_VALUE_DATE | TIMESTAMP | If the updated value is date it is stored in this field. | |||
MEASURE | VARCHAR2 | 30 | Stores the Unit Of Measure of the UPDATED_VALUE_NUMBER. | ||
PROMPT_ID | NUMBER | 18 | Yes | Reference to the unique identifier of the prompt. | |
SOURCE_FROM_ID | NUMBER | 18 | Stores the ID of OKC_K_KEY_TERMS from where it is being referenced. This is FK to self OKC_K_KEY_TERMS. If its value is null, its from same version. | ||
CLASSIFICATION_CODE | VARCHAR2 | 150 | Classification type of the key terms. Stores lookup code which is based on lookup type ORA_OKC_KEY_TERMS_CLASSIFY_CODE. | ||
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_K_KEY_TERMS | okc_k_headers_all_b | DNZ_CHR_ID, MAJOR_VERSION |
OKC_K_KEY_TERMS | okc_key_terms | KEY_TERMS_CODE |
OKC_K_KEY_TERMS | okc_k_key_term_extracts | KEY_TERM_EXTRACT_ID |
okc_k_key_terms_citations | okc_k_key_terms | CONTRACT_KEY_TERM_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
OKC_K_KEY_TERMS_N1 | Non Unique | Default | DNZ_CHR_ID, MAJOR_VERSION |
OKC_K_KEY_TERMS_N3 | Non Unique | Default | KEY_TERMS_CODE |
OKC_K_KEY_TERMS_PK | Unique | Default | ID |