QP_DYN_RULE_EXPR_NODES

Table that contains the details about expression nodes that constitute a fragment such as type, usage, sequence number, template, data type, effectivity dates, etc.

Details

  • Schema: FUSION

  • Object owner: QP

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

QP_DYN_RULE_EXPR_NODES_PK

EXPR_NODE_ID

Columns

Name Datatype Length Precision Not-null Comments
EXPR_NODE_ID NUMBER 18 Yes Value that uniquely identifies the expression node. Oracle Fusion Pricing automatically assigns this value.
CLIENT_TAG VARCHAR2 200 Indicates any user supplied additional information about an expression node, e.g. 'CONDITION_GROUP'.
RULE_FRAGMENT_ID NUMBER 18 Yes Value that uniquely identifies the dynamic pricing rule fragment. Oracle Fusion Pricing automatically assigns this value.
RULE_ID NUMBER 18 Yes Value that uniquely identifies the dynamic pricing rule. Oracle Fusion Pricing automatically assigns this value.
PARENT_EXPR_NODE_ID NUMBER 18 Value that uniquely identifies the parent expression node.
EXPR_TYPE_CODE VARCHAR2 30 Yes Abbreviation that indicates the type of expression node. Valid values include OPERATOR, LITERAL, VARIABLE_FUNCTION, ARRAY, MAP, CONDITION_STATEMENT, CONDITION, STATEMENT_BLOCK, FUNCTION, LOGICAL_GROUP. A list of accepted values is defined in the lookup type ORA_EXPR_TYPE_CODE.
EXPR_USAGE VARCHAR2 30 Abbreviation that indicates the usage of a given expression node in context of its parent node. This is used during the rule script generation to accurately generate the conditions and the expressions in the script.
SEQ_NUM NUMBER 9 Yes Indicates the sequence number of the expression node under a parent node. Expression nodes will be evaluated in the order of the sequence number under a parent node.
TEMPLATE_CODE VARCHAR2 30 Abbreviation that indicates the template which provides information to interpret and evaluate certain expression types.
DATA_TYPE_CODE VARCHAR2 30 Abbreviation that indicates the data type of the expression node. Valid values include NUMBER, STRING, BOOLEAN, DATE, AMOUNT_TYPE, MEASURE_TYPE. A list of accepted values is defined in the lookup type ORA_DATA_TYPE_CODE.
VALUE_STRING VARCHAR2 4000 Indicates the String value of the expression node.
VALUE_NUMBER NUMBER Indicates the Number value of the expression node.
VALUE_DATE DATE Indicates the Date value of the expression node.
VALUE_TIMESTAMP TIMESTAMP Indicates the Timestamp value of the expression node.
VALUE_BOOLEAN VARCHAR2 1 Indicates the Boolean value of the expression node.
VALUE_UNIT_CODE VARCHAR2 30 Indicates the Unit of certain expression data types. For AMOUNT_TYPE it would be valid currency codes like USD, INR etc. For MEASURE_TYPE it would be valid Units of Measure.
DSL_FUNCTION VARCHAR2 255 Indicates the domain specific language function that is invoked to evaluate certain expression types, eg: ATTRIBUTE.
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
QP_DYN_RULE_EXPR_NODES qp_dyn_rules RULE_ID
QP_DYN_RULE_EXPR_NODES qp_dyn_rule_fragments RULE_FRAGMENT_ID

Indexes

Index Uniqueness Tablespace Columns
QP_DYN_RULE_EXPR_NODES_U1 Unique Default EXPR_NODE_ID
QP_DYN_RULE_EXPR_NODES_U2 Unique Default RULE_FRAGMENT_ID, PARENT_EXPR_NODE_ID, SEQ_NUM