Results for “as_opp_classification_v”

22 results




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

Overview

AS_OPP_CLASSIFICATION_V is a read-only database view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the AS – Sales Foundation product family (the Sales/TeleSales application). It presents sales opportunity classification data — specifically records of interest classifications associated with leads and opportunities. The view combines the transactional interest rows from AS_INTERESTS with their descriptive context: the interest type, the primary and secondary interest codes, and the interest status meaning. It is intended for reporting, inquiry, and integration purposes where a denormalized, human-readable projection of opportunity/lead classification is required, avoiding the need to write multi-table joins against the underlying foundation tables directly.

The view is documented as VALID in ETRM for both 12.1.1 and 12.2.2. Because it is a view and not a table, it exposes no DML surface; all columns are derived from the underlying interest records and their lookup values.

Underlying Base Objects

Per the documented view text, AS_OPP_CLASSIFICATION_V is defined over the following base objects, all owned by APPS:

All non-driving joins are outer joins (indicated by the (+) syntax), so classification rows are preserved even when a code, type, or status lookup is missing. The view is filtered implicitly by the constant predicate INT.INTEREST_USE_CODE = 'LEAD_CLASSIFICATION', restricting output to lead/opportunity classification interests.

Key Columns

Common Use Cases and Queries

Typical uses include lead/opportunity classification reporting, data validation for imports, and integration extracts that feed downstream CRM or analytics systems. A representative query returns all classifications for a given lead:

  • SELECT interest_id, lead_id, interest_type, primary_interest_code, secondary_interest_code, interest_status FROM as_opp_classification_v WHERE lead_id = :lead_id;
  • SELECT interest_status, COUNT(*) FROM as_opp_classification_v GROUP BY interest_status; — status distribution reporting.
  • SELECT primary_interest_code, secondary_interest_code, COUNT(*) FROM as_opp_classification_v GROUP BY primary_interest_code, secondary_interest_code; — classification mix analysis.

Because all joins are outer, consumers should anticipate NULLs in INTEREST_TYPE, PRIMARY_INTEREST_CODE, SECONDARY_INTEREST_CODE, and INTEREST_STATUS. Queries should therefore use NVL or outer-aware filtering when lookups are expected to be populated.