Results for “role_code_meaning”

6 results




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

Overview

OKR_PTY_RLE_SRCS_DV is a database view historically shipped within the Oracle E-Business Suite (EBS) Oracle Contracts for Rights (OKR) module, classified in later releases as obsolete. It presents party role source information by joining the party role source assignment table to the party role definition table, enriching the stored coded values with their translated meanings. The view exposes four code columns alongside their human-readable descriptions: IP_TYPE versus IP_TYPE_MEANING and ROLE_CODE versus ROLE_CODE_MEANING. This denormalization pattern is characteristic of descriptive ("_DV") views, which are designed to spare reporting and integration consumers from having to resolve lookup codes themselves. The user search term "ip_type_meaning" corresponds directly to a calculated column in this view, which returns the display meaning for the intellectual property type stored on the underlying party role record. In ETRM 12.2.2 the view is documented with no implemented base objects, and the 12.1.1-era metadata likewise records it as not implemented, meaning the object is retained only for reference and historical completeness rather than for active use in current installations.

Underlying Base Objects

The view text is defined over two EBS tables joined on a single equijoin condition. The primary driving table is OKR_PTY_RLE_SRCS, aliased PRS, which stores party role source assignments with effective dating and standard EBS audit and concurrency columns. The lookup table is OKR_PARTY_ROLES, aliased PRL, which holds party role definitions keyed by ID. The join predicate is PRS.PARTY_ROLE_ID = PRL.ID, so each row of OKR_PTY_RLE_SRCS is matched to exactly one row of OKR_PARTY_ROLES. Several columns are projected from the PRS side, including ROWID (exposed as ROW_ID), ID, PARTY_ROLE_ID, JTOT_OBJECT1_CODE, START_DATE, END_DATE, the audit columns OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, and ACCESS_LEVEL. The value-added columns IP_TYPE, IP_TYPE_MEANING, ROLE_CODE, and ROLE_CODE_MEANING derive from the PRL side, with the two meaning columns produced by calls to OKR_UTIL_PUB. The documented metadata lists no referenced base objects for the 12.2.2 deployment, consistent with the view not being implemented in that database.

Key Columns

  • IP_TYPE — Coded intellectual property type stored on the OKR_PARTY_ROLES record.
  • IP_TYPE_MEANING — Translated, displayable description of IP_TYPE, derived through OKR_UTIL_PUB.GET_IP_TYP_MEANING(PRL.IP_TYPE).
  • ROLE_CODE — Coded party role value from OKR_PARTY_ROLES.
  • ROLE_CODE_MEANING — Meaning resolved via OKR_UTIL_PUB.GET_LU_MEANING('OKR_PARTY_ROLES', PRL.ROLE_CODE).
  • PARTY_ROLE_ID — Foreign key to OKR_PARTY_ROLES.ID, the join key between the two base tables.
  • ID — Identifier of the party role source record; ROW_ID exposes its physical row identifier.
  • JTOT_OBJECT1_CODE — Generic object classification code used by the OKR model.
  • START_DATE / END_DATE — Effective dating boundaries for the source assignment.
  • OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — Standard EBS audit and optimistic locking columns.
  • ACCESS_LEVEL — Security classification controlling row visibility.

Common Use Cases and Queries

The view was intended for reporting on party role source assignments with readable labels, and for interfaces needing resolved meanings rather than raw codes. A typical historical query filters by effective dates and role:

  • List active party role sources with meanings:

    SELECT id, party_role_id, ip_type, ip_type_meaning,
           role_code, role_code_meaning, start_date, end_date
    FROM   okr_pty_rle_srcs_dv
    WHERE  SYSDATE BETWEEN start_date AND NVL(end_date, SYSDATE + 1);
  • Group assignments by resolved intellectual property type:

    SELECT ip_type_meaning, COUNT(*)
    FROM   okr_pty_rle_srcs_dv
    GROUP  BY ip_type_meaning;
  • Join back to party context by role:

    SELECT d.id, d.role_code_meaning, d.jtot_object1_code
    FROM   okr_pty_rle_srcs_dv d
    WHERE  d.role_code = :role_code;

Because the object is obsolete and not implemented in 12.1.1 or 12.2.2, these patterns should be treated as documentation of legacy behavior. Current implementations should target the base tables OKR_PTY_RLE_SRCS and OKR_PARTY_ROLES, replicating the meaning resolution through OKR_UTIL_PUB where equivalent functionality is required.