Results for “assign_to_person_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The AS_SALES_LEADS_LOG table resides in the OSM schema and belongs to the AS – Sales Foundation product family within Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to hold the opportunity change history for sales leads. Whereas AS_SALES_LEADS stores the current state of each opportunity, AS_SALES_LEADS_LOG captures the transactional trail of changes made to those opportunities over time — reassignments, status transitions, rank modifications, qualification decisions, and rejections.
Heuristic Data Vault classification mined from the foreign key structure indicates a satellite-leaning pattern. In Data Vault modeling terms, this suggests AS_SALES_LEADS_LOG behaves as a satellite attached to a hub (AS_SALES_LEADS via SALES_LEAD_ID), recording descriptive, time-variant change attributes about the parent opportunity rather than acting as an independent hub or a many-to-many link.
Key Information Stored
The table is documented with 22 columns in the ETRM 12.2.2 physical schema. The most operationally significant columns include:
- LOG_ID — the surrogate primary key, enforced by AS_SALES_LEADS_LOG_PK and reinforced by the unique index AS_SALES_LEADS_LOG_U1. Because a separate unique index exists on the same column, the business-key candidate is also LOG_ID; the table does not expose a natural composite business key.
- SALES_LEAD_ID — foreign key to AS_SALES_LEADS, identifying the opportunity whose history row is being recorded.
- STATUS_CODE — the lifecycle status captured at the time of the change.
- ASSIGN_TO_PERSON_ID and ASSIGN_TO_SALESFORCE_ID — the resource to whom the opportunity was assigned.
- ASSIGN_SALES_GROUP_ID — the sales group receiving the assignment.
- LEAD_RANK_ID and MANUAL_RANK_FLAG — ranking outcome and whether the rank was applied manually.
- QUALIFIED_FLAG — indicates whether the opportunity was qualified as part of this change.
- REJECT_REASON_CODE — reason captured when an opportunity was rejected.
- CATEGORY — classification of the change record.
- SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, supporting Multi-Org / security-group access control.
- OBJECT_VERSION_NUMBER — optimistic locking token used by the OAF/ADF framework.
- Audit columns — CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, plus the concurrent program context: REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, and PROGRAM_UPDATE_DATE.
Common Use Cases and Queries
The most frequent scenario is reconstructing an opportunity's assignment and status timeline for audit or sales-performance reporting.
- Opportunity change history:
SELECT l.log_id, l.sales_lead_id, l.status_code, l.assign_to_person_id, l.creation_date FROM as_sales_leads_log l WHERE l.sales_lead_id = :p_lead_id ORDER BY l.creation_date; - Reassignment audit: joining to AS_SALES_LEADS to compare current owner against historical owners recorded in the log.
- Rejection analysis: grouping by REJECT_REASON_CODE to identify systemic disqualification trends.
- Concurrent-program lineage: filtering on REQUEST_ID or PROGRAM_ID to trace which batch process generated specific history rows.
- Security-scoped extracts: constraining results by SECURITY_GROUP_ID for multi-org reporting.
Related Objects
- AS_SALES_LEADS — joined via AS_SALES_LEADS_LOG.SALES_LEAD_ID = AS_SALES_LEADS.SALES_LEAD_ID; the primary parent of every history row.
- FND_SECURITY_GROUPS — joined via AS_SALES_LEADS_LOG.SECURITY_GROUP_ID, governing row-level access.
- PER_ALL_PEOPLE_F — resolves ASSIGN_TO_PERSON_ID to a named resource.
- AS_SALES_LEAD_RANKS / rank lookup — resolves LEAD_RANK_ID to a descriptive rank value.
- FND_USER — resolves CREATED_BY and LAST_UPDATED_BY for audit attribution.
- FND_CONCURRENT_REQUESTS — correlates REQUEST_ID with the originating concurrent program.
Because AS_SALES_LEADS_LOG depends on AS_SALES_LEADS, integrity is maintained through the documented foreign key; no child tables reference AS_SALES_LEADS_LOG itself.
-
Holds opportunity change history
-
APPS.AST_LM_LEADS_QUICK_INT_PC_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AS_TODO_LISTS 12.1.1
To do lists (multi-org)
-
APPS.AST_LM_LEADS_QUICK_GROUP_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AST_LM_LEADS_QUICK_V 12.1.1
APPS.AST_LM_LEADS_QUICK_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AST_LM_LEADS_QUICK_V 12.2.2
APPS.AST_LM_LEADS_QUICK_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_INTEREST_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AS_TODO_LISTS 12.2.2
To do lists (multi-org)
-
APPS.AST_LM_LEADS_QUICK_INT_PC_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_CAMPAIGN_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_INTEREST_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AMS_LEAD_MAPPING_V 12.1.1
This view stores the mapping of ams_imp_source_lines table. This is used to populate the data from the data file.
APPS.AMS_LEAD_MAPPING_V·↳ AMS_IMP_SOURCE_LINES·Explore AMS module →
-
View: AST_LS_SALES_LEADS_V 12.1.1
APPS.AST_LS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ AMS_SOURCE_CODES·↳ AR_LOOKUPS·Explore AST module →
-
APPS.AST_LS_SALES_LEADS_CONTACT_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
Holds opportunity change history
-
APPS.AST_SALES_LEADS_REL_BALI_V·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·↳ AS_SALES_LEAD_CONTACTS·Explore AST module →
-
APPS.AST_SALES_LEADS_REL_BALI_V·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·↳ AS_SALES_LEAD_CONTACTS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_CAMPAIGN_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
APPS.AST_LM_LEADS_QUICK_GROUP_V·↳ AMS_ACT_OFFERS·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·Explore AST module →
-
View: AST_LS_SALES_LEADS_V 12.2.2
APPS.AST_LS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ AMS_SOURCE_CODES·↳ AR_LOOKUPS·Explore AST module →
-
APPS.AST_LS_SALES_LEADS_CONTACT_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
Lead Level Table .
-
Lead Level Table .
-
APPS.AST_LS_SALES_LEADS_BSC_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
APPS.AST_LS_SALES_LEADS_BSC_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
Interface table for Lead Level table .
-
View: AST_SALES_LEADS_BALI_V 12.1.1
APPS.AST_SALES_LEADS_BALI_V·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·↳ AS_SALES_LEAD_RANKS_TL·Explore AST module →
-
View: AST_SALES_LEADS_BALI_V 12.2.2
APPS.AST_SALES_LEADS_BALI_V·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·↳ AS_SALES_LEAD_RANKS_TL·Explore AST module →
-
View: AST_SALES_LEADS_EBC_V 12.1.1
APPS.AST_SALES_LEADS_EBC_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
View: AST_SALES_LEADS_EBC_V 12.2.2
APPS.AST_SALES_LEADS_EBC_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_SALES_LEADS·Explore AST module →
-
Holds sales leads
-
View: AST_SALES_LEADS_V 12.1.1
APPS.AST_SALES_LEADS_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_PARTY_ADDRESSES_V·Explore AST module →
-
View: AMS_DS_SALES_LEADS_V 12.2.2
APPS.AMS_DS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ ASO_I_SALES_CHANNELS_V·↳ AS_LOOKUPS·Explore AMS module →
-
View: AMS_DS_SALES_LEADS_V 12.1.1
APPS.AMS_DS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ ASO_I_SALES_CHANNELS_V·↳ AS_LOOKUPS·Explore AMS module →
-
View: AST_SALES_LEADS_V 12.2.2
APPS.AST_SALES_LEADS_V·↳ AMS_SOURCE_CODES·↳ AS_LOOKUPS·↳ AS_PARTY_ADDRESSES_V·Explore AST module →
-
Obsolete Holds activities for sales representatives
-
Obsolete Holds activities for sales representatives
-
View: AS_SALES_LEADS_V 12.1.1
sales lead header details
APPS.AS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ ASO_I_SALES_CHANNELS_V·↳ AS_LOOKUPS·Explore AS module →
-
View: AS_SALES_LEADS_V 12.2.2
sales lead header details
APPS.AS_SALES_LEADS_V·↳ AMS_P_SOURCE_CODES_V·↳ ASO_I_SALES_CHANNELS_V·↳ AS_LOOKUPS·Explore AS module →
-
View: AMS_LEAD_MAPPING_V 12.2.2
This view stores the mapping of ams_imp_source_lines table. This is used to populate the data from the data file.
APPS.AMS_LEAD_MAPPING_V·↳ AMS_IMP_SOURCE_LINES·Explore AMS module →
-
Holds sales leads
-
staging table to hold data to be imported
-
staging table to hold data to be imported
-
VIEW: OSM.AS_TODO_LISTS_ALL# 12.2.2
-
Not implemented in this database·Explore BIM module →
-
Not implemented in this database·Explore BIM module →