Results for “import_salesreps”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
JTF_RS_INTERFACE_PVT is a private PL/SQL API within the Oracle E-Business Suite Resource Manager (JTF) product family. Its stated business purpose is to import Resource and Sales Representative records from the interface tables into the base EBS resource and salesrep tables. The package header declares it with AUTHID CURRENT_USER, indicating that it executes with the privileges of the calling schema rather than the defining schema, which is consistent with its classification as a private (PVT) API that is not intended for direct external consumption.
The package header documentation explicitly notes that this is a private API, and that its procedures invoke procedures from EBSI (the E-Business Suite Integration layer) to perform business validations and to execute the actual creates and updates against the underlying tables. The API is annotated with the business entity JTF_RS_RESOURCE and publishes several business events: oracle.apps.jtf.jres.resource.create, oracle.apps.jtf.jres.resource.update.user, oracle.apps.jtf.jres.resource.update.effectivedate, and oracle.apps.jtf.jres.resource.update.attributes. These events support downstream subscribers such as workflow and other integrations that must react to resource lifecycle changes.
Key Procedures and Functions
ETRM documentation identifies two procedures in this package:
- IMPORT_RESOURCE — Imports a resource record from the interface table JTF_RS_RESOURCE_EXTNS_INT. It accepts a batch identifier (p_batch_id) as input and returns the standard concurrent-style output parameters: x_return_status, x_msg_count, and x_msg_data. These outputs convey the success, warning, or error status of the import along with any user-facing messages generated during processing.
- IMPORT_SALESREPS — Imports sales representative records, handling the creation and update of salesrep data sourced from the corresponding interface tables. Like IMPORT_RESOURCE, it processes records by batch and reports status and messages through the standard output parameters.
The header comments describe both operations as covering create and update scenarios, delegating validation and DML to the EBSI integration layer.
Tables Accessed
The following tables are referenced through APPS synonyms:
- JTF_RS_RESOURCE_EXTNS_INT — the interface (staging) table from which resource records are imported.
- JTF_RS_RESOURCE_EXTNS and JTF_RS_RESOURCE_EXTNS_TL — the base resource extension tables (and their translated table) that receive the imported and validated resource data.
- JTF_RS_SALESREPS_INT — the interface table for sales representative imports.
- JTF_RS_SALESREPS — the base sales representative table populated from the interface.
The pattern reflects a standard EBS interface architecture: data is loaded into the _INT staging tables, and this API transfers validated records into the base transactional tables, raising the documented business events as appropriate.
Usage Notes
Because this package is classified as private, it is not published for direct customer invocation. It is typically invoked indirectly by the concurrent programs that process the JTF resource and salesrep interface tables, and it is referenced by one other package within the application. The presence of the p_batch_id parameter indicates batch-oriented processing, where callers submit a batch of staged records for import. Customers performing bulk resource or salesrep loads should populate the respective interface tables and then run the corresponding concurrent program rather than calling JTF_RS_INTERFACE_PVT directly. As with any private API, its signature and behavior may change between releases without notice, so customizations should avoid building dependencies on it.