Results for “lead_number”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
BIL_DIMV_OPTY is a read-only database view historically shipped as part of the Oracle E-Business Suite Sales Intelligence (BIL) module, which is now designated as obsolete in releases 12.1.1 and 12.2.2. Its purpose is to expose a consolidated list of sales opportunity identifiers and names, drawing on lead records sourced from the AS_LEADS_ALL table. The view serves as a lightweight dimensional source for reporting and integration scenarios where only the opportunity key and a human-readable descriptive name are required, without the full transactional weight of the underlying lead entity.
Because the BIL product family is obsolete, the view is treated as legacy metadata. Users searching for lead_number will find it referenced here as one of the four exposed columns, functioning as the descriptive identifier for an opportunity or lead.
Underlying Base Objects
The view text is a UNION ALL of two SELECT statements:
- The first branch selects from AS_LEADS_ALL, the canonical Oracle CRM/TeleSales leads table. It retrieves ALA.LEAD_ID, ALA.LEAD_NUMBER, ALA.STATUS, and a computed description using NVL(ALA.DESCRIPTION, ALA.LEAD_NUMBER).
- The second branch selects from FND_LOOKUPS, the standard Oracle Application Object Library lookup table, filtered where LOOKUP_TYPE = 'BIL_VALUE_TYPE' and LOOKUP_CODE = '-999'. This branch injects a sentinel or "unknown" opportunity row, casting FL.LOOKUP_CODE to a number for LEAD_ID and using FL.MEANING as LEAD_NUMBER.
The ETRM metadata lists no additional referenced base objects beyond these, and the view is marked "Not implemented in this database" in the source documentation, indicating it may not exist in every EBS instance.
Key Columns
- LEAD_ID — Numeric primary identifier for the lead/opportunity. In the second UNION branch it is derived by converting the lookup code '-999' to a number.
- LEAD_NUMBER — The user-facing lead number, or, in the sentinel branch, the FND lookup MEANING value. This is the column most often searched under the term "lead_number."
- STATUS — The lead's status code from AS_LEADS_ALL; populated as NULL in the sentinel FND_LOOKUPS branch.
- DESCRIPTION — A display-friendly description; the NVL logic falls back to LEAD_NUMBER when the underlying description is null.
Common Use Cases and Queries
Typical usage centers on opportunity pickers, LOVs, and denormalized reporting where only ID and name are needed. Example:
SELECT LEAD_ID, LEAD_NUMBER, STATUS, DESCRIPTION FROM BIL_DIMV_OPTY WHERE LEAD_NUMBER = :p_lead_number;— resolve a lead number to its ID.SELECT LEAD_NUMBER, DESCRIPTION FROM BIL_DIMV_OPTY ORDER BY LEAD_NUMBER;— populate a lookup list including the "-999" unknown entry.- Joining the view to BIL fact tables on LEAD_ID for opportunity-level dimensional lookups.
Note the WITH READ ONLY clause: no DML is permitted. In 12.2.2 the view remains documented only as obsolete BIL metadata, and no base objects are registered in ETRM.
-
View: BIL_DIMV_OPTY 12.1.1
Opportunities View for ID, Name
APPS.BIL_DIMV_OPTY·↳ AS_LEADS_ALL·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore BIL module →
-
View: CE_FC_ASF_DISC_V 12.1.1
APPS.CE_FC_ASF_DISC_V·↳ CE_AS_FC_SALES_FCST_V·↳ CE_SECURITY_PROFILES_V·↳ FND_ACCESS_CONTROL_UTIL·Explore CE module →
-
Staging table for sales open and pipeline amounts
-
APPS.AST_MYTEAM_SALESOPP_UWQ_R_S_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_CAMP_V·↳ AMS_SOURCE_CODES·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
View: AST_SALES_OPP_UWQ_V 12.2.2
APPS.AST_SALES_OPP_UWQ_V·↳ AS_ACCESSES_ALL·↳ AS_FORECAST_PROB_ALL_TL·↳ AS_LEADS_ALL·Explore AST module →
-
View: CE_FC_ASF_DISC_V 12.2.2
APPS.CE_FC_ASF_DISC_V·↳ CE_AS_FC_SALES_FCST_V·↳ CE_SECURITY_PROFILES_V·↳ FND_ACCESS_CONTROL_UTIL·Explore CE module →
-
APPS.AST_LM_OPP_QUICK_INTTYPES_V·↳ AS_LEADS_ALL·↳ AS_LEAD_LINES_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_INT_PC_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AS_SALES_OPP_UWQ_V 12.1.1
This view is used for Universal Work Queue
APPS.AS_SALES_OPP_UWQ_V·↳ ASO_I_SALES_CHANNELS_V·↳ AS_ACCESSES_ALL·↳ AS_FORECAST_PROB_ALL_TL·Explore AS module →
-
APPS.AST_LM_OPP_QUICK_SREP_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
View: CE_AS_FC_SALES_FCST_V 12.1.1
Forecasting source - Oracle Sales
APPS.CE_AS_FC_SALES_FCST_V·↳ AS_LEADS_ALL·↳ AS_LEAD_LINES_ALL·↳ AS_QUOTES_ALL·Explore CE module →
-
APPS.AST_LM_LEADS_QUICK_GROUP_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: MSD_SR_OPPORTUNITY_V 12.2.2
This is the Source View for Sales Opportunity. This view would be applied to an Oracle Applications 11i instance from which the Sales Opportunity information is to be retrieved.
-
APPS.AST_LM_LEADS_QUICK_INTEREST_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AST_LM_LEADS_QUICK_V 12.1.1
APPS.AST_LM_LEADS_QUICK_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AST_LM_LEADS_QUICK_V 12.2.2
APPS.AST_LM_LEADS_QUICK_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AS_LEADS 12.1.1
Sales opportunities (multi-org)
-
View: CE_AS_FC_SALES_FCST_V 12.2.2
Forecasting source - Oracle Sales
APPS.CE_AS_FC_SALES_FCST_V·↳ AS_LEADS_ALL·↳ AS_LEAD_LINES_ALL·↳ AS_QUOTES_ALL·Explore CE module →
-
APPS.AST_MYTEAM_SALESLEAD_UWQ_V·↳ AS_ACCESSES_ALL·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
View: AST_SALESLEAD_UWQ_V 12.1.1
APPS.AST_SALESLEAD_UWQ_V·↳ AMS_P_SOURCE_CODES_V·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
Temporary staging table to be used by the pipeline base summary
-
APPS.AST_SALESOPP_CODE_UWQ_V·↳ AMS_SOURCE_CODES·↳ AS_ACCESSES_ALL·↳ AS_FORECAST_PROB_ALL_TL·Explore AST module →
-
View: AST_SALES_LEAD_UWQ_V 12.1.1
APPS.AST_SALES_LEAD_UWQ_V·↳ AS_SALES_LEADS·↳ AS_STATUSES_B·↳ AS_STATUSES_TL·Explore AST module →
-
View: AST_SALES_LEAD_UWQ_V 12.2.2
APPS.AST_SALES_LEAD_UWQ_V·↳ AS_SALES_LEADS·↳ AS_STATUSES_B·↳ AS_STATUSES_TL·Explore AST module →
-
Territory accesses view
APPS.AS_TERRITORY_ACCESSES_V·↳ AS_ACCESSES·↳ AS_LEADS·↳ AS_LOOKUPS·Explore AS module →
-
View: AST_PLIST_OPP_UWQ_V 12.2.2
APPS.AST_PLIST_OPP_UWQ_V·↳ AMS_LIST_ENTRIES·↳ AMS_LIST_HEADERS_ALL·↳ AMS_P_SOURCE_CODES_V·Explore AST module →
-
APPS.AST_SALESOPP_NAME_UWQ_V·↳ AMS_P_SOURCE_CODES_V·↳ AS_ACCESSES_ALL·↳ AS_FORECAST_PROB_ALL_TL·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_SGRP_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_CAMP_V·↳ AMS_SOURCE_CODES·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
View: AS_IMP_SL_V 12.1.1
Obsolete
-
View: AS_IMP_SL_V 12.2.2
Obsolete
-
Territory accesses view
APPS.AS_TERRITORY_ACCESSES_V·↳ AS_ACCESSES·↳ AS_LEADS·↳ AS_LOOKUPS·Explore AS module →
-
APPS.AST_LM_OPP_QUICK_SREP_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
APPS.AST_MYTEAM_SALESOPP_UWQ_R_S_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·Explore AST module →
-
APPS.AST_LM_OPP_EXP_CR_TYPE_V·↳ AMS_SOURCE_CODES·↳ AS_LEADS_ALL·↳ AS_LEAD_CONTACTS_ALL·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_CAMPAIGN_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_RESULTS_V·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·↳ AS_STATUSES_TL·Explore AST module →
-
View: AST_SALESOPP_UWQ_V 12.1.1
APPS.AST_SALESOPP_UWQ_V·↳ AS_ACCESSES_ALL·↳ AS_FORECAST_PROB_ALL_TL·↳ AS_LEADS_ALL·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_GROUP_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_SGRP_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_RESULTS_V·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·↳ AS_STATUSES_TL·Explore AST module →
-
View: AS_OPPORTUNITIES_V 12.1.1
view based on as_leads_all and hz_parties
APPS.AS_OPPORTUNITIES_V·↳ AS_LEADS_ALL·↳ HZ_PARTIES·Explore AS module →
-
View: AS_ACCESSES_ACTIVE_V 12.1.1
Contains active access records
APPS.AS_ACCESSES_ACTIVE_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_LOOKUPS·Explore AS module →
-
APPS.AST_OPPORTUNITIES_BALI_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LEADS_ALL·Explore AST module →
-
APPS.AST_OPPORTUNITIES_BALI_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LEADS_ALL·Explore AST module →
-
View: AS_LEADS 12.2.2
Sales opportunities (multi-org)
-
APPS.AST_LM_LEADS_QUICK_INT_PC_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_CAMPAIGN_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →