DOO_PREFERENCE_RULE_B

This table stores details about the rule for each preference.

Details

  • Schema: FUSION

  • Object owner: DOO

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

DOO_PREFERENCE_RULE_B_PK

RULE_DETAIL_ID

Columns

Name Datatype Length Precision Not-null Comments
RULE_DETAIL_ID NUMBER Yes Value that uniquely identifies the rule for a sales order's preference. Oracle Order Management automatically assigns this value.
RULE_TYPE VARCHAR2 30 Yes Type of rule for the preference.
RULE_CODE VARCHAR2 30 Yes Code that uniquely identifies the rule for a sales order's preference.
ORDER_PREFERENCE_ID NUMBER Value that uniquely identifies the sales order's preference. Oracle Order Management automatically assigns this value.
EFFECTIVE_START_DATE DATE Date Effective Entity: indicates the date at the beginning of the date range within which the row is effective.
EFFECTIVE_END_DATE DATE Date Effective Entity: indicates the date at the end of the date range within which the row is effective.
IS_ACTIVE VARCHAR2 1 Yes Contains true or false. True: the rule is active. False: it isn't active.
IS_DEFAULT VARCHAR2 1 Yes Contains true or false. True: the rule is the default rule. False: it isn't the default.
ATTRIBUTE_PRIORITY_JSON CLOB Specifies how to display details in the user interface. It's in JSON format.
EXPRESSION_ID NUMBER Foreign key to the table that stores the rules that user creates in the rule builder. HR_VBCS_LISTS is the parent table.
EXPRESSION_JSON CLOB Denormalized expression that the rule builder returns. It's in JSON format.
SQL_CLAUSE CLOB SQL Where clause that you can use to apply the prioritized conditions according to the rule.
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.
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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
doo_preference_rule_tl doo_preference_rule_b RULE_DETAIL_ID

Indexes

Index Uniqueness Tablespace Columns
DOO_PREFERENCE_RULE_B_U1 Unique Default RULE_DETAIL_ID, ORA_SEED_SET1
DOO_PREFERENCE_RULE_B_U2 Unique Default RULE_DETAIL_ID, ORA_SEED_SET2