Results for “action_value”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The PV_ENTITY_RULES_APPLIED table is a logging and audit table within the Oracle E-Business Suite Partner Management (PV) module. Its documented purpose is to store the rules that were applied when selecting an entity, where the entity is either an opportunity or a partner. In practical terms, it captures the outcome of rule evaluation performed by the Partner Management rule engine, recording which process rule matched and under what conditions, so that users and administrators can trace why a given opportunity or partner was assigned, qualified, or routed in a particular way.
Unlike transactional configuration tables, this is an append-oriented history table. Every time the rule engine evaluates a set of PV_PROCESS_RULES_B rules against an entity, a row may be written here to record the winning rule, its parent rule, the action taken, and the process status. The heuristic Data Vault classification mined from the foreign-key structure is link. That classification is a modeling suggestion: the table functions as an associative or intersection record connecting an entity (opportunity or partner), a process rule, and an optional parent process rule within a single evaluated context.
Key Information Stored
The table contains 38 documented columns on the 12.2.2 physical schema. The most operationally significant columns are:
ENTITY_RULE_APPLIED_ID— surrogate primary key, backed by thePV_ENTITY_RULES_APPLIED_PKconstraint and the unique indexPV_ENTITY_RULES_APPLIED_U1.ENTITYandENTITY_ID— identify the subject of rule evaluation (opportunity or partner) and its internal identifier.PROCESS_RULE_ID— foreign key toPV_PROCESS_RULES_B, the rule that was applied.PARENT_PROCESS_RULE_ID— foreign key toPV_PROCESS_RULES_B, identifying the parent rule in a rule hierarchy.ACTION_VALUEandPROCESS_TYPE— the action produced by the rule and the classification of the process executed.WINNING_RULE_FLAGandLATEST_FLAG— indicate whether this was the winning rule in a competing evaluation and whether the row represents the most current application.PROCESS_STATUS— outcome status of the rule application.ENTITY_DETAIL— descriptive detail about the entity at the time of evaluation.SECURITY_GROUP_ID— foreign key toFND_SECURITY_GROUPS, supporting multi-org / security-group data isolation.- Standard audit columns:
CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN, andOBJECT_VERSION_NUMBER. - Concurrent program context:
REQUEST_ID,PROGRAM_APPLICATION_ID,PROGRAM_ID,PROGRAM_UPDATE_DATE. - Descriptive flexfield columns
ATTRIBUTE_CATEGORYandATTRIBUTE1throughATTRIBUTE15.
Common Use Cases and Queries
Typical uses include rule-engine audit reporting, troubleshooting why a partner or opportunity did not qualify for a program, and tracking rule effectiveness over time. A representative query retrieves the winning rules applied to a specific opportunity:
SELECT r.ENTITY_RULE_APPLIED_ID, r.ENTITY, r.ENTITY_ID, p.RULE_NAME, r.ACTION_VALUE, r.PROCESS_STATUS FROM PV_ENTITY_RULES_APPLIED r, PV_PROCESS_RULES_B p WHERE r.PROCESS_RULE_ID = p.PROCESS_RULE_ID AND r.ENTITY_ID = :entity_id AND r.WINNING_RULE_FLAG = 'Y';- Filtering on
LATEST_FLAG = 'Y'isolates the most recent application per entity. - Joining on
SECURITY_GROUP_IDrestricts results to the caller's security group. - Grouping by
PROCESS_TYPEorACTION_VALUEsupports volume and outcome reporting for rule tuning.
Related Objects
PV_PROCESS_RULES_B— referenced twice, viaPROCESS_RULE_IDandPARENT_PROCESS_RULE_ID; the definition of the rules being logged.FND_SECURITY_GROUPS— referenced viaSECURITY_GROUP_IDfor data security.AML_RULE_APPLIED_ATTRS— dependent child table referencingENTITY_RULE_APPLIED_ID; stores attribute-level detail for each applied rule.PV_ENTITY_RULES_APPLIED_PK/PV_ENTITY_RULES_APPLIED_U1— primary key constraint and unique index onENTITY_RULE_APPLIED_ID.
-
Log table to store the rules applied to select the entity. Entity is an opportunity or partner.
-
View: PV_PROCESS_RULES_VL 12.1.1
APPS.PV_PROCESS_RULES_VL·↳ PV_PROCESS_RULES_B·↳ PV_PROCESS_RULES_TL·Explore PV module →
-
View: PV_PROCESS_RULES_VL 12.2.2
APPS.PV_PROCESS_RULES_VL·↳ PV_PROCESS_RULES_B·↳ PV_PROCESS_RULES_TL·Explore PV module →
-
Process Rules
-
Log table to store the rules applied to select the entity. Entity is an opportunity or partner.
-
Process Rules
-
VIEW: PV.PV_PROCESS_RULES_B# 12.2.2
-
VIEW: PV.PV_PROCESS_RULES_B# 12.2.2
-
TABLE: PV.PV_PROCESS_RULES_B 12.1.1
-
TABLE: PV.PV_PROCESS_RULES_B 12.2.2
-
eTRM - PV Tables and Views 12.2.2
PV User - custom entries
-
eTRM - PV Tables and Views 12.1.1