OKC_XPRT_QUESTION_CONDITIONS

This table stores all the conditions of the QUESTIONs. This is a child entity of QUESTION header entity.

Details

  • Schema: FUSION

  • Object owner: OKC

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

OKC_XPRT_QUEST_CONDITIONS_PK

QUESTION_CONDITION_ID

Columns

Name Datatype Length Precision Not-null Comments
QUESTION_CONDITION_ID NUMBER 18 Yes Sequence generated ID.
QUESTION_ID NUMBER 18 Yes Question Id. FK to OKC_XPRT_QUESTIONS_B
OBJECT_TYPE VARCHAR2 30 Yes Indicates if condition type is a variable or question. FK to FND lookup OKC_XPRT_COND_OBJECT_TYPE
OBJECT_CODE VARCHAR2 40 This is used where the condition types are variables or questoins.. The code identifies the actual variable or the question used in the condition.
OBJECT_CODE_DATATYPE VARCHAR2 1 Indicates the datatype for the object_code. For Clause this is NULL. Used values are 'N': Numeric variable or Numeric Question, 'V': Character variable, 'L': Character Question, 'B': Boolean (Yes/No) quesion.
OPERATOR VARCHAR2 30 Yes Condition operator for Numeric variables and Questions: <=, >=, <>, = , >, <. For Character type variables and questions: IS, IS NOT, IN, NOT IN.
OBJECT_VALUE_SET_NAME VARCHAR2 60 FND value set name of Variables / Questions for the RHS of condition.
OBJECT_VALUE_TYPE VARCHAR2 30 Yes Indicates if the RHS of condition is CLAUSE, VARIABLE, QUESTION, CONSTANT, VALUE. FK to FND lookup OKC_XPRT_COND_VALUE_TYPE.
OBJECT_VALUE_CODE VARCHAR2 1000 Variable's value Id or Variable code or Clause Id or Constant Id or Question Id. This will be populated only if the condition has one value.
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.

Foreign Keys

Table Foreign Table Foreign Key Column
OKC_XPRT_QUESTION_CONDITIONS okc_xprt_questions_b QUESTION_ID
okc_xprt_question_cond_vals okc_xprt_question_conditions QUESTION_CONDITION_ID

Indexes

Index Uniqueness Tablespace Columns
OKC_XPRT_QTN_CONDITIONS_N1 Non Unique Default QUESTION_ID
OKC_XPRT_QTN_CONDITIONS_N2 Non Unique Default OBJECT_TYPE, OBJECT_CODE
OKC_XPRT_QTN_CONDITIONS_N3 Non Unique Default OBJECT_VALUE_TYPE, OBJECT_VALUE_CODE
OKC_XPRT_QUEST_CONDITIONS_U1 Unique Default QUESTION_CONDITION_ID