Search Results delete_code_conversion




Overview

The APPS.OZF_CODE_CONVERSION_PVT package is a private (PVT) PL/SQL API belonging to the Oracle E-Business Suite Trade Management (formerly Oracle Trade Management / OZF) product family. It encapsulates the business logic that governs code conversion records used within Oracle Advanced Pricing, Trade Management, and related order-to-cash flows. Code conversions map external (customer-facing) codes to internal (application-facing) codes, allowing organizations to reconcile values received from external systems, partners, or legacy interfaces against the value sets and reference data held within EBS.

The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking user rather than the definer, and it exposes a strongly typed record structure (code_conversion_rec_type) that carries the full column set of the underlying code conversion entity, including CODE_CONVERSION_ID, OBJECT_VERSION_NUMBER, who-columns, ORG_ID, PARTY_ID, CUST_ACCOUNT_ID, CODE_CONVERSION_TYPE, VALUE_SET_ID, EXTERNAL_CODE, INTERNAL_CODE, description, active date range, and fifteen descriptive flexfield attribute columns. This record type permits bulk and single-row DML to be performed with a consistent, version-aware payload. Because it is a PVT (private) package, it is not intended for direct customer invocation; it is consumed internally by the public code conversion APIs, forms, and concurrent processes.

Key Procedures and Functions

Tables Accessed

The package reads and writes the code conversion base and translation tables OZF_CODE_CONVERSIONS, OZF_CODE_CONVERSIONS_ALL, and OZF_CODE_CONVERSIONS_ALL_S, and their supplier counterparts OZF_SUPP_CODE_CONVERSIONS, OZF_SUPP_CODE_CONVERSIONS_ALL, and OZF_SUPP_CODE_CONV_ALL_S. It obtains system-level defaults and configuration from OZF_SYS_PARAMETERS, and references OZF_CLAIMS, OZF_RESALE_ADJUSTMENTS, OZF_RESALE_BATCHES, OZF_RESALE_BATCH_LINE_MAPS, OZF_RESALE_LINES, and OZF_RESALE_LINES_INT to validate that conversions are consistent with active claims, resale adjustments, and resale batch processing. DUAL is used for scalar lookups, and PLITBLM supports bulk DML array binding.

Usage Notes

Because OZF_CODE_CONVERSION_PVT is a private package, it should never be called directly from custom code. It is invoked through the public code conversion APIs, through Oracle Forms or OAF pages maintained by Trade Management, and through concurrent programs that seed, refresh, or purge code conversion data. The package is referenced by five other packages within the same product family. In release 12.1.1 and 12.2.2, the object remains at source version 120.2, and the AUTHID CURRENT_USER declaration requires that callers hold the appropriate privileges on the underlying tables and value sets. Any custom implementation requiring deletion of code conversions should call the owning public API rather than DELETE_CODE_CONVERSION directly.