Search Results new_profile_id




Overview

The HZ_PER_PROFILES_EXT_SG table is a staging table within the Oracle E-Business Suite Receivables (AR) module. Its primary function is to support the versioning process for person profiles by temporarily holding extension data during profile updates. As a staging table, it acts as an intermediary data store, facilitating the controlled copying and management of extended attribute information when a person's profile is versioned or modified. This object is integral to maintaining data integrity and auditability for person profiles within the Trading Community Architecture (TCA) framework, ensuring that historical extension data is properly managed during transactional operations.

Key Information Stored

The table's structure is defined by its primary key, which consists of two critical foreign key columns linking to profile identifiers. The specific columns documented are:

  • NEW_PROFILE_ID: Stores the identifier for the new or updated version of the person profile.
  • OLD_PROFILE_ID: Stores the identifier for the original or previous version of the person profile being versioned.

Together, these columns form the primary key constraint HZ_PER_PROFILES_EXT_SG_PK, establishing a unique mapping between old and new profile records specifically for extension data. While the provided metadata does not list additional columns, the table's purpose implies it likely holds supplementary columns to manage the staging process, such as status flags or batch identifiers.

Common Use Cases and Queries

This table is primarily accessed during background processes that handle person profile versioning. Common operational scenarios include auditing the versioning history of a profile's extensions and troubleshooting errors in the profile update workflow. A typical query would involve joining this staging table to the main person profile table to trace the lineage of a profile's extended attributes.

Sample SQL to find the staging record for a specific new profile:

SELECT old_profile_id, new_profile_id
FROM ar.hz_per_profiles_ext_sg
WHERE new_profile_id = :p_profile_id;

Another common pattern is to verify the existence of a versioning record for a given original profile, which is useful for validation reports prior to data archival or purge activities.

Related Objects

The table's defined primary key relationship indicates a direct dependency on the core person profile tables within the TCA schema. The columns NEW_PROFILE_ID and OLD_PROFILE_ID are foreign keys referencing the PROFILE_ID in the primary person profile table, most likely HZ_PERSON_PROFILES. This relationship is essential for the versioning mechanism. While not explicitly listed in the provided metadata, this table is operationally linked to the APIs and concurrent programs that manage person profile updates in Receivables. It serves as a critical component in the data flow between the user interface or import processes and the permanent TCA repository.