Search Results as_import_interface_s
Overview
AMS_SCR_LEAD_PVT is a private PL/SQL package body in the APPS schema that supports sales lead creation within the Oracle E-Business Suite Advanced Marketing (AMS) module. The package forms part of the Scripting (SCR) subsystem used to generate and qualify sales leads from marketing activities. Its central responsibility is to bridge marketing lead data into the sales lead infrastructure by way of the AS_IMPORT_INTERFACE tables, which serve as the standard Oracle Sales staging mechanism for lead import. Because the package is classified as a PVT (private) API, it is not intended for direct invocation by external consumers; rather, it is called internally by sibling AMS packages and public APIs that expose lead creation to forms, concurrent programs, and integrations.
Key Procedures and Functions
The package body exposes one documented procedure: CREATE_SALES_LEAD. This procedure encapsulates the logic required to construct a sales lead record from a marketing scripting context. Its responsibilities include validating source data, staging the lead in the AS_IMPORT_INTERFACE tables, and invoking the standard Oracle Sales import pipeline so that the record is ultimately materialized as a sales lead. Consistent with the FND_API dependency, the procedure adheres to the Oracle Application Object Library API conventions, including standard return status handling and message propagation through the FND_API utility layer. Additional helper routines not documented in the ETRM metadata may exist as private subprograms within the body, but only CREATE_SALES_LEAD is exposed for reference.
Tables Accessed
The package references four documented tables through APPS synonyms:
- AS_IMPORT_INTERFACE — the primary staging table into which lead records are inserted before import processing.
- AS_IMPORT_INTERFACE_S — the corresponding interface table storing child or supplementary attributes (such as phone, address, or contact detail rows) linked to the parent import record.
- HZ_RELATIONSHIPS — the Trading Community Architecture relationship table, queried or updated to establish the relationship between the newly created lead and the associated party or contact.
- DUAL — used for single-row scalar operations such as sequence lookups or constant validation.
Usage Notes
Because the package is private, invocation occurs through higher-level AMS APIs, typically when a user converts a scripting or campaign response into a sales lead from an Oracle Forms-based marketing screen, or when a concurrent program processes bulk lead generation. The heavy reliance on AS_IMPORT_INTERFACE and AS_IMPORT_INTERFACE_S indicates that records inserted by CREATE_SALES_LEAD are subsequently consumed by the standard Oracle Sales lead import concurrent programs (for example, the AS_IMPORT interface processing routines), which validate and promote them to live leads. The package depends on FND_API and FND_GLOBAL for API standards and session context (user ID, responsibility, application). The ETRM metadata records no other database object that references AMS_SCR_LEAD_PVT, confirming its private, leaf-level position in the dependency hierarchy. Customizations should not call this package directly; they should use the documented public AMS or AS lead APIs to preserve upgrade safety.
-
SEQUENCE: OSM.AS_IMPORT_INTERFACE_S
12.2.2
owner:OSM, object_type:SEQUENCE, object_name:AS_IMPORT_INTERFACE_S, status:VALID,
-
SEQUENCE: OSM.AS_IMPORT_INTERFACE_S
12.1.1
owner:OSM, object_type:SEQUENCE, object_name:AS_IMPORT_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.AS_IMPORT_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AS_IMPORT_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.AS_IMPORT_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AS_IMPORT_INTERFACE_S, status:VALID,
-
PACKAGE BODY: APPS.AMS_SCR_LEAD_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCR_LEAD_PVT, status:VALID,
-
PACKAGE BODY: APPS.AS_IMPORT_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AS_IMPORT_INTERFACE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMS_SCR_LEAD_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCR_LEAD_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AMS_IMPORT_LIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IMPORT_LIST_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_IMPORT_LIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IMPORT_LIST_PVT, status:VALID,
-
PACKAGE BODY: APPS.AS_IMPORT_INTERFACE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AS_IMPORT_INTERFACE_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMS_IS_LINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IS_LINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_IMPORTCLIENT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IMPORTCLIENT_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AMS_IS_LINE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IS_LINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_IMPORTCLIENT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_IMPORTCLIENT_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.IBE_LEAD_IMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IBE_LEAD_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.IBE_LEAD_IMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IBE_LEAD_IMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AML_INTERACTION_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AML_INTERACTION_ENGINE, status:VALID,
-
PACKAGE BODY: APPS.AML_INTERACTION_ENGINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AML_INTERACTION_ENGINE, status:VALID,
-
PACKAGE BODY: APPS.AMS_EVHRULES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_EVHRULES_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_EVHRULES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_EVHRULES_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTIMPORT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTIMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_LISTIMPORT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_LISTIMPORT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_SCHEDULERULES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCHEDULERULES_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_SCHEDULERULES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SCHEDULERULES_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.AMS_IMPORTCLIENT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_EVHRULES_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AS_IMPORT_INTERFACE_PKG dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_IS_LINE_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AMS_IMPORTCLIENT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AMS_IMPORT_LIST_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_IS_LINE_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.IBE_LEAD_IMPORT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_IMPORT_LIST_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AMS_SCHEDULERULES_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AMS_LISTIMPORT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AML_INTERACTION_ENGINE dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_SCHEDULERULES_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_EVHRULES_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.IBE_LEAD_IMPORT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AS_IMPORT_INTERFACE_PKG dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AMS_SCR_LEAD_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_LISTIMPORT_PVT dependencies on AS_IMPORT_INTERFACE_S
12.1.1
-
APPS.AMS_SCR_LEAD_PVT dependencies on AS_IMPORT_INTERFACE_S
12.2.2
-
APPS.AML_INTERACTION_ENGINE dependencies on AS_IMPORT_INTERFACE_S
12.2.2