Results for “pos_participant_type”

50+ results




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

Overview

EGO_COMPANIES_V is a predefined view owned by the APPS schema within the EGO (Advanced Product Catalog) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to present a consolidated registry of all companies known to the E-Business Suite — customers, vendors, and internal enterprises — within a single, uniformly structured result set. The view filters the master party registry to active organization-type parties and deliberately excludes parties with a placeholder name of '####', which is used by Oracle applications as a sentinel value for records that should not be surfaced to end users.

Functionally, the view serves as the presentation layer that Advanced Product Catalog, and by extension downstream catalog, sourcing, and trading-partner features, rely upon when a single list of business entities is required. Rather than querying HZ_PARTIES directly and independently resolving customer, supplier, and internal flags, the view performs this classification once and returns a COMPANY_TYPE value that consumers can filter or display without additional logic.

Underlying Base Objects

The documented referenced base objects for the view are HZ_PARTIES, HZ_CUST_ACCOUNTS, HZ_CODE_ASSIGNMENTS, AP_SUPPLIERS, FND_LOOKUP_VALUES, and FND_TERRITORIES_TL, all resolved in the APPS schema through synonyms. HZ_PARTIES is the driving table, supplying identity, name, and address attributes for every organization party. HZ_CUST_ACCOUNTS contributes customer status through the STATUS = 'A' predicate, while AP_SUPPLIERS contributes vendor existence through the PARTY_ID join. HZ_CODE_ASSIGNMENTS plays a decisive role in company classification: the view tests for an assignment with CLASS_CATEGORY = 'POS_PARTICIPANT_TYPE' and CLASS_CODE = 'ENTERPRISE' against OWNER_TABLE_ID matched to the party identifier, which is the mechanism by which internal enterprises are recognized.

FND_LOOKUP_VALUES supplies the translatable COMPANY_TYPE meanings from the 'COMPANY_TYPE' lookup type, and FND_TERRITORIES_TL supplies the localized territory short name for the country code. Note that the user search term "hz_code_assignments" maps directly to one of the base objects referenced by this view; queries involving that table frequently intersect with EGO_COMPANIES_V because classification of a party as an enterprise depends on code assignment records.

Key Columns

  • COMPANY_ID — The PARTY_ID of the underlying HZ_PARTIES record; the join key back to customer, supplier, and party data.
  • COMPANY_NAME — The PARTY_NAME of the organization party.
  • ADDRESS1 through ADDRESS4 — Address line attributes sourced from the party record.
  • CITY, COUNTY, PROVINCE, STATE, POSTAL_CODE — Geographic address components, passed through without transformation.
  • COUNTRY — The territory short name resolved from FND_TERRITORIES_TL using the session language from USERENV('LANG').
  • COMPANY_TYPE — The classified role of the company: 'ENTERPRISE' when an enterprise code assignment exists, 'CUSTOMER' when an active customer account exists, otherwise 'VENDOR'. Meanings are returned in the session language.

Common Use Cases and Queries

Typical scenarios include populating catalog company lists, validating that a party is recognized as an enterprise before catalog participation, and producing cross-role reporting on trading partners. The classification precedence is significant: enterprise status takes priority over customer status, which in turn takes priority over vendor status.

A standard query listing companies by type:

SELECT company_id, company_name, city, state, country, company_type FROM apps.ego_companies_v WHERE company_type = 'CUSTOMER' ORDER BY company_name;

To identify enterprises, which is the case most closely tied to HZ_CODE_ASSIGNMENTS:

SELECT c.company_id, c.company_name FROM apps.ego_companies_v c WHERE c.company_type = 'ENTERPRISE';

To correlate classification directly with code assignments:

SELECT c.company_name, a.class_category, a.class_code FROM apps.ego_companies_v c, apps.hz_code_assignments a WHERE a.owner_table_id = c.company_id AND a.class_category = 'POS_PARTICIPANT_TYPE';

Because the view joins several large party tables, queries should filter on COMPANY_TYPE or specific identifiers wherever possible to limit execution cost.