Search Results lead_contact
Overview
APPS.AST_LM_OPP_EXP_CR_TYPE_V is a reporting view in Oracle E-Business Suite that consolidates lead, opportunity, contact, and sales-credit information into a single denormalized projection. The name follows the ETRM (Enterprise Territory and Resource Management) naming convention, where "OPP" denotes opportunity, "EXP" denotes export, and "CR_TYPE" denotes credit type. It joins the lead and opportunity base tables with party, party-site, location, relationship, sales-stage, status, channel, campaign-source, and sales-credit-type objects to expose a flattened record suitable for extraction, analytics, and integration interfaces.
The view is especially relevant for users searching on "lead_contact", because contact resolution flows through AS_LEAD_CONTACTS_ALL and HZ_RELATIONSHIPS. It exposes both the identified contact party and the contact's first and last names, making it the primary object for reporting on which individual is associated with a given lead or opportunity.
Underlying Base Objects
The view is defined over the following documented objects: AMS_SOURCE_CODES, AS_LEADS_ALL, AS_LEAD_CONTACTS_ALL, AS_SALES_CREDITS, AS_SALES_STAGES_ALL_TL, AS_STATUSES_TL, HZ_LOCATIONS, HZ_PARTIES, HZ_PARTY_SITES, HZ_RELATIONSHIPS, OE_LOOKUPS, and OE_SALES_CREDIT_TYPES. Within APPS these are referenced as synonyms, with OE_LOOKUPS exposed as a view.
The FROM clause anchors on AS_LEADS_ALL (aliased OPP). AS_LEAD_CONTACTS_ALL is outer-joined on lead_id so leads without a contact still return. HZ_PARTIES is joined on customer_id for the account name and type; a second instance (PARTY1) is reached through HZ_RELATIONSHIPS to resolve the contact party. HZ_PARTY_SITES and HZ_LOCATIONS supply address attributes through location_id and party_site_id. AS_SALES_STAGES_ALL_TL and AS_STATUSES_TL provide translated sales-stage and status descriptions, OE_LOOKUPS supplies the channel meaning, and AMS_SOURCE_CODES resolves the campaign source. AS_SALES_CREDITS links the lead to OE_SALES_CREDIT_TYPES, which supplies the credit type name.
Key Columns
- LEAD_ID, LEAD_NUMBER, CUSTOMER_ID, ORG_ID — lead identity and multi-org context.
- CUSTOMER_NAME, PARTY_TYPE — account name and classification from HZ_PARTIES.
- SALES_STAGE_ID, SALES_STAGE, STATUS_CODE, STATUS — stage and status identifiers plus translated descriptions.
- REVENUE_AMOUNT, TOTAL_AMOUNT, CURRENCY_CODE, WIN_PROBABILITY, DECISION_DATE — opportunity financial and forecast attributes.
- CONTACT_FIRST_NAME, CONTACT_LAST_NAME, PARTY_ID — the resolved lead contact, central to "lead_contact" queries.
- ADDRESS1–POSTAL_CODE, LOCATION_ID, PARTY_SITE_ID — contact site and location details.
- CREDIT_TYPE_ID, NAME — sales-credit type from OE_SALES_CREDIT_TYPES.
- ATTRIBUTE1–ATTRIBUTE15, ATTRIBUTE_CATEGORY — DFF columns for descriptive flexfields.
- CREATION_DATE, LAST_UPDATE_DATE — audit columns for incremental extraction.
Common Use Cases and Queries
Typical uses include lead-to-contact reporting, opportunity pipeline extracts, and territory or credit-type analytics. The outer joins on AS_LEAD_CONTACTS_ALL and HZ_RELATIONSHIPS mean the view returns rows even when no contact exists, so callers must expect NULL contact values. A representative query retrieves leads and their contacts:
- SELECT lead_number, customer_name, contact_first_name, contact_last_name, status FROM apps.ast_lm_opp_exp_cr_type_v WHERE org_id = :p_org_id;
- Filter by partial names: WHERE UPPER(contact_last_name) LIKE 'SM%'.
- Incremental extracts: WHERE last_update_date >= :p_since.
- Grouping by credit type: SELECT name, COUNT(*) FROM apps.ast_lm_opp_exp_cr_type_v GROUP BY name.
Because the view joins eleven base objects, unconstrained queries can be costly; restricting on ORG_ID, LEAD_ID, or LAST_UPDATE_DATE is recommended for production reporting and integration loads.
-
VIEW: APPS.AST_LM_OPP_EXP_CR_TYPE_V
12.1.1
-
VIEW: APPS.AST_LM_OPP_EXP_CR_TYPE_V
12.2.2
-
VIEW: APPS.AS_SALES_LEAD_CONTACTS_V
12.1.1
-
VIEW: APPS.AS_SALES_LEAD_CONTACTS_V
12.2.2
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS_V
12.1.1
-
VIEW: APPS.AS_OPPORTUNITY_CONTACTS_V
12.2.2
-
VIEW: APPS.AST_LM_OPP_EXPANDED_V
12.1.1
-
VIEW: APPS.AST_LM_OPP_EXPANDED_V
12.2.2
-
VIEW: APPS.AST_OPPORTUNITY_CONTACT_V
12.1.1
-
VIEW: APPS.AST_OPPORTUNITY_CONTACT_V
12.2.2
-
View: AST_LS_OPP_SREP_ADV_V
12.1.1
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LS_OPP_SREP_ADV_V
12.2.2
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AS_OPPORTUNITY_CONTACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_CONTACTS_V, object_name:AS_OPPORTUNITY_CONTACTS_V, status:VALID, product: AS - Sales Foundation , description: View to provide opportunity contact details. , implementation_dba_data: APPS.AS_OPPORTUNITY_CONTACTS_V ,
-
View: AST_LS_OPPORTUNITIES_V
12.2.2
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
View: AST_LM_OPP_EXP_CR_TYPE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_LM_OPP_EXP_CR_TYPE_V, object_name:AST_LM_OPP_EXP_CR_TYPE_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_LM_OPP_EXP_CR_TYPE_V ,
-
VIEW: APPS.AST_MYTEAM_SALESOPP_UWQ_V
12.2.2
-
VIEW: APPS.AST_MYTEAM_SALESOPP_CODE_UWQ_V
12.2.2
-
VIEW: APPS.AST_SALESOPP_UWQ_V
12.2.2
-
View: AST_LS_OPPORTUNITIES_V
12.1.1
product: AST - TeleSales , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.AST_MYTEAM_SALESOPP_CODE_UWQ_V
12.1.1
-
VIEW: APPS.AST_MYTEAM_SALESOPP_NAME_UWQ_V
12.2.2
-
VIEW: APPS.AST_SALESOPP_UWQ_V
12.1.1
-
View: AS_SALES_LEAD_CONTACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_LEAD_CONTACTS_V, object_name:AS_SALES_LEAD_CONTACTS_V, status:VALID, product: AS - Sales Foundation , description: sales lead contact details , implementation_dba_data: APPS.AS_SALES_LEAD_CONTACTS_V ,
-
View: AS_SALES_LEAD_CONTACTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_SALES_LEAD_CONTACTS_V, object_name:AS_SALES_LEAD_CONTACTS_V, status:VALID, product: AS - Sales Foundation , description: sales lead contact details , implementation_dba_data: APPS.AS_SALES_LEAD_CONTACTS_V ,
-
VIEW: APPS.AST_MYTEAM_SALESOPP_NAME_UWQ_V
12.1.1
-
VIEW: APPS.AST_MYTEAM_SALESOPP_UWQ_V
12.1.1
-
View: AS_OPPORTUNITY_CONTACTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_OPPORTUNITY_CONTACTS_V, object_name:AS_OPPORTUNITY_CONTACTS_V, status:VALID, product: AS - Sales Foundation , description: View to provide opportunity contact details. , implementation_dba_data: APPS.AS_OPPORTUNITY_CONTACTS_V ,
-
View: AST_LM_OPP_EXPANDED_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_LM_OPP_EXPANDED_V, object_name:AST_LM_OPP_EXPANDED_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_LM_OPP_EXPANDED_V ,
-
View: AST_LM_OPP_EXPANDED_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_LM_OPP_EXPANDED_V, object_name:AST_LM_OPP_EXPANDED_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_LM_OPP_EXPANDED_V ,
-
View: AST_LM_OPP_EXP_CR_TYPE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_LM_OPP_EXP_CR_TYPE_V, object_name:AST_LM_OPP_EXP_CR_TYPE_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_LM_OPP_EXP_CR_TYPE_V ,
-
VIEW: APPS.AST_SALESOPP_CODE_UWQ_V
12.1.1
-
VIEW: APPS.AST_SALESOPP_NAME_UWQ_V
12.2.2
-
VIEW: APPS.AST_SALESOPP_CODE_UWQ_V
12.2.2
-
VIEW: APPS.AST_SALESOPP_NAME_UWQ_V
12.1.1
-
View: AST_OPPORTUNITY_CONTACT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_CONTACT_V ,
-
VIEW: APPS.AST_PLIST_OPP_UWQ_V
12.2.2
-
View: AST_OPPORTUNITY_CONTACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_OPPORTUNITY_CONTACT_V, object_name:AST_OPPORTUNITY_CONTACT_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_OPPORTUNITY_CONTACT_V ,
-
VIEW: APPS.AST_PLIST_OPP_UWQ_V
12.1.1
-
View: AST_MYTEAM_SALESOPP_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_UWQ_V, object_name:AST_MYTEAM_SALESOPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_UWQ_V ,
-
View: AST_MYTEAM_SALESOPP_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_UWQ_V, object_name:AST_MYTEAM_SALESOPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_UWQ_V ,
-
View: AST_MYTEAM_SALESOPP_NAME_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_NAME_UWQ_V, object_name:AST_MYTEAM_SALESOPP_NAME_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_NAME_UWQ_V ,
-
View: AST_SALESOPP_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALESOPP_UWQ_V, object_name:AST_SALESOPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALESOPP_UWQ_V ,
-
View: AST_MYTEAM_SALESOPP_CODE_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_CODE_UWQ_V, object_name:AST_MYTEAM_SALESOPP_CODE_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_CODE_UWQ_V ,
-
View: AST_MYTEAM_SALESOPP_CODE_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_CODE_UWQ_V, object_name:AST_MYTEAM_SALESOPP_CODE_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_CODE_UWQ_V ,
-
View: AST_MYTEAM_SALESOPP_NAME_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_MYTEAM_SALESOPP_NAME_UWQ_V, object_name:AST_MYTEAM_SALESOPP_NAME_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_MYTEAM_SALESOPP_NAME_UWQ_V ,
-
View: AST_SALESOPP_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALESOPP_UWQ_V, object_name:AST_SALESOPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALESOPP_UWQ_V ,
-
View: AST_PLIST_OPP_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_PLIST_OPP_UWQ_V, object_name:AST_PLIST_OPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_PLIST_OPP_UWQ_V ,
-
View: AST_SALESOPP_NAME_UWQ_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALESOPP_NAME_UWQ_V, object_name:AST_SALESOPP_NAME_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALESOPP_NAME_UWQ_V ,
-
View: AST_PLIST_OPP_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_PLIST_OPP_UWQ_V, object_name:AST_PLIST_OPP_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_PLIST_OPP_UWQ_V ,
-
View: AST_SALESOPP_CODE_UWQ_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AST.AST_SALESOPP_CODE_UWQ_V, object_name:AST_SALESOPP_CODE_UWQ_V, status:VALID, product: AST - TeleSales , implementation_dba_data: APPS.AST_SALESOPP_CODE_UWQ_V ,