Search Results as_lead_contacts_all
Overview
The AS_LEAD_CONTACTS_ALL table is a core transactional entity within the Oracle E-Business Suite (EBS) Sales Foundation module (AS). It functions as the central repository for managing the relationship between sales opportunities (leads) and their associated contact persons. This table is essential for maintaining a complete profile of a sales lead, ensuring that all relevant individual contacts are linked, tracked, and accessible throughout the sales process. As a multi-organization enabled table, denoted by the "_ALL" suffix, it stores data across all operating units, with access typically controlled by the MO: Operating Unit profile option. Its primary role is to establish and enforce the many-to-many relationship between leads and contacts, a fundamental aspect of customer relationship management in the EBS architecture.
Key Information Stored
The table's structure is designed to link a lead to a contact while storing context-specific information about that relationship. The primary key is LEAD_CONTACT_ID, a unique system-generated identifier. Two critical foreign key columns form a unique constraint (AS_LEAD_CONTACTS_UK): LEAD_ID, which references the parent opportunity in AS_LEADS_ALL, and CONTACT_ID, which references the specific contact person in HZ_ORG_CONTACTS. Beyond these links, the table stores identifiers to other related entities to provide a complete contact point for the lead, including CONTACT_PARTY_ID (linking to the party in HZ_PARTIES), CUSTOMER_ID (linking to the customer account), ADDRESS_ID (for the contact's site from HZ_PARTY_SITES), and PHONE_ID (for a primary contact point from HZ_CONTACT_POINTS). Additional columns typically track creation and last update dates, the creating and last updating user, and the active status of the link.
Common Use Cases and Queries
This table is central to reporting and operations involving lead contacts. Common use cases include generating contact lists for a specific sales lead, analyzing the number of contacts per opportunity, and validating data integrity between leads and the Trading Community Architecture (TCA) registry. A typical query retrieves all active contacts for a given lead, joining to TCA tables for detailed information:
- SELECT alc.lead_id, hoc.party_id, hp.party_name, hcp.phone_number FROM as_lead_contacts_all alc, hz_org_contacts hoc, hz_parties hp, hz_contact_points hcp WHERE alc.contact_id = hoc.contact_id AND hoc.party_id = hp.party_id AND alc.phone_id = hcp.contact_point_id(+) AND alc.lead_id = :p_lead_id;
Data is primarily created, updated, and deleted via the Oracle Sales Online (OSO) user interface or through public APIs provided by the AS module, which ensure proper validation against related TCA entities.
Related Objects
AS_LEAD_CONTACTS_ALL has extensive dependencies within the EBS data model, primarily with the Trading Community Architecture (TCA) and the Sales Foundation module. Its key relationships are:
- AS_LEADS_ALL: The primary parent table for the sales opportunity (LEAD_ID).
- HZ_ORG_CONTACTS & HZ_PARTIES: The source for the contact person's master record (CONTACT_ID, CONTACT_PARTY_ID).
- HZ_PARTY_SITES: Provides the contact's address (ADDRESS_ID).
- HZ_CONTACT_POINTS: Provides phone, email, or web contact details (PHONE_ID).
- HZ_PARTIES (Customer): Links to the customer account party (CUSTOMER_ID).
Development or reporting involving lead contacts must consistently join to these TCA tables to retrieve meaningful descriptive information, as AS_LEAD_CONTACTS_ALL primarily stores relational identifiers.
-
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 ,
-
APPS.HZ_PURGE_GEN dependencies on AS_LEAD_CONTACTS_ALL
12.2.2
-
APPS.PV_SQL_UTILITY dependencies on AS_LEAD_CONTACTS_ALL
12.2.2
-
APPS.PV_SQL_UTILITY dependencies on AS_LEAD_CONTACTS_ALL
12.1.1
-
APPS.AS_OPP_MERGE_PKG dependencies on AS_LEAD_CONTACTS_ALL
12.2.2
-
APPS.AS_SALES_LEAD_OPP_PVT dependencies on AS_LEAD_CONTACTS_ALL
12.2.2
-
APPS.HZ_PURGE_GEN dependencies on AS_LEAD_CONTACTS_ALL
12.1.1
-
APPS.AS_OPP_MERGE_PKG dependencies on AS_LEAD_CONTACTS_ALL
12.1.1
-
APPS.AS_SALES_LEAD_OPP_PVT dependencies on AS_LEAD_CONTACTS_ALL
12.1.1
-
VIEW: APPS.AS_LEAD_CONTACTS_ALL_DFV
12.1.1
-
SYNONYM: APPS.AS_LEAD_CONTACTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_LEAD_CONTACTS_ALL, status:VALID,
-
VIEW: APPS.AMS_LEAD_CONTACTS_V
12.1.1
-
VIEW: APPS.AS_LEAD_CONTACTS_ALL_DFV
12.2.2
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS
12.1.1
-
APPS.PV_SQL_UTILITY dependencies on HZ_RELATIONSHIPS
12.1.1
-
SYNONYM: APPS.AS_LEAD_CONTACTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_LEAD_CONTACTS_ALL, status:VALID,
-
VIEW: OSM.AS_LEAD_CONTACTS_ALL#
12.2.2
owner:OSM, object_type:VIEW, object_name:AS_LEAD_CONTACTS_ALL#, status:VALID,
-
VIEW: APPS.AS_LEAD_CONTACTS
12.2.2
-
VIEW: APPS.AMS_LEAD_CONTACTS_V
12.2.2
-
APPS.PV_SQL_UTILITY dependencies on HZ_PARTIES
12.1.1
-
APPS.PV_SQL_UTILITY dependencies on HZ_PARTIES
12.2.2
-
VIEW: APPS.AS_LEAD_CONTACTS
12.1.1
-
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 ,
-
VIEW: OSM.AS_LEAD_CONTACTS_ALL#
12.2.2
-
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 ,
-
APPS.PV_SQL_UTILITY dependencies on HZ_RELATIONSHIPS
12.2.2
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS
12.2.2
-
APPS.AS_OPP_MERGE_PKG SQL Statements
12.2.2
-
APPS.AS_OPP_MERGE_PKG SQL Statements
12.1.1
-
VIEW: APPS.AS_LEAD_CONTACTS_ALL_DFV
12.1.1
owner:APPS, object_type:VIEW, object_name:AS_LEAD_CONTACTS_ALL_DFV, status:VALID,
-
VIEW: APPS.AST_LM_OPP_EXP_CR_TYPE_V
12.1.1
-
VIEW: APPS.AST_LM_OPP_EXP_CR_TYPE_V
12.2.2
-
PACKAGE BODY: APPS.AS_OPP_MERGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AS_OPP_MERGE_PKG, status:VALID,
-
Table: RA_PHONES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_PHONES, object_name:RA_PHONES, status:VALID, product: AR - Receivables , description: Telephone and communications information , implementation_dba_data: AR.RA_PHONES ,
-
Table: RA_PHONES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_PHONES, object_name:RA_PHONES, status:VALID, product: AR - Receivables , description: Telephone and communications information , implementation_dba_data: AR.RA_PHONES ,
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS_V
12.1.1
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS_V
12.2.2
-
PACKAGE BODY: APPS.AS_OPP_MERGE_PKG
12.2.2
-
APPS.PV_SQL_UTILITY dependencies on HZ_CONTACT_POINTS
12.2.2
-
TABLE: OSM.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,
-
PACKAGE BODY: APPS.PV_SQL_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PV_SQL_UTILITY, status:VALID,
-
TABLE: OSM.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,
-
Primary Key: RA_CONTACTS_PK
12.2.2
-
Primary Key: RA_CONTACTS_PK
12.1.1
-
Table: HZ_CONTACT_POINTS
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CONTACT_POINTS, object_name:HZ_CONTACT_POINTS, status:VALID, product: AR - Receivables , description: Electronic methods of communicating with parties , implementation_dba_data: AR.HZ_CONTACT_POINTS ,
-
APPS.PV_SQL_UTILITY SQL Statements
12.1.1
-
VIEW: APPS.AS_LEAD_CONTACTS_ALL_DFV
12.2.2
owner:APPS, object_type:VIEW, object_name:AS_LEAD_CONTACTS_ALL_DFV, status:VALID,
-
VIEW: APPS.AST_LM_OPP_EXPANDED_V
12.1.1
-
VIEW: APPS.AST_LM_OPP_EXPANDED_V
12.2.2