Search Results as_imp_lines_interface
Overview
The AS_IMP_LINES_INTERFACE table is a core interface table within the Oracle E-Business Suite (EBS) Sales Foundation module (AS). Its primary function is to serve as a staging area for lead line information that is queued for import into the application's transactional tables. As an interface table, it is a critical component of data migration and integration processes, allowing for the validation and transformation of external data before it is formally processed and committed to the system. In the context of Oracle EBS 12.1.1 and 12.2.2, this table facilitates the bulk import of sales lead details, enabling efficient data loading from legacy systems or external sources while maintaining data integrity through the application's standard import programs.
Key Information Stored
The table stores a record for each lead line awaiting import. The documented primary key is the IMP_LINES_INTERFACE_ID column, which uniquely identifies each interface record. A crucial foreign key column is IMPORT_INTERFACE_ID, which links each line record to its corresponding header record in the AS_IMPORT_INTERFACE table. While the full column list is not detailed in the provided metadata, typical data stored in such an interface table would include lead line attributes such as product or service of interest, quantity, estimated revenue, need-by date, competitor information, and the status of the import process for that specific line (e.g., PENDING, ERROR, PROCESSED). This structure allows for the import of multiple lines associated with a single lead header.
Common Use Cases and Queries
The primary use case is the execution of the Lead Import concurrent program, which reads validated data from this interface table and creates or updates lead lines in the transactional tables. Common operational queries include monitoring the import queue and troubleshooting errors. For instance, to identify all lead lines that failed import for a specific batch, one might query: SELECT * FROM osm.as_imp_lines_interface WHERE import_interface_id = &batch_id AND status = 'ERROR';. Reporting on pending imports can be achieved by joining to the header interface table: SELECT h.batch_name, COUNT(l.imp_lines_interface_id) FROM osm.as_import_interface h, osm.as_imp_lines_interface l WHERE h.import_interface_id = l.import_interface_id AND l.status = 'PENDING' GROUP BY h.batch_name;. Data is typically populated into this table via custom SQL*Loader scripts, database links, or PL/SQL procedures.
Related Objects
The table has documented relationships with other key objects in the Sales Foundation schema. The primary relationship is a foreign key dependency on the lead import header interface table.
- AS_IMPORT_INTERFACE: This is the primary parent table. The foreign key
AS_IMP_LINES_INTERFACE.IMPORT_INTERFACE_IDreferences this table, establishing a one-to-many relationship where a single import header record can have multiple associated lead line records in the interface. - Transactional Tables: While not explicitly listed in the metadata, the data in AS_IMP_LINES_INTERFACE is ultimately processed into core transactional tables such as AS_LEADS and related line tables. The import program is the conduit between the interface and these base tables.
-
Table: AS_IMP_LINES_INTERFACE
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_IMP_LINES_INTERFACE, object_name:AS_IMP_LINES_INTERFACE, status:VALID, product: AS - Sales Foundation , description: Interface table to hold lead lines information to be imported. , implementation_dba_data: OSM.AS_IMP_LINES_INTERFACE ,
-
Table: AS_IMP_LINES_INTERFACE
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_IMP_LINES_INTERFACE, object_name:AS_IMP_LINES_INTERFACE, status:VALID, product: AS - Sales Foundation , description: Interface table to hold lead lines information to be imported. , implementation_dba_data: OSM.AS_IMP_LINES_INTERFACE ,
-
Table: AS_IMPORT_INTERFACE
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_IMPORT_INTERFACE, object_name:AS_IMPORT_INTERFACE, status:VALID, product: AS - Sales Foundation , description: staging table to hold data to be imported , implementation_dba_data: OSM.AS_IMPORT_INTERFACE ,
-
Table: AS_IMPORT_INTERFACE
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_IMPORT_INTERFACE, object_name:AS_IMPORT_INTERFACE, status:VALID, product: AS - Sales Foundation , description: staging table to hold data to be imported , implementation_dba_data: OSM.AS_IMPORT_INTERFACE ,