Search Results as_leads_all
Overview
The AS_LEADS_ALL table is a core transactional entity within the Oracle E-Business Suite Sales Foundation module (AS). It serves as the central repository for storing sales opportunity data, commonly referred to as leads or opportunities, across the enterprise. As a multi-organization table, denoted by the "_ALL" suffix, it contains data for all operating units, with access typically governed by the MO: Operating Unit security profile. Its primary role is to track the entire lifecycle of a sales opportunity, from initial creation through qualification, forecasting, and ultimately to closure (won or lost). The table's extensive foreign key relationships with other fundamental EBS modules, such as Trading Community Architecture (HZ), Receivables (RA), and Resource Manager (JTF), underscore its critical integration point for customer, financial, and sales force data.
Key Information Stored
The table's structure captures comprehensive details for each sales opportunity. The primary key is the system-generated LEAD_ID. Essential columns include identifiers for the involved CUSTOMER_ID (linked to HZ_PARTIES and RA_CUSTOMERS) and ADDRESS_ID. It tracks ownership and assignment via OWNER_SALESFORCE_ID (linked to JTF_RS_RESOURCE_EXTNS) and OWNER_SALES_GROUP_ID. The sales process is managed through links to SALES_STAGE_ID (AS_SALES_STAGES_ALL_B) and SALES_METHODOLOGY_ID. Financial aspects are recorded with CURRENCY_CODE, revenue amounts, and WIN_PROBABILITY. The table also holds data for opportunity source (SOURCE_PROMOTION_ID), status (STATUS), close competitor (CLOSE_COMPETITOR_ID), and key dates for creation, last update, and close.
Common Use Cases and Queries
This table is fundamental for sales pipeline management, forecasting, and performance reporting. Common operational and analytical queries include extracting the open opportunity pipeline by salesperson or team, calculating weighted revenue forecasts, and analyzing win/loss rates by stage or competitor. A typical query to retrieve active opportunities for a specific sales group would join to resource and customer tables:
- SELECT l.lead_id, l.NAME, l.AMOUNT, l.CURRENCY_CODE, s.STAGE_NAME, p.PARTY_NAME FROM AS_LEADS_ALL l, AS_SALES_STAGES_ALL_B s, HZ_PARTIES p WHERE l.SALES_STAGE_ID = s.STAGE_ID AND l.CUSTOMER_ID = p.PARTY_ID AND l.OWNER_SALES_GROUP_ID = :group_id AND l.STATUS = 'OPEN';
Data from AS_LEADS_ALL is also frequently accessed via Oracle's Sales APIs for programmatic creation, update, and conversion of leads, and is a primary source for embedded CRM dashboards and standard reports like the Opportunity Detail and Pipeline Summary.
Related Objects
AS_LEADS_ALL has a wide array of dependent and associated objects, reflecting its central role. Key child tables that store detailed information for each lead include AS_LEAD_LINES_ALL (for products/items), AS_LEAD_CONTACTS_ALL, AS_LEAD_COMPETITORS, and AS_INTERESTS_ALL. It is referenced by audit and history tables such as AS_LEAD_LOG and AS_CHANGED_ACCOUNTS_ALL. Crucially, it maintains foreign key relationships with master data tables: HZ_PARTIES and RA_CUSTOMERS for customer data, JTF_RS_RESOURCE_EXTNS for sales resources, FND_CURRENCIES, AS_STATUSES_B, and AS_SALES_STAGES_ALL_B. The relationship with ASO_QUOTE_RELATED_OBJECTS facilitates integration with the Quoting module, linking opportunities to formal quotes.
-
Table: AS_LEADS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_ALL, object_name:AS_LEADS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunities , implementation_dba_data: OSM.AS_LEADS_ALL ,
-
Table: AS_LEADS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_ALL, object_name:AS_LEADS_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunities , implementation_dba_data: OSM.AS_LEADS_ALL ,
-
APPS.ASN_MIG_SALES_TEAM_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.BIM_LEAD_FACTS_PKG dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_OPP_COMPETITOR_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PA_PROJECT_REQUEST_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.BIM_LEAD_FACTS_PKG dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_OPP_MATCH_PUB dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PV_SLSTEAM_MIGRTN_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_OPP_HEADER_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.BIM_EDW_OPPORTUNITIES_M_SIZE dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_OPPORTUNITY_VHUK dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_JTF_RS_GROUP_MEM_TRG dependencies on AS_LEADS_ALL
12.1.1
-
APPS.JTF_TTY_CATCHALL_WORKFLOW dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_LEADS_AUDIT_PKG dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_GAR_OPPTYS_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_VALIDATE_SETUP dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_ASSIGNMENT_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_ASSIGNMENT_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_SALES_METH_WF dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_OPP_COPY_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PV_BG_PARTNER_MATCHING_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.BIM_EDW_OPRNTIES_F_SIZE dependencies on AS_LEADS_ALL
12.1.1
-
APPS.ASO_APR_WF_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_SC_DENORM dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_PIPELINE_MOVE_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.ASO_OPP_QTE_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.ASN_MIG_SALES_TEAM_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PA_PROJECT_REQUEST_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_OPPTY_ROUTING_LOG dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_OPP_SALES_CREDIT_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_LEADS_PKG dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_MATCH_V2_PUB dependencies on AS_LEADS_ALL
12.1.1
-
APPS.ASN_MIG_SALES_CREDITS_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.ASO_APR_WF_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AST_ASN_INTEROP dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PV_OPPTY_ROUTING_LOG dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_ACCESS_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_BUSINESS_EVENT_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_OPP_HEADER_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PA_PROJECT_REQUEST_PUB dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_OSI_LEAD_PUB dependencies on AS_LEADS_ALL
12.2.2
-
APPS.AS_STATUSES_PKG dependencies on AS_LEADS_ALL
12.2.2
-
APPS.PV_PARTNER_TREND_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_SALES_LEAD_OPP_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AS_OPP_COMPETITOR_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AS_LEADS_ALL
12.1.1
-
APPS.PV_ASSIGN_UTIL_PVT dependencies on AS_LEADS_ALL
12.1.1