Search Results zx_migrate_util




Overview

ZX_MIGRATE_UTIL is a utility package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. Its role is to support the migration, conversion, and configuration of tax-related setup data within the E-Business Tax (EBTax) module. The package bridges legacy and current tax repositories that interact with Oracle Payables and Oracle Receivables, providing helper routines that read, transform, and stage tax regime, tax, and rate information during upgrade or data-migration activities. Because it is classified as a UTIL package, it does not expose a public user interface; instead it is consumed programmatically by other EBTax and financials packages and by migration scripts. The object is VALID in the APPS schema and is a documented component of the ETRM (E-Business Tax Reference Model) metadata set for Release 12.2.2.

Key Procedures and Functions

Seven documented procedures and functions make up the public surface of the package:

  • GET_TAX_REGIME — Retrieves the tax regime associated with a given configuration context, used to map legacy or migrated records to the correct EBTax regime.
  • GET_TAX — Returns tax information, allowing callers to resolve a tax identifier or code during migration and validation routines.
  • IS_INSTALLED — Determines whether a specific product or component is installed, enabling the package to branch logically based on the deployed application footprint.
  • ZX_UPDATE_LOOKUPS — Maintains EBTax-related lookup values, ensuring lookup types and codes are consistent for the migrated environment.
  • ZX_ALTER_RATES_SEQUENCE — Adjusts or realigns the tax rate sequence, supporting the ordering and renumbering of rate records during migration.
  • GET_COUNTRY — Resolves country information, typically used to associate tax regimes and rates with the correct geographical jurisdiction.
  • GET_NEXT_SEQID — Generates the next sequence identifier, providing unique keys for migrated or newly created records.

Parameter lists are deliberately not reproduced here; each routine is described by purpose only, in line with the documented metadata.

Tables Accessed

The package reads and references a defined set of APPS synonyms. Tax data is sourced from AP_TAX_CODES_S, AR_VAT_TAX_S, and ZX_RATES_B, which together cover Payables tax codes, Receivables VAT tax codes, and the EBTax tax rates base table. System-level context is obtained from AR_SYSTEM_PARAMETERS_ALL, FINANCIALS_SYSTEM_PARAMS_ALL, FND_PRODUCT_GROUPS, FND_PRODUCT_INSTALLATIONS, and FND_PROFILE, while FND_LOOKUP_TYPES supports lookup maintenance. Organizational and location context is drawn from HR_ALL_ORGANIZATION_UNITS, HR_LOCATIONS_ALL, and HR_ORGANIZATION_INFORMATION. DUAL is used for single-row calculations. Logging is performed through FND_LOG, and helper logic reuses ARP_UTIL_TAX and ZX_MIGRATE_UTIL itself.

Usage Notes

ZX_MIGRATE_UTIL is invoked programmatically rather than through an Oracle Forms screen. It is referenced by fourteen other database objects, indicating that it is called by higher-level migration, validation, and EBTax configuration packages during upgrade and conversion runs. Typical invocation points include concurrent programs and installation scripts executed during the transition from legacy tax setup to the R12 E-Business Tax model, and custom migration code that needs consistent tax regime, tax, country, and sequence resolution. Because the package manipulates lookup values and rate sequences, it should be executed in a controlled migration window with appropriate backups, and callers should respect the APPS schema privileges and the FND_LOG-based diagnostics it produces. No database object depends on it as a parent, confirming its role as a leaf-level utility.