Results for “lead_id”
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: AST_SALESOPP_UWQ_REF_V 12.1.1
APPS.AST_SALESOPP_UWQ_REF_V·↳ AS_ACCESSES_ALL·↳ AS_SALES_CREDITS·Explore AST module →
-
View: AST_SALESOPP_UWQ_REF_V 12.2.2
APPS.AST_SALESOPP_UWQ_REF_V·↳ AS_ACCESSES_ALL·↳ AS_SALES_CREDITS·Explore AST module →
-
APPS.AST_SALESOPP_UWQ_REF_SUB_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_CREDITS·Explore AST module →
-
APPS.AST_MYTEAM_SALESOPP_UWQ_REF_V·↳ AS_ACCESSES_ALL·Explore AST module →
-
APPS.AST_MYTEAM_SALESOPP_UWQ_REF_V·↳ AS_ACCESSES_ALL·Explore AST module →
-
Denormalized table containing the opportunity log id's used for populating opportunity detail summary table.
-
View: AS_SALES_LEAD_UWQ_V 12.1.1
This view is used for Universal Work Queue
APPS.AS_SALES_LEAD_UWQ_V·↳ AS_SALES_LEADS·↳ AS_STATUSES_B·↳ AS_STATUSES_TL·Explore AS module →
-
View: BIM_FCTV_SALES_CYCLE 12.1.1
Used by the concurrent programs to load the summary tables.
APPS.BIM_FCTV_SALES_CYCLE·↳ AMS_PARTY_MARKET_SEGMENTS·↳ ASO_I_ORDER_HEADERS_V·↳ ASO_QUOTE_RELATED_OBJECTS·Explore BIM module →
-
View: JTF_EXCEPTIONS 12.1.1
Same as JTF_EXCEPTIONS_ALL
APPS.JTF_EXCEPTIONS·↳ JTF_EXCEPTIONS_ALL·Explore JTF module →
-
Stores the Notes information for a lead in partner's OSO database.
-
Stores the exceptions to a territory. Not used.
-
Stores the sales rep information for a lead in partner's OSO database.
-
APPS.AST_SALESOPP_UWQ_REF_SUB_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_CREDITS·Explore AST module →
-
Stores the Notes information for a lead in partner's OSO database.
-
Hold territory assignment results.
-
Contains changed accounts - obsolete
-
View: AST_PLIST_REF_UWQ_V 12.1.1
APPS.AST_PLIST_REF_UWQ_V·↳ AMS_LIST_ENTRIES·↳ AMS_LIST_HEADERS_ALL·Explore AST module →
-
For Lead Sharing use
-
Lead assignment notifications through workflow
-
View: PV_ROUTING_HISTORY_V 12.1.1
Routing history view
APPS.PV_ROUTING_HISTORY_V·↳ JTF_RS_RESOURCE_EXTNS·↳ PV_ASSIGNMENT_LOGS·↳ PV_LEAD_ASSIGNMENTS·Explore PV module →
-
View: AS_SALES_LEAD_UWQ_V 12.2.2
This view is used for Universal Work Queue
APPS.AS_SALES_LEAD_UWQ_V·↳ AS_SALES_LEADS·↳ AS_STATUSES_B·↳ AS_STATUSES_TL·Explore AS module →
-
For Lead Sharing use
-
View: JTF_EXCEPTIONS 12.2.2
Same as JTF_EXCEPTIONS_ALL
APPS.JTF_EXCEPTIONS·↳ JTF_EXCEPTIONS_ALL·Explore JTF module →
-
Stores the contact information for a lead in partner's OSO database.
-
View: BIM_FCTV_SALES_CYCLE 12.2.2
Used by the concurrent programs to load the summary tables.
APPS.BIM_FCTV_SALES_CYCLE·↳ AMS_PARTY_MARKET_SEGMENTS·↳ ASO_I_ORDER_HEADERS_V·↳ ASO_QUOTE_RELATED_OBJECTS·Explore BIM module →
-
Stores the contact information for a lead in partner's OSO database.
-
Staging table for sales open and pipeline amounts
-
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 →
-
Hold territory assignment results.
-
This table is used to store the opportunity routing history
-
APPS.AST_PLIST_REF_OPP_UWQ_V·↳ AMS_LIST_ENTRIES·↳ AMS_LIST_HEADERS_ALL·↳ AS_LEADS_ALL·Explore AST module →
-
Lead assignments log
-
Lead assignments log
-
Stores the exceptions to a territory. Not used.
-
View: AST_PLIST_REF_UWQ_V 12.2.2
APPS.AST_PLIST_REF_UWQ_V·↳ AMS_LIST_ENTRIES·↳ AMS_LIST_HEADERS_ALL·Explore AST module →
-
APPS.AST_LM_OPP_QUICK_SREP_V·↳ AS_ACCESSES_ALL·↳ AS_LEADS_ALL·↳ AS_SALES_STAGES_ALL_TL·Explore AST module →
-
View: PV_ROUTING_HISTORY_V 12.2.2
Routing history view
APPS.PV_ROUTING_HISTORY_V·↳ JTF_RS_RESOURCE_EXTNS·↳ PV_ASSIGNMENT_LOGS·↳ PV_LEAD_ASSIGNMENTS·Explore PV module →
-
APPS.AST_PLIST_REF_OPP_UWQ_V·↳ AMS_LIST_ENTRIES·↳ AMS_LIST_HEADERS_ALL·↳ AS_LEADS_ALL·Explore AST module →
-
Holds data for opportunity log status summary