SCH_REC_AI_CURATIONS
This table stores the processing outcome of the AI curated external recall documents. It indicates whether the document is successfully processed by AI or processed with errors and stores the error messages, if any.
Details
-
Schema: FUSION
-
Object owner: SCH
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
SCH_REC_AI_CURATIONS_PK |
AI_CURATION_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| AI_CURATION_ID | NUMBER | 18 | Yes | Unique identifier for the AI curated document request. | |
| METHOD_OF_INGESTION_CODE | VARCHAR2 | 30 | Yes | Method of receipt of the external recall document. e.g: Mailbox, UI | |
| FILE_NAME | VARCHAR2 | 255 | Yes | Name of the file curated using AI. | |
| EXT_SOURCE_HEADER_ID | NUMBER | 18 | Foreign key referencing SCH_REC_EXT_HEADER table. | ||
| HEADER_DATA_VALID_FLAG | VARCHAR2 | 1 | Indicates if header data was successfully validated (Y or N). | ||
| LINE_DATA_VALID_FLAG | VARCHAR2 | 1 | Indicates if line-level data was successfully validated (Y or N). | ||
| FILE_CONTENT_VALID_FLAG | VARCHAR2 | 1 | Indicates if the file content was valid (Y or N). | ||
| DOCUMENT_STATUS_CODE | VARCHAR2 | 50 | Status of document processed. | ||
| ERROR_MESSAGE_CODE | VARCHAR2 | 30 | Error message code captured during processing. | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
| JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. | ||
| MESSAGE_TOKENS | VARCHAR2 | 2000 | Values for the token(s) that are to be replaced in the error text. | ||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created 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 |
|---|---|---|
| SCH_REC_AI_CURATIONS | sch_rec_ext_headers | EXT_SOURCE_HEADER_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| SCH_REC_AI_CURATIONS_N1 | Non Unique | Default | FILE_NAME |
| SCH_REC_AI_CURATIONS_N2 | Non Unique | Default | ERROR_MESSAGE_CODE |
| SCH_REC_AI_CURATIONS_U1 | Unique | Default | AI_CURATION_ID |