Search Results as_sales_leads
Overview
The AS_SALES_LEADS table is a core transactional entity within the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, residing in the OSM schema. As part of the Sales Foundation (AS) module, it serves as the central repository for storing all sales lead records. A sales lead represents a prospective sales opportunity, typically containing information about a potential customer, the product or service of interest, and the associated sales process. The table's primary role is to capture, track, and manage the lifecycle of these leads, from initial creation through qualification and conversion. Its extensive network of foreign key relationships, particularly with the Trading Community Architecture (TCA) foundation tables, underscores its integration with the broader EBS ecosystem for managing parties, contacts, and addresses.
Key Information Stored
The table's structure is defined by its primary and foreign keys, which indicate the critical data points it holds. The primary key, SALES_LEAD_ID, uniquely identifies each lead record. Essential foreign key columns define the lead's context and relationships: CUSTOMER_ID and PRIMARY_CNT_PERSON_PARTY_ID link to HZ_PARTIES to identify the lead's account and primary contact person. STATUS_CODE and LEAD_RANK_ID reference lookup tables (AS_STATUSES_B, AS_SALES_LEAD_RANKS_B) for the lead's current progression stage and priority ranking. The table also stores assignment information via ASSIGN_TO_SALESFORCE_ID (JTF_RS_RESOURCE_EXTNS) and ASSIGN_SALES_GROUP_ID (JTF_RS_GROUPS_B). Furthermore, it links to physical locations (ADDRESS_ID to HZ_PARTY_SITES), contact points (PRIMARY_CONTACT_PHONE_ID to HZ_CONTACT_POINTS), and associated marketing offers (OFFER_ID to AMS_ACT_OFFERS).
Common Use Cases and Queries
This table is central to lead management operations and reporting. Common use cases include generating lead pipeline reports, tracking lead conversion rates to opportunities, and managing sales team assignments. A typical query might join AS_SALES_LEADS with TCA and resource tables to create a comprehensive lead listing. For example:
SELECT sl.SALES_LEAD_ID, hp.PARTY_NAME Customer, sl.STATUS_CODE, jre.RESOURCE_NAME Assigned_To FROM OSM.AS_SALES_LEADS sl, HZ_PARTIES hp, JTF_RS_RESOURCE_EXTNS jre WHERE sl.CUSTOMER_ID = hp.PARTY_ID AND sl.ASSIGN_TO_SALESFORCE_ID = jre.RESOURCE_ID(+);
Another critical pattern involves querying leads converted to opportunities by joining with the AS_SALES_LEAD_OPPORTUNITY table. Performance tuning for such queries is essential, given the volume of data and the number of joins involved.
Related Objects
AS_SALES_LEADS has a wide array of dependencies, as shown in the metadata. It is the parent table for numerous child entities that store supplemental lead data, including AS_SALES_LEAD_LINES (for line items), AS_SALES_LEAD_CONTACTS (for additional contacts), and AS_SALES_LEADS_LOG (for audit history). Key transactional relationships exist with AS_SALES_LEAD_OPPORTUNITY for tracking converted leads and AS_ACCESSES_ALL_ALL for security. It is also referenced by objects in other modules, such as IGR_I_APPL_ALL and IGS_RC_I_APPL_ALL in Grants/Recruiting, PV_REFERRALS_B in Partner Management, and ASO_QUOTE_RELATED_OBJECTS in Quoting, demonstrating its cross-functional importance. For programmatic access, developers should utilize the standard Oracle Sales APIs rather than direct DML on this table.
-
Table: AS_SALES_LEADS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEADS, object_name:AS_SALES_LEADS, status:VALID, product: AS - Sales Foundation , description: Holds sales leads , implementation_dba_data: OSM.AS_SALES_LEADS ,
-
Table: AS_SALES_LEADS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEADS, object_name:AS_SALES_LEADS, status:VALID, product: AS - Sales Foundation , description: Holds sales leads , implementation_dba_data: OSM.AS_SALES_LEADS ,
-
APPS.BIM_I_LEAD_FACTS_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AST_ASN_INTEROP dependencies on AS_SALES_LEADS
12.1.1
-
APPS.IGR_INQUIRY_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_RANKS_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEADS_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_GAR_LEADS_PUB dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AST_UWQ_WRAPPER_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEADS_PUB dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_IMPORT_SL_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AST_UWQ_WRAPPER_PKG dependencies on AS_SALES_LEADS
12.2.2
-
APPS.PV_BENFT_STATUS_CHANGE dependencies on AS_SALES_LEADS
12.2.2
-
APPS.PV_ASSIGNMENT_PVT dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_LEAD_ROUTING_WF_CUHK dependencies on AS_SALES_LEADS
12.2.2
-
APPS.PV_SLSTEAM_MIGRTN_PVT dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AML_MONITOR_WF dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_SALES_LEAD_ENGINE_PVT dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_SALES_LEAD_LINES_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.PV_BENFT_STATUS_CHANGE dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_LEAD_ASSIGN_WF dependencies on AS_SALES_LEADS
12.1.1
-
APPS.PV_SLSTEAM_MIGRTN_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.IGR_IN_JTF_INTERACTIONS_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_AUTOCREATE_OPP dependencies on AS_SALES_LEADS
12.1.1
-
APPS.BIM_EDW_OPRNTIES_F_SIZE dependencies on AS_SALES_LEADS
12.1.1
-
APPS.BIM_EVENT_FACTS dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_LEAD_ROUTING_WF dependencies on AS_SALES_LEADS
12.1.1
-
APPS.JTF_TTY_CATCHALL_WORKFLOW dependencies on AS_SALES_LEADS
12.2.2
-
APPS.JTF_TTY_CATCHALL_WORKFLOW dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_GAR_LEADS_PUB dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_JTF_RS_GROUP_MEM_TRG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.BIM_LEAD_FACTS_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_LEAD_ROUTING_WF dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AMS_ACTMETRICS_SEED_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_ASSIGN_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_AGING_CONC_PUB dependencies on AS_SALES_LEADS
12.2.2
-
APPS.BIM_CAMPAIGN_FACTS dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_SALES_LEADS_MERGE_PKG dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_SALES_LEADS_PUB dependencies on AS_SALES_LEADS
12.2.2
-
APPS.BIM_EDW_LEADS_F_SIZE dependencies on AS_SALES_LEADS
12.1.1
-
APPS.BIX_DM_AGENT_CALL_SUMMARY_PKG dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_AGING_WF_PUB dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AML_INTERACTION_ENGINE dependencies on AS_SALES_LEADS
12.2.2
-
APPS.AS_SALES_LEADS_PVT dependencies on AS_SALES_LEADS
12.2.2
-
APPS.PV_REFERRAL_GENERAL_PUB dependencies on AS_SALES_LEADS
12.1.1
-
APPS.HZ_PURGE_GEN dependencies on AS_SALES_LEADS
12.2.2
-
APPS.BIM_EDW_LEADS_M_SIZE dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_ENGINE_PVT dependencies on AS_SALES_LEADS
12.1.1
-
APPS.AS_SALES_LEAD_REFERRAL dependencies on AS_SALES_LEADS
12.2.2