Search Results get_work_orders_initial_load
Overview
ISC_MAINT_WO_ETL_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified under the ETRM "OTHER" API category. Its role is to support the extract, transform, and load (ETL) of maintenance work order data from EBS operational tables into the interface staging structures consumed by Enterprise Asset Management (EAM) reporting and integration flows. In the EBS 12.1.1 and 12.2.2 releases, this package forms part of the maintenance work order data movement layer, bridging discrete manufacturing job and work order entities with the ISC maintenance work order staging table. The package header, identified by the version string iscmaintwoetls.pls 120.0 (2005/05/25), declares two entry points that separate full population from incremental refresh, a standard pattern for ETL packages that must support both initial data seeding and ongoing change capture. The package exposes only two public procedures; no functions are declared. It is referenced by zero other packages, indicating it is intended to be invoked directly by a concurrent program, form, or external scheduler rather than consumed as a shared library.
Key Procedures and Functions
- GET_WORK_ORDERS_INITIAL_LOAD — Performs the initial (full) load of maintenance work order records into the staging structures. It accepts the standard concurrent program error buffer and return code parameters (errbuf and retcode), both declared as NOCOPY VARCHAR2, which confirms the procedure is designed to run as an EBS concurrent program entry point. On execution it populates the work order interface for the first time, establishing the baseline data set for subsequent incremental runs.
- GET_WORK_ORDERS_INCR_LOAD — Performs the incremental load, retrieving only work order records that have changed or been created since the last successful run. Like the initial load procedure, it takes the errbuf and retcode NOCOPY VARCHAR2 parameters for concurrent program error reporting. This is the routine referenced by the search term get_work_orders_incr_load, and it is the procedure most commonly scheduled on a recurring basis to keep the maintenance work order staging data synchronized with source transactions.
No additional procedures or functions are documented in the package specification.
Tables Accessed
- EAM_WORK_ORDER_DETAILS — Source of EAM work order line-level detail used to build the staged work order records.
- ISC_MAINT_WORK_ORDERS_F — The maintenance work order staging/interface table that the package writes into as the ETL target.
- WIP_DISCRETE_JOBS — Provides discrete job header information associated with maintenance work orders.
- WIP_ENTITIES — Supplies work in process entity attributes used to resolve and classify work order records during transformation.
- DBMS_SQL — Used for dynamic SQL construction, permitting flexible query building during the extract phase.
- DUAL — Standard single-row utility reference employed for control or validation logic within the procedures.
Usage Notes
The package is invoked as a concurrent program in Oracle EBS, evidenced by the errbuf and retcode NOCOPY VARCHAR2 signatures required for concurrent manager registration. Administrators typically define GET_WORK_ORDERS_INITIAL_LOAD as a one-time setup program and GET_WORK_ORDERS_INCR_LOAD as a recurring scheduled program to maintain synchronization. Because the package is referenced by no other packages, custom code must call it directly if integration outside the standard concurrent program framework is required. In 12.2.2 environments, the same APPS-owned package is used with no documented signature differences from 12.1.1. Standard concurrent manager error handling applies: errbuf captures the failure message and retcode returns success, warning, or error status to the request log.