Search Results pv_entity_attr_trends_pk
Overview
The PV_ENTITY_ATTR_TRENDS table is a core data object within the Oracle E-Business Suite (EBS) Partner Management (PV) module. It functions as a historical repository for tracking changes to attributes associated with partner entities over time. In the context of partner relationship management, entities can include partners, partner sites, or other related business objects. This table enables the system to maintain a longitudinal record of attribute values, which is critical for analyzing partner behavior, performance trends, compliance history, and the evolution of partner profiles. Its role is essential for generating trend-based reports and audits within the Partner Management lifecycle, supporting strategic decision-making.
Key Information Stored
While the provided ETRM metadata does not list all columns, the structure is defined by its primary and foreign keys. The central column is the ATTRIBUTE_TREND_ID, which serves as the unique primary key identifier for each historical record. A critical foreign key column is ATTRIBUTE_ID, which links directly to the PV_ATTRIBUTES_B table. This relationship defines which specific attribute (e.g., certification status, revenue tier, performance score) is being tracked. The table would typically also contain columns to store the attribute's value at a point in time, the effective date of that value, the entity identifier (e.g., PARTNER_ID), and likely audit columns such as CREATION_DATE and CREATED_BY to track who made the change and when.
Common Use Cases and Queries
A primary use case is generating historical trend reports for partner performance or status. For example, analysts can query this table to visualize how a partner's performance rating has changed over successive quarters. Another common scenario is auditing, where the table provides a verifiable trail of changes to critical partner attributes for compliance purposes. A typical SQL pattern involves joining to PV_ATTRIBUTES_B to get the attribute name and descriptive details.
Sample Query Pattern:
SELECT attr.NAME, trend.ATTRIBUTE_VALUE, trend.EFFECTIVE_START_DATE
FROM PV_ENTITY_ATTR_TRENDS trend,
PV_ATTRIBUTES_B attr
WHERE trend.ATTRIBUTE_ID = attr.ATTRIBUTE_ID
AND trend.ENTITY_ID = :p_partner_id
ORDER BY trend.EFFECTIVE_START_DATE DESC;
Related Objects
The table has documented relationships with other key objects in the Partner Management schema, primarily through foreign key constraints.
- PV_ATTRIBUTES_B: This is the most directly related table. The PV_ENTITY_ATTR_TRENDS.ATTRIBUTE_ID column is a foreign key referencing the PV_ATTRIBUTES_B table. This join is fundamental for retrieving the human-readable name and definition of the tracked attribute.
- Primary Key Constraint: The table is governed by the PV_ENTITY_ATTR_TRENDS_PK constraint on the ATTRIBUTE_TREND_ID column, ensuring each historical record is unique.
- While not explicitly listed in the provided metadata, this table is logically related to core partner entity tables such as PV_PARTNERS or PV_PARTNER_SITES through an implied ENTITY_ID column, which would store the identifier of the partner or site whose attribute is being recorded.
-
Table: PV_ENTITY_ATTR_TRENDS
12.2.2
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_ENTITY_ATTR_TRENDS, object_name:PV_ENTITY_ATTR_TRENDS, status:VALID, product: PV - Partner Management , description: Entity attributes , implementation_dba_data: PV.PV_ENTITY_ATTR_TRENDS ,
-
Table: PV_ENTITY_ATTR_TRENDS
12.1.1
owner:PV, object_type:TABLE, fnd_design_data:PV.PV_ENTITY_ATTR_TRENDS, object_name:PV_ENTITY_ATTR_TRENDS, status:VALID, product: PV - Partner Management , description: Entity attributes , implementation_dba_data: PV.PV_ENTITY_ATTR_TRENDS ,