Search Results close_reason_code
Overview
The view ASF_OPPORTUNITY_DETAILS_V is a denormalized reporting object within the Oracle E-Business Suite (EBS) ASF – Sales Online module. It consolidates opportunity header information stored in the AS_LEADS_ALL table with descriptive lookup meanings, customer attributes, sales channel descriptions, and sales-stage translations. The view exposes a single, query-friendly row per opportunity, joining code columns to their human-readable equivalents so that reporting tools and integrations do not need to resolve lookups independently. Because it presents both raw codes and decoded meanings, it is suited to operational reporting, dashboards, and outbound interfaces where opportunity-level context is required. The metadata notes that the view is "not implemented in this database" in the reference environment, so its availability depends on the specific installed patch level and configuration.
Underlying Base Objects
The view is defined over a fixed set of base objects, joined primarily through outer joins (denoted by (+)) to preserve the driving opportunity rows:
- AS_LEADS_ALL (aliased OPP) — the driving table holding opportunity header records, including status, close reason, methodology, amounts, and descriptive flexfield attributes.
- AS_PARTY_CUSTOMERS_V (PARTY) — supplies customer name, party type, and customer category code; joined on CUSTOMER_ID = PARTY_ID.
- ASO_I_SALES_CHANNELS_V (ASOCHANNELS) — resolves the sales channel code to a channel description.
- AS_SALES_STAGES_ALL_TL (STGTL) — provides the translated sales-stage name, filtered by the session language via
USERENV('LANG'). - AS_LOOKUPS (ASL2, ASL3, ASL4) — three aliases resolving CLOSE_REASON, METHODOLOGY_TYPE, and VEHICLE_RESPONSE_CODE lookup meanings respectively.
- AS_STATUSES_TL (ASSTATUSES) — supplies the translated meaning for the opportunity status code.
All lookup, channel, stage, and status joins are outer joins, ensuring opportunities are retained even when a corresponding lookup or translation is absent.
Key Columns
- LEAD_ID / LEAD_NUMBER — the unique identifier and business number of the opportunity.
- CLOSE_REASON_CODE / CLOSE_REASON — the raw close reason stored on the opportunity (
OPP.CLOSE_REASON) and its decoded meaning from the CLOSE_REASON lookup type. This is the column family most relevant to the search term "close_reason." - STATUS / STATUS_NAME — the opportunity status code and its translated meaning.
- CUSTOMER_ID / CUSTOMER_NAME / PARTY_TYPE / CUSTOMER_CATEGORY — customer identification and classification.
- METHODOLOGY_CODE / METHODOLOGY — the sales methodology and its decoded meaning.
- SALES_STAGE_ID / SALES_STAGE — the current sales stage and its translated name.
- CHANNEL_CODE / CHANNEL — the sales channel code and description.
- TOTAL_AMOUNT / CURRENCY_CODE / WIN_PROBABILITY / DECISION_DATE — commercial metrics for pipeline analysis.
- ORG_ID — the operating unit, supporting multi-org reporting.
- ATTRIBUTE1–15 — descriptive flexfield segments.
Common Use Cases and Queries
The view is typically used for pipeline reporting, win/loss analysis by close reason, and channel or methodology performance reviews. A representative query analyzing close reasons is:
SELECT lead_number, customer_name, close_reason, sales_stage, total_amount FROM asf_opportunity_details_v WHERE close_reason IS NOT NULL;SELECT close_reason, COUNT(*) FROM asf_opportunity_details_v GROUP BY close_reason ORDER BY 2 DESC;
Because meanings are already resolved, results can be displayed without additional lookup joins. Consumers should nevertheless confirm the view exists in their environment, given the metadata's note that it is not implemented in the reference database.
-
View: ASF_OPPORTUNITY_DETAILS_V
12.1.1
product: ASF - Sales Online , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITIES_V, object_name:AS_OPPORTUNITIES_V, status:VALID, product: AS - Sales Foundation , description: view based on as_leads_all and hz_parties , implementation_dba_data: APPS.AS_OPPORTUNITIES_V ,
-
View: ASF_OPPORTUNITY_DETAILS_V
12.2.2
product: ASF - Sales Online , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITIES_V, object_name:AS_OPPORTUNITIES_V, status:VALID, product: AS - Sales Foundation , description: view based on as_leads_all and hz_parties , implementation_dba_data: APPS.AS_OPPORTUNITIES_V ,
-
VIEW: APPS.AS_OPPORTUNITIES_V
12.2.2
-
View: AS_OPPORTUNITY_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_DETAILS_V, object_name:AS_OPPORTUNITY_DETAILS_V, status:VALID, product: AS - Sales Foundation , implementation_dba_data: APPS.AS_OPPORTUNITY_DETAILS_V ,
-
VIEW: APPS.AS_OPPORTUNITIES_V
12.1.1
-
VIEW: APPS.AST_LEADS_MV
12.2.2
owner:APPS, object_type:VIEW, object_name:AST_LEADS_MV, status:VALID,
-
View: AS_OPPORTUNITY_DET_ADDR_V
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AS_OPPORTUNITY_DETAILS_V
12.1.1
-
View: AS_OPPORTUNITY_DET_ADDR_V
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_DETAILS_V, object_name:AS_OPPORTUNITY_DETAILS_V, status:VALID, product: AS - Sales Foundation , implementation_dba_data: APPS.AS_OPPORTUNITY_DETAILS_V ,
-
VIEW: APPS.AS_OPPORTUNITY_DETAILS_V
12.2.2
-
View: AS_OPPORTUNITY_DET_PRM_V
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_DET_PRM_V
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AS_OPPORTUNITIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITIES_V, object_name:AS_OPPORTUNITIES_V, status:VALID,
-
VIEW: APPS.AST_SALES_LEADS_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID,
-
VIEW: APPS.AS_OPPORTUNITY_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_DETAILS_V, object_name:AS_OPPORTUNITY_DETAILS_V, status:VALID,
-
VIEW: APPS.AST_SALES_LEADS_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID,
-
VIEW: APPS.AST_SALES_LEADS_EBC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID,
-
VIEW: APPS.AS_OPPORTUNITIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITIES_V, object_name:AS_OPPORTUNITIES_V, status:VALID,
-
View: AS_OPPORTUNITIES_LIST_V
12.1.1
product: AS - Sales Foundation , description: Sales Opportunities List View , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AST_OPPORTUNITY_CONTACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID,
-
VIEW: APPS.AST_SALES_LEADS_REL_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID,
-
VIEW: APPS.AST_OPPORTUNITY_CONTACT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID,
-
VIEW: APPS.AST_OPPORTUNITY_DET_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_DET_V, object_name:AST_OPPORTUNITY_DET_V, status:VALID,
-
View: AST_OPPORTUNITY_DET_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_DET_V, object_name:AST_OPPORTUNITY_DET_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_DET_V ,
-
VIEW: APPS.AST_SALES_LEADS_REL_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID,
-
VIEW: APPS.AS_OPPORTUNITY_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_DETAILS_V, object_name:AS_OPPORTUNITY_DETAILS_V, status:VALID,
-
VIEW: APPS.AST_SALES_LEADS_EBC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID,
-
View: AS_OPPORTUNITIES_LIST_V
12.2.2
product: AS - Sales Foundation , description: Sales Opportunities List View , implementation_dba_data: Not implemented in this database ,
-
View: AST_SALES_LEADS_REL_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_REL_BALI_V ,
-
View: AST_SALES_LEADS_REL_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_REL_BALI_V, object_name:AST_SALES_LEADS_REL_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_REL_BALI_V ,
-
View: AST_SALES_LEADS_BALI_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_BALI_V ,
-
View: AST_OPPORTUNITY_DET_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_DET_V, object_name:AST_OPPORTUNITY_DET_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_DET_V ,
-
View: AST_SALES_LEADS_BALI_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_BALI_V, object_name:AST_SALES_LEADS_BALI_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_BALI_V ,
-
VIEW: APPS.AST_OPPORTUNITY_DET_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_DET_V, object_name:AST_OPPORTUNITY_DET_V, status:VALID,
-
View: AST_OPPORTUNITY_CONTACT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_CONTACT_V ,
-
View: AST_OPPORTUNITY_CONTACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_CONTACT_V ,
-
View: AST_SALES_LEADS_EBC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_EBC_V ,
-
View: AST_SALES_LEADS_EBC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALES_LEADS_EBC_V, object_name:AST_SALES_LEADS_EBC_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALES_LEADS_EBC_V ,
-
VIEW: APPS.AST_LEADS_MV
12.2.2
-
APPS.AS_SALES_LEAD_OPP_PVT SQL Statements
12.2.2
-
APPS.AS_SALES_LEAD_OPP_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AS_SALES_LEAD_OPP_PVT
12.2.2
-
PACKAGE BODY: APPS.AS_SALES_LEAD_OPP_PVT
12.1.1
-
PACKAGE: APPS.AS_OPPORTUNITY_PUB
12.2.2
-
PACKAGE: APPS.AS_OPPORTUNITY_PUB
12.1.1
-
eTRM - AST Tables and Views
12.1.1
description: All available web searches ,
-
eTRM - AST Tables and Views
12.2.2
description: All available web searches ,