Results for “oe_customers_active_v”

18 results




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

Overview

OE_CUSTOMERS_ACTIVE_V is a read-only database view owned by the APPS schema and defined within the Oracle Order Management (ONT) product family. It presents a simplified, reporting-oriented projection of active customer accounts by joining Oracle Receivables trading community entities stored in the HZ schema. Rather than exposing the full breadth of the TCA (Trading Community Architecture) model, the view narrows output to four columns: customer name, customer number, customer account identifier, and a derived GSA indicator. Because it filters on account status, it returns only those customer accounts whose record in HZ_CUST_ACCOUNTS carries a status of 'A' (Active).

In Oracle EBS 12.1.1 and 12.2.2, the view serves as a lightweight integration and reporting surface for order capture logic, custom concurrent programs, and interfaces that require a validated list of active customers without traversing the many tables of the HZ data model. The inclusion of the GSA_INDICATOR column makes it relevant to public-sector and government-oriented deployments where GSA (General Services Administration) schedule pricing and eligibility tracking are required at the customer level.

Underlying Base Objects

The view is defined over two documented base objects, both referenced through APPS synonyms:

  • HZ_CUST_ACCOUNTS (SYNONYM) — aliased as CUST_ACCT; supplies the customer account identifier, the party linkage, and the account status used in the WHERE clause.
  • HZ_PARTIES (SYNONYM) — aliased as PARTY; supplies the party name, party number, party type, and the GSA indicator flag.

The join is established on CUST_ACCT.PARTY_ID = PARTY.PARTY_ID, forming a one-to-many relationship from party to customer account. No other tables are referenced in the documented view text. Because the view is owned by APPS and reads only synonyms pointing to the HZ schema, it inherits the standard EBS cross-schema synonym architecture and is generally granted to reporting and application responsibility users.

Key Columns

  • CUSTOMER_NAME — Derived from HZ_PARTIES.PARTY_NAME; the display name of the party associated with the customer account.
  • CUSTOMER_NUMBER — Derived from HZ_PARTIES.PARTY_NUMBER; the unique party number used as a business identifier.
  • CUSTOMER_ID — Derived from HZ_CUST_ACCOUNTS.CUST_ACCOUNT_ID; the internal primary key for the customer account record.
  • GSA_INDICATOR — A DECODE expression over HZ_PARTIES.PARTY_TYPE. When the party type is 'ORGANIZATION', the view returns HZ_PARTIES.GSA_INDICATOR_FLAG; for all other party types (for example, 'PERSON'), it returns the literal 'N'. This ensures that GSA eligibility is only reported for organizational parties.

Common Use Cases and Queries

The view is frequently used in custom reports, LOV (List of Values) queries, and data extracts. A typical retrieval of all active GSA-flagged customers is shown below:

  • SELECT customer_name, customer_number, customer_id, gsa_indicator FROM oe_customers_active_v WHERE gsa_indicator = 'Y';
  • SELECT customer_number, customer_name FROM oe_customers_active_v ORDER BY customer_name;
  • SELECT COUNT(*) FROM oe_customers_active_v WHERE gsa_indicator = 'Y';

Because the view already restricts results to active accounts, callers avoid duplicating status filtering. It is commonly joined to order or pricing queries by CUSTOMER_ID to enrich transactional data with customer naming and GSA eligibility, and is well suited to integration extracts where a compact, validated customer reference set is required.