OKC_XPRT_QUESTION_ORDERS

This entity stores the order of the questions to be displayed at runtime. This is an intersection entity between templates and questions.

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

OKC_XPRT_QUESTION_ORDERS_PK

QUESTION_ORDER_ID

Columns

Name Datatype Length Precision Not-null Comments
QUESTION_ORDER_ID NUMBER 18 Yes Sequence generated ID.
TEMPLATE_ID NUMBER 18 Template Id. FK to OKC_TERMS_TEMPLATES_ALL.
QUESTION_ID NUMBER 18 Yes Question Id. FK to OKC_XPRT_QUESTIONS_B.
SEQUENCE_NUM NUMBER The order in which questions on the template would be displayed when the user invokes contract expert during contract authoring
MANDATORY_FLAG VARCHAR2 1 To indicate if a question need to be mandatory on run time UI.
RESPONSE_REQUIRED VARCHAR2 1 Indicates if a reponse is required during runtime
QUESTION_RULE_STATUS VARCHAR2 30 Indicate the status of the rule in which the question is used. If the question is used in multiple rules, the highest status will shown. The status priority is: ACTIVE, DRAFT.
RUNTIME_AVAILABLE_FLAG VARCHAR2 1 Flag to indicate whether the question is available at runtime. This flag will be null or N when record is created. Updated to Y when a template is successfully published in Oracle Configurator. Questions Order read only regions will render the 'Shown in Runtime' from this field
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.
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.
PROGRAM_ID NUMBER 18 PROGRAM_ID
DISPLAY_NUMBER VARCHAR2 30 To indicate the display number of the question in the Runtime UI.
DEFAULT_VALUE CLOB This column stores question default value. A CLOB type is required to support Text Area and Multi Select types.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_XPRT_QUESTION_ORDERS okc_terms_templates_all TEMPLATE_ID
OKC_XPRT_QUESTION_ORDERS okc_xprt_questions_b QUESTION_ID

Indexes

Index Uniqueness Tablespace Columns
OKC_XPRT_QUESTION_ORDERS_N1 Non Unique Default TEMPLATE_ID, QUESTION_ID
OKC_XPRT_QUESTION_ORDERS_N2 Non Unique Default PROGRAM_ID, QUESTION_ID
OKC_XPRT_QUESTION_ORDERS_U1 Unique Default QUESTION_ORDER_ID