Search Results pv_entity_rules_applied
Overview
The PV_ENTITY_RULES_APPLIED table is a core logging and audit table within the Oracle E-Business Suite Partner Management (PV) module. Its primary function is to provide a detailed historical record of the business rules executed during the automated selection of an entity, which, as defined by the product, is either a partner or an opportunity. This table is critical for understanding the decision-making logic of the partner and opportunity management processes in releases 12.1.1 and 12.2.2. By logging each rule application, it enables administrators and analysts to trace, debug, and audit the automated assignments and selections that occur, ensuring transparency and supporting compliance within partner channel operations.
Key Information Stored
While the provided metadata does not list all columns, the structure and relationships indicate the table stores identifiers that link rule executions to specific entities and process flows. The primary key, ENTITY_RULE_APPLIED_ID, uniquely identifies each logged rule application. The two critical foreign key columns, PROCESS_RULE_ID and PARENT_PROCESS_RULE_ID, reference the PV_PROCESS_RULES_B table. These columns store the identifiers for the specific business rule that was applied and, if applicable, its parent rule within a hierarchical rule structure. The table must also contain columns to identify the specific entity (opportunity or partner) to which the rule was applied, though these are not explicitly named in the excerpt.
Common Use Cases and Queries
The primary use case for this table is audit reporting and process analysis. A common query would join PV_ENTITY_RULES_APPLIED with PV_PROCESS_RULES_B to retrieve the names and details of rules applied to a specific entity. For example, to audit all rule applications for a particular opportunity, a query would filter on the entity identifier and join to get rule descriptions. Support teams use this data to diagnose why a specific partner was not selected for an opportunity by reviewing the sequence and outcome of applied rules. Performance analysis can also be conducted by examining the volume and frequency of rule applications over time to optimize complex rule sets.
Related Objects
The table maintains defined relationships with other objects in the Partner Management schema, primarily through foreign key constraints.
- PV_PROCESS_RULES_B: This is the master table for process rules. PV_ENTITY_RULES_APPLIED references it twice via foreign keys:
- PROCESS_RULE_ID: Links to the specific rule that was executed.
- PARENT_PROCESS_RULE_ID: Links to a parent or governing rule, indicating rule hierarchy or grouping within the application logic.
- Self-Referential Relationships: The metadata indicates additional foreign key relationships where PROCESS_RULE_ID and PARENT_PROCESS_RULE_ID also reference the PV_ENTITY_RULES_APPLIED table itself (denoted by '%'). This suggests potential for representing complex, multi-step rule application sequences or dependencies within the log.
-
Table: PV_ENTITY_RULES_APPLIED
12.2.2
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_ENTITY_RULES_APPLIED, object_name:PV_ENTITY_RULES_APPLIED, status:VALID, product: PV - Partner Management , description: Log table to store the rules applied to select the entity. Entity is an opportunity or partner. , implementation_dba_data: PV.PV_ENTITY_RULES_APPLIED ,
-
Table: PV_ENTITY_RULES_APPLIED
12.1.1
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_ENTITY_RULES_APPLIED, object_name:PV_ENTITY_RULES_APPLIED, status:VALID, product: PV - Partner Management , description: Log table to store the rules applied to select the entity. Entity is an opportunity or partner. , implementation_dba_data: PV.PV_ENTITY_RULES_APPLIED ,
-
Table: PV_PROCESS_RULES_B
12.1.1
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_PROCESS_RULES_B, object_name:PV_PROCESS_RULES_B, status:VALID, product: PV - Partner Management , description: Process Rules , implementation_dba_data: PV.PV_PROCESS_RULES_B ,
-
Table: PV_PROCESS_RULES_B
12.2.2
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_PROCESS_RULES_B, object_name:PV_PROCESS_RULES_B, status:VALID, product: PV - Partner Management , description: Process Rules , implementation_dba_data: PV.PV_PROCESS_RULES_B ,