Search Results iem_kb_results
Overview
The IEM_KB_RESULTS table is a core data repository within the Oracle E-Business Suite (EBS) Email Center (IEM) module, specifically versions 12.1.1 and 12.2.2. It serves as the persistent store for knowledge base (KB) search results generated during the automated processing of inbound email messages. When an email arrives, the system can query configured knowledge bases—such as solutions, FAQs, or other informational categories—to find relevant content. This table systematically links the original email message to the specific KB articles or classifications identified as potential responses or relevant information, thereby facilitating automated or agent-assisted response generation and improving service efficiency.
Key Information Stored
The table's structure is designed to establish clear relationships between emails, accounts, and search outcomes. Its primary columns, as indicated by its constraints, are critical for data integrity and process flow. The KB_RESULT_ID serves as the unique primary key for each result record. The combination of MESSAGE_ID, EMAIL_ACCOUNT_ID, and KB_RESULT_ID forms a unique key, ensuring no duplicate result sets are stored for a given message from a specific account. The CLASSIFICATION_ID is a foreign key linking to the IEM_CLASSIFICATIONS table, storing the identifier for the specific knowledge base category or article matched during the search. The EMAIL_ACCOUNT_ID foreign key associates the result with the specific email account configuration in IEM_EMAIL_ACCOUNTS from which the message originated, which is essential for multi-account deployments.
Common Use Cases and Queries
This table is central to reporting on the effectiveness of knowledge-driven email automation and agent productivity. Common use cases include analyzing the frequency and types of KB matches to gauge knowledge coverage, auditing automated response suggestions, and generating metrics for email resolution rates tied to KB usage. A typical analytical query might join IEM_KB_RESULTS with message and classification tables to report on top-matched KB categories.
SELECT cl.classification_name, COUNT(*) AS match_count
FROM iem.iem_kb_results kr,
iem.iem_classifications cl
WHERE kr.classification_id = cl.classification_id
GROUP BY cl.classification_name
ORDER BY match_count DESC;
For operational support, queries often retrieve all KB results for a specific inbound email message to understand what automated solutions were proposed to an agent.
SELECT kr.kb_result_id, cl.classification_name
FROM iem.iem_kb_results kr,
iem.iem_classifications cl
WHERE kr.message_id = :p_message_id
AND kr.classification_id = cl.classification_id;
Related Objects
- IEM_CLASSIFICATIONS: A direct foreign key relationship (IEM_KB_RESULTS.CLASSIFICATION_ID) provides descriptive details about the matched knowledge base category or article.
- IEM_EMAIL_ACCOUNTS: A direct foreign key relationship (IEM_KB_RESULTS.EMAIL_ACCOUNT_ID) links the result to the configured email account, which is vital for context and security.
- IEM_MESSAGES / IEM_EMAIL_MESSAGES: While not explicitly listed in the provided metadata, the MESSAGE_ID column inherently references the core email message tables within the IEM schema to identify the source email.
- Primary Key: IEM_KB_RESULTS_PK (on KB_RESULT_ID).
- Unique Key: IEM_KB_RESULTS_UK (on MESSAGE_ID, EMAIL_ACCOUNT_ID, KB_RESULT_ID).
-
Table: IEM_KB_RESULTS
12.2.2
owner:IEM, object_type:TABLE, fnd_design_data:IEM.IEM_KB_RESULTS, object_name:IEM_KB_RESULTS, status:VALID, product: IEM - Email Center , description: Search results from various knowledge base categories per email message. , implementation_dba_data: IEM.IEM_KB_RESULTS ,
-
Table: IEM_KB_RESULTS
12.1.1
owner:IEM, object_type:TABLE, fnd_design_data:IEM.IEM_KB_RESULTS, object_name:IEM_KB_RESULTS, status:VALID, product: IEM - Email Center , description: Search results from various knowledge base categories per email message. , implementation_dba_data: IEM.IEM_KB_RESULTS ,
-
APPS.IEM_KNOWLEDGEBASE_PUB dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_SUGG_DOC_RANK_PVT dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_KB_RESULTS_PVT dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_KNOWLEDGEBASE_PUB dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_REROUTE_PUB dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_KB_RESULTS_PVT dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_KB_RESULTS
12.1.1
-
APPS.IEM_SUGG_DOC_RANK_PVT dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_REROUTE_PUB dependencies on IEM_KB_RESULTS
12.2.2
-
APPS.IEM_KNOWLEDGEBASE_PUB SQL Statements
12.1.1
-
APPS.IEM_KNOWLEDGEBASE_PUB SQL Statements
12.2.2
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_KB_RESULTS_PVT
12.1.1
-
SYNONYM: APPS.IEM_KB_RESULTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IEM_KB_RESULTS, status:VALID,
-
APPS.IEM_EMAIL_PROC_PVT dependencies on IEM_KB_RESULTS_PVT
12.2.2
-
VIEW: IEM.IEM_KB_RESULTS#
12.2.2
owner:IEM, object_type:VIEW, object_name:IEM_KB_RESULTS#, status:VALID,
-
SYNONYM: APPS.IEM_KB_RESULTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IEM_KB_RESULTS, status:VALID,
-
APPS.IEM_SUGG_DOC_RANK_PVT SQL Statements
12.2.2
-
VIEW: IEM.IEM_KB_RESULTS#
12.2.2
-
APPS.IEM_SUGG_DOC_RANK_PVT SQL Statements
12.1.1
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.1.1
-
APPS.IEM_KB_RESULTS_PVT dependencies on APP_EXCEPTION
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.IEM_KB_RESULTS_PVT SQL Statements
12.1.1
-
APPS.IEM_KB_RESULTS_PVT SQL Statements
12.2.2
-
APPS.IEM_KNOWLEDGEBASE_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
Table: IEM_CLASSIFICATIONS
12.1.1
owner:IEM, object_type:TABLE, fnd_design_data:IEM.IEM_CLASSIFICATIONS, object_name:IEM_CLASSIFICATIONS, status:VALID, product: IEM - Email Center , description: List of all classification names and corresponding email accounts. , implementation_dba_data: IEM.IEM_CLASSIFICATIONS ,
-
APPS.IEM_REROUTE_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.2.2
-
Table: IEM_EMAIL_ACCOUNTS
12.2.2
owner:IEM, object_type:TABLE, fnd_design_data:IEM.IEM_EMAIL_ACCOUNTS, object_name:IEM_EMAIL_ACCOUNTS, status:VALID, product: IEM - Email Center , description: List of all eMC email accounts. , implementation_dba_data: IEM.IEM_EMAIL_ACCOUNTS ,
-
APPS.IEM_REROUTE_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.1.1
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_MS_EXTHDRS
12.1.1
-
Table: IEM_EMAIL_ACCOUNTS
12.1.1
owner:IEM, object_type:TABLE, fnd_design_data:IEM.IEM_EMAIL_ACCOUNTS, object_name:IEM_EMAIL_ACCOUNTS, status:VALID, product: IEM - Email Center , description: List of all eMC email accounts. , implementation_dba_data: IEM.IEM_EMAIL_ACCOUNTS ,
-
APPS.IEM_KB_RESULTS_PVT dependencies on APP_EXCEPTION
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_COMP_RT_STATS
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_COMP_RT_STATS
12.1.1
-
APPS.IEM_REROUTE_PUB dependencies on IEM_RT_PREPROC_EMAILS_PVT
12.1.1
-
PACKAGE BODY: APPS.IEM_SUGG_DOC_RANK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_SUGG_DOC_RANK_PVT, status:VALID,
-
APPS.IEM_KB_RESULTS_PVT dependencies on FND_MESSAGE
12.1.1
-
APPS.IEM_KNOWLEDGEBASE_PUB dependencies on IEM_EMAIL_CLASSIFICATIONS
12.1.1
-
APPS.IEM_KB_RESULTS_PVT dependencies on FND_MESSAGE
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_MS_MSGPARTS
12.1.1
-
PACKAGE BODY: APPS.IEM_SUGG_DOC_RANK_PVT
12.2.2
-
APPS.IEM_MAILITEM_PUB dependencies on IEM_MS_EXTHDRS
12.2.2
-
PACKAGE BODY: APPS.IEM_KB_RESULTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IEM_KB_RESULTS_PVT, status:VALID,