Results for “cz_imp_im_main”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.CZ_IMP_IM_MAIN is a public PL/SQL package body in the Oracle E-Business Suite 12.1.1 and 12.2.2 codebase. It belongs to the Oracle Configurator (CZ) schema and supports the Configuration Workbench import and migration facility. Its primary responsibility is to convert staged configuration data staged in the CZ_IMP_* interface tables into the corresponding production tables (CZ_PROPERTIES and related structures) so that item master properties, item types, item type properties, property values, and runtime configuration data are moved from an external or legacy source into the EBS configuration repository.

The internal naming convention (CND_, MAIN_, RPT_) reflects the three phases of each import unit: condition/validation, main transformation/load, and reporting of import results. The package was last shipped as version 120.1.12020000.2 and remains present in both the 12.1.1 and 12.2.2 releases; it is registered in ETRM with API classification OTHER. Fault handling is a central design concern: the body is written around the x_error BOOLEAN pattern, returning status flags from CZ_UTILS.LOG_REPORT and incrementing a FAILED counter when the MAX_ERR ceiling or a SQL exception is hit.

Key Procedures and Functions

The package exposes fifteen documented procedures, organized in triads that mirror the import lifecycle:

The documented body source for CND_ITEM_MASTER illustrates the shared pattern: a cursor over CZ_IMP_ITEM_MASTER filtered by RUN_ID and REC_STATUS IS NULL, a COMMIT_SIZE batching mechanism, MAX_ERR enforcement via CZ_ADMIN.IMP_MAXERR_REACHED, and per-row exception handling that invokes CZ_UTILS.LOG_REPORT to set x_error and increment FAILED.

Tables Accessed

Usage Notes

CZ_IMP_IM_MAIN is not an end-user API; it is invoked from the Oracle Configurator import and migration concurrent programs and from custom loaders that stage data into the CZ_IMP_* tables. A caller first populates the interface tables and obtains a RUN_ID, then calls the CND_, MAIN_, and RPT_ procedures in sequence for the entity being imported, passing COMMIT_SIZE and MAX_ERR control parameters. Because the procedures use x_error BOOLEAN and FAILED OUT NOCOPY counters rather than raising top-level exceptions, custom code must inspect the returned status and the CZ_XFR_RUN_RESULTS rows. Two other packages reference CZ_IMP_IM_MAIN, so the signature of its entry points should be treated as a public contract. In 12.1.1 and 12.2.2 the behavior is identical; the differences are confined to underlying CZ table releases and patching, and any modifications should be avoided in favor of wrapping calls through supported concurrent program interfaces.