Search Results campaign_code
Overview
The AST_LS_OPP_SREP_ADV_V view is a reporting object belonging to the Oracle E-Business Suite TeleSales (AST) module. It presents a denormalized, report-ready projection of opportunity (lead) data, joining the core lead record to customer party information, sales stage and status lookups, sales representative details, primary contact information, and campaign source code data. Its name—"Opportunity Sales Representative Advanced View"—indicates that it is intended primarily for advanced opportunity and sales-representative reporting, exposing a wide attribute set in a single queryable object.
An important implementation note is recorded in the source metadata: this view is not implemented in this database. As such, the view serves as a documentation and reference artifact—its SQL text is preserved for analysis, customization guidance, and upgrade impact assessment, but it does not physically exist as a queryable object in the installation described by that metadata. This distinction is critical when diagnosing errors such as ORA-00942 (table or view does not exist) for customers who reference it directly.
Underlying Base Objects
The view is defined over six base objects, joined in a single flat SELECT:
- AS_LEADS_ALL (aliased OPP) — the primary opportunity/lead record, driving most columns.
- AS_LEAD_CONTACTS_ALL (aliased LEAD_CONTACT) — supplies the primary contact link; outer-joined to preserve leads without contacts.
- AS_ACCESSES_ALL (aliased ACC) — the access table that maps the sales representative (person) to the lead.
- PER_ALL_PEOPLE_F (aliased PER) — resolves the sales representative's first and last names.
- HZ_PARTIES (aliased PARTY and PARTY_CONTACT) — supplies customer name, address components, and contact person names; the contact join is also outer.
- AMS_SOURCE_CODES (aliased CAMP) — supplies the campaign source code; outer-joined.
- AS_SALES_STAGES_ALL_VL (aliased ASS) and AS_STATUSES_VL (aliased AST) — value-list lookups translating stage and status identifiers into descriptive text.
Joins rely on LEAD_ID, CUSTOMER_ID/PARTY_ID, SALES_STAGE_ID, STATUS_CODE, SOURCE_PROMOTION_ID, and PERSON_ID. No base objects were separately documented in the ETRM metadata beyond those embedded in the view text.
Key Columns
- LEAD_ID / LEAD_NUMBER — primary key and user-visible opportunity identifier.
- CUSTOMER_ID / CUSTOMER_NAME — customer party identifier and resolved party name.
- SALES_STAGE_ID / SALES_STAGE — stage code and its translated name.
- STATUS_CODE / STATUS — status value and meaning.
- REVENUE_AMOUNT — the total opportunity amount (aliased from TOTAL_AMOUNT).
- CAMPAIGN_ID / CAMPAIGN_CODE — the source promotion identifier and the campaign's source code, directly addressing the user's search term.
- SALES_REP_FIRST_NAME / SALES_REP_LAST_NAME — representative identity.
- CONTACT_FIRST_NAME / CONTACT_LAST_NAME — primary contact person.
- Address columns (ADDRESS1–4, CITY, STATE, COUNTRY, POSTAL_CODE) — customer location.
- ATTRIBUTE1–15 — DFF (descriptive flexfield) segments supporting custom data.
Common Use Cases and Queries
Typical uses include opportunity funnel reporting by sales representative, campaign-influenced pipeline analysis (filtering on CAMPAIGN_CODE), and regional opportunity summaries. Example:
SELECT LEAD_NUMBER, CUSTOMER_NAME, SALES_STAGE, SALES_REP_LAST_NAME, CAMPAIGN_CODE, REVENUE_AMOUNT FROM AST_LS_OPP_SREP_ADV_V WHERE CAMPAIGN_CODE = '&campaign_code' ORDER BY REVENUE_AMOUNT DESC;
Because the view is documented as not implemented, substitute the constituent base tables if the view yields ORA-00942.
-
View: AST_LS_OPP_SREP_ADV_V
12.1.1
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPP_SREP_ADV_V
12.2.2
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPP_BSC_V
12.2.2
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPP_BSC_V
12.1.1
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPPORTUNITIES_V
12.2.2
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPPORTUNITIES_V
12.1.1
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_OPPORTUNITY_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_LINES_V, object_name:AST_OPPORTUNITY_LINES_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_LINES_V ,
-
View: AST_OPPORTUNITY_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_LINES_V, object_name:AST_OPPORTUNITY_LINES_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_LINES_V ,
-
View: AST_OPPORTUNITIES_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITIES_BALI_V, object_name:AST_OPPORTUNITIES_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITIES_BALI_V ,
-
View: AST_COLLTRL_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_COLLTRL_HISTORY_V, object_name:AST_COLLTRL_HISTORY_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_COLLTRL_HISTORY_V ,
-
View: AST_OPPORTUNITIES_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITIES_BALI_V, object_name:AST_OPPORTUNITIES_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITIES_BALI_V ,
-
View: AST_COLLTRL_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_COLLTRL_HISTORY_V, object_name:AST_COLLTRL_HISTORY_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_COLLTRL_HISTORY_V ,