FND_DOC_RULES

Specifies the scopes and laws used to validate an attachments record before saving.

Details

  • Schema: ATTACHMENTS

  • Object owner: FND

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

FND_DOC_RULES_PK

FND_DOC_RULE_ID

Columns

Name Datatype Length Precision Not-null Comments
FND_DOC_RULE_ID NUMBER 18 Yes Uniquely defines a rule.
FND_DOC_RULE_SET_ID NUMBER 18 Yes Uniquely identifies a rule set. The same rule set identifier can be used for many rules. This indicates that the rules are part of a single rule set. If one rule passes then the entire rule set passes.
RULE_TYPE VARCHAR2 20 Yes Discrimates between scope and law rules. It is expected to contain either 'LAW' or 'SCOPE'.
FND_DOC_SCOPE_ID NUMBER 18 Uniquely identifies a scope.
FND_DOC_LAW_ID NUMBER 18 Uniquely identifies a law.
FIELD_NAME VARCHAR2 80 Yes Describes the datasource which is compared to the value(s).
OPERATION VARCHAR2 20 Yes Describes how to compare the field to the value(s). For example, =, >=, <, ... .
NUMBER_VALUE NUMBER Field is compared to this value. Fields that are numbers will store the value in this column.
VARCHAR2_VALUE VARCHAR2 100 Field is compared to this value. Fields that are characters will store the value in this column.
DATE_VALUE TIMESTAMP Field is compared to this value. Fields that are dates will store the value in this column.
ADVANCED_RULE VARCHAR2 4000 A programming like expression which can be evaluated to true or false.
MODULE_ID VARCHAR2 32 Seed Data Framework: indicates the module that owns the row. A module is an entry in Application Taxonomy such as a Logical Business Area. When the MODULE_ID column exists and the owner of the row is not specified, then the Seed Data Framework will not extract the row as seed data.
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_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Yes 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 Seed data file from which the row originates.
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
FND_DOC_RULES fnd_doc_scopes_b FND_DOC_SCOPE_ID
FND_DOC_RULES fnd_doc_laws_b FND_DOC_LAW_ID

Indexes

Index Uniqueness Tablespace Columns
FND_DOC_RULES_N1 Non Unique FUSION_TS_TX_DATA FND_DOC_RULE_SET_ID
FND_DOC_RULES_U1 Unique FUSION_TS_TX_DATA FND_DOC_RULE_ID, ORA_SEED_SET1
FND_DOC_RULES_U11 Unique FUSION_TS_TX_DATA FND_DOC_RULE_ID, ORA_SEED_SET2
FND_DOC_RULES_U2 Unique FUSION_TS_TX_DATA FND_DOC_SCOPE_ID, FND_DOC_LAW_ID, FND_DOC_RULE_SET_ID, FIELD_NAME, OPERATION, NUMBER_VALUE, VARCHAR2_VALUE, DATE_VALUE, ADVANCED_RULE, ORA_SEED_SET1
FND_DOC_RULES_U21 Unique FUSION_TS_TX_DATA FND_DOC_SCOPE_ID, FND_DOC_LAW_ID, FND_DOC_RULE_SET_ID, FIELD_NAME, OPERATION, NUMBER_VALUE, VARCHAR2_VALUE, DATE_VALUE, ADVANCED_RULE, ORA_SEED_SET2