Search Results cs_party_roles_b




Overview

CS_PARTY_ROLES_B is the base definition table for party roles within the Oracle E-Business Suite Service (CS) module. It stores the seeded and user-defined role definitions that describe the function a party plays in a service context, such as contact, resource, or customer. The table resides in the CS schema and is documented as VALID in both EBS 12.1.1 and 12.2.2. It is the master (or "header") record for each role, with translatable descriptive text held in the companion _TL table.

Under the heuristic Data Vault classification mined from the foreign-key topology, CS_PARTY_ROLES_B is a hub-leaning entity. It carries a stable business key (PARTY_ROLE_CODE) and is referenced by multiple dependent tables, which is the classic hub pattern: a central, non-transactional list of distinct business concepts that satellites and links attach to. Treating it as a hub is a modeling suggestion, not an EBS implementation detail.

Key Information Stored

The table is documented with 28 columns. The most significant are:

Only PARTY_ROLE_CODE functions as the surrogate primary key; the unique index adds ZD_EDITION_NAME as a second business-key component.

Common Use Cases and Queries

Typical uses include LOV/picker population, validation of role codes on transaction entry, and reporting on which roles exist and are active. A representative query returns active, non-seeded roles:

  • SELECT party_role_code, seeded_flag, start_date_active, end_date_active FROM cs.cs_party_roles_b WHERE seeded_flag = 'N' AND TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, SYSDATE + 1);
  • Joining to the translatable table to obtain display names: SELECT b.party_role_code, t.role_name FROM cs.cs_party_roles_b b, cs.cs_party_roles_tl t WHERE b.party_role_code = t.party_role_code AND t.language = USERENV('LANG');
  • Checking where a role is used: join to CS_HZ_SR_CONTACT_POINTS and CS_PARTY_ROLE_GROUP_MAPS on PARTY_ROLE_CODE to trace dependent setup before deletion.

Reporting often groups by SEEDED_FLAG and SORT_ORDER to present an ordered catalog of available roles.

Related Objects

The FK metadata identifies the following key dependents that reference CS_PARTY_ROLES_B via PARTY_ROLE_CODE:

  • CS_PARTY_ROLES_TL — the translatable (translation) child holding language-specific role text; joined on PARTY_ROLE_CODE.
  • CS_HZ_SR_CONTACT_POINTS — service-request contact points that reference a party role; joined on PARTY_ROLE_CODE.
  • CS_PARTY_ROLE_GROUP_MAPS — maps party roles into role groups; joined on PARTY_ROLE_CODE.
  • The primary-key index CS_PARTY_ROLES_B_PK and unique index CS_PARTY_ROLES_B_U1.

These relationships confirm the hub role of the table, with transaction-oriented and translation satellites converging on the single PARTY_ROLE_CODE key.