Results for “gr_other_names_orgn_v”

18 results




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

Overview

GR_OTHER_NAMES_ORGN_V is a database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the GR – Process Manufacturing Regulatory Management product family. The view is documented with a status of VALID in both ETRM 12.1.1 and 12.2.2 environments. Its purpose is to expose unique item and organization combinations drawn from the multilingual other-names table, GR_OTHER_NAMES_TL, while denormalizing the organization description from the SY_ORGN_MST master table. In practice this means consumers of the view receive additional descriptive context (the organization name) alongside the item and organization codes, without having to perform their own join to the organization master.

This view is used primarily as a reporting and integration aid. It allows regulatory, quality, and labeling reports to reference alternate item names by item and organization while presenting a human-readable organization name. Because the organization description is resolved at the database layer, downstream tools such as Oracle Reports, BI Publisher, and custom PL/SQL packages can query a single object rather than reconstructing the join logic themselves.

Underlying Base Objects

The view is defined over two referenced base objects, both exposed to APPS as synonyms:

  • GR_OTHER_NAMES_TL – the multilingual "other names" table belonging to Process Manufacturing Regulatory Management. It supplies the ITEM_CODE and ORGN_CODE values, and holds the alternate or translated item names maintained for regulatory purposes.
  • SY_ORGN_MST – the organization master table, which supplies the ORGN_NAME (organization description) used to denormalize the organization foreign key.

The view text is:

SELECT UNIQUE B.ITEM_CODE, B.ORGN_CODE, S.ORGN_NAME FROM GR_OTHER_NAMES_TL B, SY_ORGN_MST S WHERE S.ORGN_CODE = B.ORGN_CODE

The join is an equi-join on ORGN_CODE between the other-names table and the organization master. The presence of the UNIQUE keyword indicates the view collapses any duplicate item/organization combinations that exist in the source table into a single row per item and organization, producing a distinct listing.

Key Columns

  • ITEM_CODE – the identifier of the item for which one or more other names are recorded. Sourced from GR_OTHER_NAMES_TL.
  • ORGN_CODE – the organization code associated with the item/name combination. Also sourced from GR_OTHER_NAMES_TL and used as the join key to SY_ORGN_MST.
  • ORGN_NAME – the descriptive name of the organization, denormalized from SY_ORGN_MST. This provides readable context that would otherwise require a separate lookup.

Because the SELECT list is explicit and limited to these three columns, the view does not expose translation-language columns, name text, or timestamps that may exist in the underlying tables. Consumers requiring the actual alternate name strings must query GR_OTHER_NAMES_TL directly.

Common Use Cases and Queries

Typical uses include validating that item/organization combinations used in regulatory reporting have an organization description available, populating list of values (LOVs) that display organization names, and feeding downstream extracts where the organization code alone is insufficient. A simple query returning all rows is:

SELECT item_code, orgn_code, orgn_name FROM apps.gr_other_names_orgn_v;

To restrict the result to a specific organization, filter on ORGN_CODE:

SELECT item_code, orgn_code, orgn_name FROM apps.gr_other_names_orgn_v WHERE orgn_code = :orgn_code;

To isolate a single item across organizations:

SELECT item_code, orgn_code, orgn_name FROM apps.gr_other_names_orgn_v WHERE item_code = :item_code ORDER BY orgn_name;

Join patterns commonly match this view back to inventory or regulatory tables on ITEM_CODE and ORGN_CODE to supplement a base record with its organization description. Because the view performs a UNIQUE on the join, callers should not rely on it for row-level counts of other-name records; those counts must be obtained from GR_OTHER_NAMES_TL. Performance is generally governed by the join between the two base tables on ORGN_CODE and the uniqueness operation, so standard indexing considerations for those columns apply.