Search Results reject_reason_code




Overview

AS_SALES_LEADS_V is a seeded Oracle E-Business Suite view owned by the APPS schema and registered as VALID in the ETRM repository. It belongs to the AS – Sales Foundation product family, which provides the shared lead and opportunity foundation consumed by Oracle Sales, Oracle TeleSales, and Oracle Partner Management. The view exposes sales lead header details, that is, one row per sales lead as stored in the AS_SALES_LEADS base entity, enriched with descriptive values resolved from related lookup, party, resource, channel, campaign, and offer sources.

Its principal role is reporting and integration. Because the view denormalizes codes into their translated meanings and joins the lead record to HZ_PARTIES and JTF_RS_RESOURCE_EXTNS, it allows concurrent programs, Oracle Discoverer workbooks, OBIEE extracts, and custom interfaces to retrieve human-readable lead information without reproducing the multi-table join logic. In Oracle EBS 12.1.1 and 12.2.2 the object definition is unchanged in substance; both releases resolve the same APPS-owned view against the same set of synonyms and lookup views.

Underlying Base Objects

The documented dependency list for 12.2.2 identifies the following referenced objects:

The view therefore functions as a read-only consolidation layer over the AS Sales Foundation transactional model and the Trading Community Architecture (HZ) and Resource (JTF_RS) models.

Key Columns

Common Use Cases and Queries

Typical uses include lead pipeline reports by status and rank, assignment workload analysis by sales resource, campaign and offer attribution reporting, and staged extraction for CRM or data-warehouse loads. Bulk extraction is normally filtered on LAST_UPDATE_DATE and DELETED_FLAG.

Leads by status and assigned resource:

  • SELECT lead_number, party_name, lead_status, rank, assigned_name, budget_amount, currency_code FROM as_sales_leads_v WHERE deleted_flag = 'N' AND status_code = 'QUALIFIED' ORDER BY assigned_name, lead_number;

Join back to the base table for columns not surfaced by the view:

  • SELECT v.lead_number, v.lead_status, l.assign_date FROM as_sales_leads_v v, as_sales_leads l WHERE v.sales_lead_id = l.sales_lead_id AND v.creation_date >= :p_start_date;

Campaign attribution totals:

  • SELECT source_promotion_name, COUNT(*) lead_count, SUM(budget_amount) total_budget FROM as_sales_leads_v WHERE deleted_flag = 'N' GROUP BY source_promotion_name;

Because the view resolves meanings at query time, reports written against it remain portable across 12.1.1 and 12.2.2 provided the underlying lookups are not customized.