Search Results okc_xprt_question_orders
Overview
The OKC_XPRT_QUESTION_ORDERS table is a core data entity within the Oracle E-Business Suite Contracts Core (OKC) module, specifically for versions 12.1.1 and 12.2.2. It functions as an intersection or association table, establishing a many-to-many relationship between contract expert templates and the questions defined within them. Its primary role is to store the precise sequence in which questions must be presented to a user during the contract authoring or review process at runtime. By maintaining this order, it ensures the logical flow and integrity of the guided interview process powered by the Contract Expert feature, which automates the creation of contract terms based on user responses.
Key Information Stored
The table's central purpose is to link a template to its constituent questions while recording their display order. The documented primary key column, QUESTION_ORDER_ID, uniquely identifies each record in this intersection. While the full column list is not detailed in the provided metadata, the table's description implies the existence of at least two critical foreign key columns: one referencing the parent template (likely from a table like OKC_XPRT_TEMPLATES) and another referencing the specific question (likely from a table like OKC_XPRT_QUESTIONS). A dedicated column, such as DISPLAY_SEQUENCE or ORDER_NUMBER, would store the integer value dictating the question's position within the template's sequence. This structure allows a single question to be reused in multiple templates, each with a potentially different order.
Common Use Cases and Queries
The primary use case is the runtime generation of the Contract Expert questionnaire. When a user initiates an expert session, the application queries this table to fetch all questions for the selected template, ordered by the stored sequence. Administrators configuring templates also interact with this entity indirectly through the Oracle application interface. Common reporting queries include listing all questions for a specific template or identifying where a particular question is used. A sample SQL pattern to retrieve the ordered question list for a template would be:
- SELECT q.question_text, qo.display_sequence
- FROM okc_xprt_question_orders qo,
- okc_xprt_questions q
- WHERE qo.template_id = :p_template_id
- AND qo.question_id = q.question_id
- ORDER BY qo.display_sequence;
Related Objects
As an intersection entity, OKC_XPRT_QUESTION_ORDERS has defined foreign key relationships with the core template and question master tables. It is a child table to both. The documented primary key constraint, OKC_XPRT_QUESTION_ORDERS_PK, is defined on the QUESTION_ORDER_ID column. The table is directly referenced by the Contract Expert runtime engine and any custom reports or integrations that need to understand the template-question relationship. Key parent tables it joins to include:
- OKC_XPRT_TEMPLATES: Contains the master definition of Contract Expert templates. Joined via a foreign key column like TEMPLATE_ID.
- OKC_XPRT_QUESTIONS: Contains the master list of all possible questions. Joined via a foreign key column like QUESTION_ID.
-
Table: OKC_XPRT_QUESTION_ORDERS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_QUESTION_ORDERS, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID, product: OKC - Contracts Core , description: This entity stores the order of the questions to be displayed at runtime. This is an intersection entity between templates and questions. , implementation_dba_data: OKC.OKC_XPRT_QUESTION_ORDERS ,
-
Table: OKC_XPRT_QUESTION_ORDERS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_QUESTION_ORDERS, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID, product: OKC - Contracts Core , description: This entity stores the order of the questions to be displayed at runtime. This is an intersection entity between templates and questions. , implementation_dba_data: OKC.OKC_XPRT_QUESTION_ORDERS ,
-
APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.1.1
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_XPRT_IMPORT_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_TERMS_TMPL_APPROVAL_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_XPRT_RULES_ENGINE_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_QUESTION_ORDERS
12.2.2
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT SQL Statements
12.1.1
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT SQL Statements
12.2.2
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on FND_GLOBAL
12.1.1
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on FND_GLOBAL
12.2.2
-
SYNONYM: APPS.OKC_XPRT_QUESTION_ORDERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
APPS.OKC_XPRT_RULES_ENGINE_PVT dependencies on OKC_XPRT_TEMPLATE_RULES
12.2.2
-
VIEW: OKC.OKC_XPRT_QUESTION_ORDERS#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_XPRT_QUESTION_ORDERS#, status:VALID,
-
SYNONYM: APPS.OKC_XPRT_QUESTION_ORDERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
APPS.OKC_XPRT_RULES_ENGINE_PVT dependencies on OKC_XPRT_RULE_HDRS_ALL_V
12.2.2
-
APPS.OKC_XPRT_RULES_ENGINE_PVT dependencies on OKC_XPRT_RULE_OUTCOMES_ACT_V
12.2.2
-
APPS.OKC_XPRT_RULES_ENGINE_PVT dependencies on OKC_XPRT_DOC_QUES_RESPONSE
12.2.2
-
VIEW: OKC.OKC_XPRT_QUESTION_ORDERS#
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_TEMPLATE_RULES
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_OUTCOMES
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_OUTCOMES
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT SQL Statements
12.1.1
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on OKC_XPRT_TEMPLATE_RULES
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_TEMPLATE_RULES
12.1.1
-
APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT dependencies on OKC_XPRT_TEMPLATE_RULES
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_HDRS_ALL
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT SQL Statements
12.2.2
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_CONDITIONS
12.1.1
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_CONDITIONS
12.2.2
-
Table: OKC_XPRT_QUESTIONS_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_QUESTIONS_B, object_name:OKC_XPRT_QUESTIONS_B, status:VALID, product: OKC - Contracts Core , description: This entity stores the user questions, constants and expert variables. , implementation_dba_data: OKC.OKC_XPRT_QUESTIONS_B ,
-
APPS.OKC_XPRT_UTIL_PVT dependencies on OKC_XPRT_RULE_HDRS_ALL
12.2.2
-
Table: OKC_TERMS_TEMPLATES_ALL
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_TERMS_TEMPLATES_ALL, object_name:OKC_TERMS_TEMPLATES_ALL, status:VALID, product: OKC - Contracts Core , description: Master table for contract terms templates , implementation_dba_data: OKC.OKC_TERMS_TEMPLATES_ALL ,
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
APPS.OKC_TERMS_TMPL_APPROVAL_PVT dependencies on FND_GLOBAL
12.2.2
-
PACKAGE BODY: APPS.OKC_XPRT_RULES_ENGINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_RULES_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT
12.2.2
-
APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT dependencies on OKC_XPRT_QUESTIONS_B
12.2.2
-
PACKAGE BODY: APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_TMPL_RULE_ASSNS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_TMPL_RULE_ASSNS_PVT, status:VALID,
-
TABLE: OKC.OKC_XPRT_QUESTION_ORDERS
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_QUESTION_ORDERS, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_TMPL_APPROVAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_TMPL_APPROVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_IMPORT_TEMPLATE_PVT, status:VALID,
-
TABLE: OKC.OKC_XPRT_QUESTION_ORDERS
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_XPRT_QUESTION_ORDERS, object_name:OKC_XPRT_QUESTION_ORDERS, status:VALID,
-
APPS.OKC_XPRT_IMPORT_TEMPLATE_PVT dependencies on OKC_XPRT_QUESTIONS_B
12.1.1
-
PACKAGE BODY: APPS.OKC_XPRT_TMPL_RULE_ASSNS_PVT
12.1.1