Search Results pv_attributes_b




Overview

The PV_ATTRIBUTES_B table is a core master data table within the Oracle E-Business Suite Partner Management (PV) module. It serves as the central repository for defining the identifiers and metadata of partner attributes. In essence, this table stores the definition of what attributes can be tracked for partners (or partner entities), such as industry classification, certification status, or annual revenue range. It does not store the actual values for specific partners; rather, it defines the attributes themselves. Its primary role is to establish a controlled, reusable catalog of characteristics that can be assigned to partner profiles, enabling structured data capture, segmentation, and analysis across the partner ecosystem.

Key Information Stored

While the provided ETRM excerpt does not list specific columns, the table's primary key is documented as ATTRIBUTE_ID. This unique numeric identifier is the critical column, serving as the foreign key for numerous related tables. Based on its role as a definition table, it would typically contain columns that define the attribute's behavior and presentation, such as: ATTRIBUTE_NAME, DATA_TYPE (e.g., VARCHAR2, NUMBER, DATE), DISPLAY_FLAG, REQUIRED_FLAG, and columns for controlling user interface behavior and validation. The '_B' suffix indicates it is the base table for a translated object, with language-specific names stored in the related PV_ATTRIBUTES_TL table.

Common Use Cases and Queries

This table is fundamental for administrative setups and data integrity reports. Common scenarios include listing all active attributes available for partner profiling or identifying attributes used in specific contexts like partner searches or trend analysis. A typical query retrieves the master list of attributes, often joined to its translation table for descriptive names.

  • Sample Query: SELECT b.ATTRIBUTE_ID, tl.NAME, b.DATA_TYPE FROM PV.PV_ATTRIBUTES_B b, PV.PV_ATTRIBUTES_TL tl WHERE b.ATTRIBUTE_ID = tl.ATTRIBUTE_ID AND tl.LANGUAGE = USERENV('LANG');
  • Reporting Use Case: Generating a data dictionary of all partner attributes, their data types, and their relationships to other entities (like responsibilities or entity types) by joining to foreign key tables such as PV_ATTRIB_RESP_MAPPINGS or PV_ATTRIBUTE_USAGES.

Related Objects

The PV_ATTRIBUTES_B table has extensive relationships, as shown by its many foreign keys. It is the parent table for a significant portion of the Partner Management data model.

  • PV_ATTRIBUTES_TL: Stores translated names/descriptions for attributes (joined on ATTRIBUTE_ID).
  • PV_ENTITY_ATTRS: Stores the actual attribute values for specific partner entities (joined on ATTRIBUTE_ID).
  • PV_ATTRIBUTE_CODES_B & PV_ATTRIBUTE_CODES: Store valid values for code-type attributes (joined on ATTRIBUTE_ID).
  • PV_ATTRIBUTE_USAGES: Links attributes to specific partner entity types (joined on ATTRIBUTE_ID).
  • PV_ENTITY_ATTR_TRENDS & PV_SEARCH_ATTR_VALUES: Support historical tracking and search functionality for attribute values (joined on ATTRIBUTE_ID).
  • PV_ATTRIB_RESP_MAPPINGS: Maps attributes to responsibilities for data security (joined on ATTRIBUTE_ID).
  • PV_ENTITY_ATTR_MAPPINGS: Defines attribute mapping rules between entities, referencing ATTRIBUTE_ID as both SOURCE_ATTR_ID and TARGET_ATTR_ID.