Results for “winner_party_id”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

HZ_DUP_SETS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, categorized under the Receivables (AR) product family. It is a denormalized projection over the Oracle Trading Community Architecture (TCA) duplicate resolution model, combining data from the duplicate set header table, the duplicate batch table, and the party master table into a single queryable structure. The view exposes the winning party of each duplicate set — the surviving record retained after a merge or deduplication decision — together with the party number and party name resolved from HZ_PARTIES.

In both 12.1.1 and 12.2.2 the object is documented as VALID. Its principal value lies in making the duplicate resolution metadata human-readable: raw foreign keys such as WINNER_PARTY_ID are surfaced alongside descriptive attributes (PARTY_NUMBER, PARTY_NAME), enabling reports, integrations, and reconciliation queries to identify which party survived in each duplicate set without joining TCA tables manually. Because the join to HZ_PARTIES uses PA.PARTY_ID = DS.WINNER_PARTY_ID, only duplicate sets with a resolved winner are returned; rows without an assigned winner are excluded.

Underlying Base Objects

The view text joins three registered synonyms that resolve to the underlying TCA tables in the APPS schema:

  • HZ_DUP_SETS — the duplicate set entity, supplying DUP_SET_ID, DUP_BATCH_ID, and WINNER_PARTY_ID, along with the standard WHO columns. This is the driving table of the view.
  • HZ_DUP_BATCH — the duplicate batch that groups sets for a given deduplication run, joined via DB.DUP_BATCH_ID = DS.DUP_BATCH_ID and exposing DUP_BATCH_ID.
  • HZ_PARTIES — the TCA party master, joined on the winner identifier to retrieve PARTY_NUMBER and PARTY_NAME.

The relationship is essentially a three-way equi-join keyed on the duplicate batch and the winning party. No aggregation, filtering predicate, or outer join is present in the documented view text, so cardinality follows HZ_DUP_SETS.

Key Columns

  • DUP_SET_ID — unique identifier of the duplicate set; the primary handle for drill-down.
  • DUP_BATCH_ID — identifier of the parent duplicate batch, enabling grouping of sets by deduplication run.
  • WINNER_PARTY_ID — the party_id designated as the surviving party for the set; the column most commonly searched by users and the pivot of the HZ_PARTIES join.
  • PARTY_NUMBER — the TCA-generated, externally meaningful party number of the winner.
  • PARTY_NAME — the party name of the winner, rendered according to the party's configured name style.
  • CREATED_BY, CREATION_DATE, LAST_UPDATE_LOGIN, LAST_UPDATE_DATE, LAST_UPDATED_BY — standard audit (WHO) columns carried from HZ_DUP_SETS.

Common Use Cases and Queries

Typical applications include identifying surviving parties after a merge, auditing batch-level deduplication outcomes, and feeding downstream integrations that must map merged parties to the winner.

To locate the winner for a specific party identifier:

SELECT dup_set_id, dup_batch_id, winner_party_id, party_number, party_name
FROM apps.hz_dup_sets_v
WHERE winner_party_id = :p_party_id;

To report all winners within a given batch:

SELECT dup_batch_id, dup_set_id, party_number, party_name
FROM apps.hz_dup_sets_v
WHERE dup_batch_id = :p_batch_id
ORDER BY dup_set_id;

Because the view performs no filtering on status or date, callers should apply their own creation_date or batch predicates when restricting results to a specific period.