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 ,
-
Table: AS_LEAD_CONTACTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_CONTACTS_ALL, object_name:AS_LEAD_CONTACTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains contacts linked to sales opportunities , implementation_dba_data: OSM.AS_LEAD_CONTACTS_ALL ,
-
Table: AS_LEAD_CONTACTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_CONTACTS_ALL, object_name:AS_LEAD_CONTACTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains contacts linked to sales opportunities , implementation_dba_data: OSM.AS_LEAD_CONTACTS_ALL ,
-
Table: AS_SALES_STAGES_ALL_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_STAGES_ALL_B, object_name:AS_SALES_STAGES_ALL_B, status:VALID, product: AS - Sales Foundation , description: Defines sales stages , implementation_dba_data: OSM.AS_SALES_STAGES_ALL_B ,
-
Table: AS_SALES_STAGES_ALL_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_STAGES_ALL_B, object_name:AS_SALES_STAGES_ALL_B, status:VALID, product: AS - Sales Foundation , description: Defines sales stages , implementation_dba_data: OSM.AS_SALES_STAGES_ALL_B ,
-
Table: AS_ACCESSES_ALL_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_ACCESSES_ALL_ALL, object_name:AS_ACCESSES_ALL_ALL, status:VALID, product: AS - Sales Foundation , description: Contains employee and partner access records for customers, sales leads and opportunities , implementation_dba_data: OSM.AS_ACCESSES_ALL_ALL ,
-
Table: AS_INTERESTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_LEAD_LINES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_LINES_ALL, object_name:AS_LEAD_LINES_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunity lines , implementation_dba_data: OSM.AS_LEAD_LINES_ALL ,
-
Table: AS_ACCESSES_ALL_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_ACCESSES_ALL_ALL, object_name:AS_ACCESSES_ALL_ALL, status:VALID, product: AS - Sales Foundation , description: Contains employee and partner access records for customers, sales leads and opportunities , implementation_dba_data: OSM.AS_ACCESSES_ALL_ALL ,
-
Table: AS_INTERESTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_SALES_CREDITS_DENORM
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
Table: AS_LEAD_LINES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_LINES_ALL, object_name:AS_LEAD_LINES_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunity lines , implementation_dba_data: OSM.AS_LEAD_LINES_ALL ,
-
Table: AS_SALES_CREDITS_DENORM
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
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: 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 ,
-
Table: AS_CHANGED_ACCOUNTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CHANGED_ACCOUNTS_ALL, object_name:AS_CHANGED_ACCOUNTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains changed accounts , implementation_dba_data: OSM.AS_CHANGED_ACCOUNTS_ALL ,
-
Table: AS_LEAD_OBSTACLES
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_OBSTACLES, object_name:AS_LEAD_OBSTACLES, status:VALID, product: AS - Sales Foundation , description: Defines obstacles for sales opportunities , implementation_dba_data: OSM.AS_LEAD_OBSTACLES ,
-
Table: AS_LEAD_OBSTACLES
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_OBSTACLES, object_name:AS_LEAD_OBSTACLES, status:VALID, product: AS - Sales Foundation , description: Defines obstacles for sales opportunities , implementation_dba_data: OSM.AS_LEAD_OBSTACLES ,
-
Table: AS_LEAD_ORDERS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_ORDERS, object_name:AS_LEAD_ORDERS, status:VALID, product: AS - Sales Foundation , description: Contains orders resulting from sales opportunities , implementation_dba_data: OSM.AS_LEAD_ORDERS ,
-
Table: AS_LEADS_LOG
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_LOG, object_name:AS_LEADS_LOG, status:VALID, product: AS - Sales Foundation , description: Holds opportunity header change history , implementation_dba_data: OSM.AS_LEADS_LOG ,
-
Table: AS_LEADS_LOG
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEADS_LOG, object_name:AS_LEADS_LOG, status:VALID, product: AS - Sales Foundation , description: Holds opportunity header change history , implementation_dba_data: OSM.AS_LEADS_LOG ,
-
Table: AS_LEAD_LOG
12.2.2
product: AS - Sales Foundation , description: Holds opportunity change history , implementation_dba_data: Not implemented in this database ,
-
Table: AS_LEAD_COMP_PRODUCTS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_COMP_PRODUCTS, object_name:AS_LEAD_COMP_PRODUCTS, status:VALID, product: AS - Sales Foundation , description: Holds competitor products , implementation_dba_data: OSM.AS_LEAD_COMP_PRODUCTS ,
-
Table: AS_LEAD_COMPETITORS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_COMPETITORS, object_name:AS_LEAD_COMPETITORS, status:VALID, product: AS - Sales Foundation , description: Defines competitors for sales opportunities , implementation_dba_data: OSM.AS_LEAD_COMPETITORS ,
-
Table: AS_LEAD_COMPETITORS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_COMPETITORS, object_name:AS_LEAD_COMPETITORS, status:VALID, product: AS - Sales Foundation , description: Defines competitors for sales opportunities , implementation_dba_data: OSM.AS_LEAD_COMPETITORS ,
-
Table: AS_LEAD_ORDERS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_ORDERS, object_name:AS_LEAD_ORDERS, status:VALID, product: AS - Sales Foundation , description: Contains orders resulting from sales opportunities , implementation_dba_data: OSM.AS_LEAD_ORDERS ,
-
Table: AS_TERR_RESOURCES_TMP
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERR_RESOURCES_TMP, object_name:AS_TERR_RESOURCES_TMP, status:VALID, product: AS - Sales Foundation , description: Hold territory assignment results. , implementation_dba_data: OSM.AS_TERR_RESOURCES_TMP ,
-
Table: AS_LEAD_COMP_PRODUCTS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_COMP_PRODUCTS, object_name:AS_LEAD_COMP_PRODUCTS, status:VALID, product: AS - Sales Foundation , description: Holds competitor products , implementation_dba_data: OSM.AS_LEAD_COMP_PRODUCTS ,
-
Table: AS_TERR_RESOURCES_TMP
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERR_RESOURCES_TMP, object_name:AS_TERR_RESOURCES_TMP, status:VALID, product: AS - Sales Foundation , description: Hold territory assignment results. , implementation_dba_data: OSM.AS_TERR_RESOURCES_TMP ,
-
Table: AS_LEAD_LOG
12.1.1
product: AS - Sales Foundation , description: Holds opportunity change history , implementation_dba_data: Not implemented in this database ,
-
Table: AS_SALES_LEAD_OPPORTUNITY
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_OPPORTUNITY, object_name:AS_SALES_LEAD_OPPORTUNITY, status:VALID, product: AS - Sales Foundation , description: Holds the linking information between sales leads and opportunity. Records can not be deleted. , implementation_dba_data: OSM.AS_SALES_LEAD_OPPORTUNITY ,
-
Table: AS_SALES_LEAD_OPPORTUNITY
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_OPPORTUNITY, object_name:AS_SALES_LEAD_OPPORTUNITY, status:VALID, product: AS - Sales Foundation , description: Holds the linking information between sales leads and opportunity. Records can not be deleted. , implementation_dba_data: OSM.AS_SALES_LEAD_OPPORTUNITY ,
-
Table: AS_SALES_METHODOLOGY_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_METHODOLOGY_B, object_name:AS_SALES_METHODOLOGY_B, status:VALID, product: AS - Sales Foundation , description: Define Sales Methodologies , implementation_dba_data: OSM.AS_SALES_METHODOLOGY_B ,
-
Table: AS_CHANGED_ACCOUNTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CHANGED_ACCOUNTS_ALL, object_name:AS_CHANGED_ACCOUNTS_ALL, status:VALID, product: AS - Sales Foundation , description: Contains changed accounts , implementation_dba_data: OSM.AS_CHANGED_ACCOUNTS_ALL ,
-
Table: AS_SALES_METHODOLOGY_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_METHODOLOGY_B, object_name:AS_SALES_METHODOLOGY_B, status:VALID, product: AS - Sales Foundation , description: Define Sales Methodologies , implementation_dba_data: OSM.AS_SALES_METHODOLOGY_B ,
-
Table: AS_OPP_WORKSHEET_LINES
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_OPP_WORKSHEET_LINES, object_name:AS_OPP_WORKSHEET_LINES, status:VALID, product: AS - Sales Foundation , description: Table to store the forecast information on all possible opportunities for individual or sales group , implementation_dba_data: OSM.AS_OPP_WORKSHEET_LINES ,
-
Table: AS_STATUSES_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_STATUSES_B, object_name:AS_STATUSES_B, status:VALID, product: AS - Sales Foundation , description: Hold three types of status, opportunity, lead and quote , implementation_dba_data: OSM.AS_STATUSES_B ,
-
Table: AS_FORECAST_PROB_ALL_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_FORECAST_PROB_ALL_B, object_name:AS_FORECAST_PROB_ALL_B, status:VALID, product: AS - Sales Foundation , description: AS_FORECAST_PROB_ALL defines win probability values for sales , implementation_dba_data: OSM.AS_FORECAST_PROB_ALL_B ,
-
Table: AS_STATUSES_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_STATUSES_B, object_name:AS_STATUSES_B, status:VALID, product: AS - Sales Foundation , description: Hold three types of status, opportunity, lead and quote , implementation_dba_data: OSM.AS_STATUSES_B ,
-
Table: AS_SALES_CREDITS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS, object_name:AS_SALES_CREDITS, status:VALID, product: AS - Sales Foundation , description: Holds sales credits , implementation_dba_data: OSM.AS_SALES_CREDITS ,
-
Table: AS_SALES_CREDITS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS, object_name:AS_SALES_CREDITS, status:VALID, product: AS - Sales Foundation , description: Holds sales credits , implementation_dba_data: OSM.AS_SALES_CREDITS ,
-
Table: AS_FORECAST_PROB_ALL_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_FORECAST_PROB_ALL_B, object_name:AS_FORECAST_PROB_ALL_B, status:VALID, product: AS - Sales Foundation , description: AS_FORECAST_PROB_ALL defines win probability values for sales , implementation_dba_data: OSM.AS_FORECAST_PROB_ALL_B ,
-
Table: AS_OPP_WORKSHEET_LINES
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_OPP_WORKSHEET_LINES, object_name:AS_OPP_WORKSHEET_LINES, status:VALID, product: AS - Sales Foundation , description: Table to store the forecast information on all possible opportunities for individual or sales group , implementation_dba_data: OSM.AS_OPP_WORKSHEET_LINES ,
-
View: ASFV_SALES_COMPETITORS
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: ASFV_SALES_COMPETITORS
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: ASBV_SALES_OPPORTUNITIES
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_TAP_OPPORTUNITIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_TAP_OPPORTUNITIES_V, object_name:AS_TAP_OPPORTUNITIES_V, status:VALID, product: AS - Sales Foundation , description: For TAP use , implementation_dba_data: APPS.AS_TAP_OPPORTUNITIES_V ,
-
View: ASBV_SALES_OPPORTUNITIES
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: AS_TAP_OPPORTUNITIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_TAP_OPPORTUNITIES_V, object_name:AS_TAP_OPPORTUNITIES_V, status:VALID, product: AS - Sales Foundation , description: For TAP use , implementation_dba_data: APPS.AS_TAP_OPPORTUNITIES_V ,