Search Results sd_convert_currency




Overview

OZF_SD_UTIL_PVT is a private (PVT) PL/SQL utility package in the Oracle E-Business Suite Trade Management (formerly Oracle Trade Management / ETRM) schema, owned by APPS. Its header indicates authorship by MBHATT and a creation date of November 2007, with the source file ozfvsdus.pls at version 120.7 (last modified April 2008). The package provides the shared low-level services required by the Ship and Debit (S&D) subsystem: currency conversion between a request currency and a plan currency, bidirectional conversion between database DATE values and the Run/Report "RN" date string format, time zone and date-time formatting, amount postback to the funds utilized table, interface table maintenance for S&D request prices, event raising, and batch/claim completion processing. Because it is classified as PVT, it is an internal implementation package; external callers should generally reach its functionality through the corresponding public S&D APIs, although a number of S&D internals and concurrent programs invoke it directly.

Key Procedures and Functions

The following procedures and functions are documented in the package metadata (16 total).

Tables Accessed

The package reads and writes the following documented tables through APPS synonyms:

Usage Notes

OZF_SD_UTIL_PVT is invoked indirectly rather than as an end-user entry point. Its most visible use is the date/time conversion family: CONVERT_TO_RN_DATE and CONVERT_TO_DB_DATE are called wherever S&D request data must be exchanged with external systems or stored in the RN string convention, making them relevant to interface and integration troubleshooting. SD_CONVERT_CURRENCY and SD_AMOUNT_POSTBACK are called during batch resolution and funds utilization, while UPDATE_SD_REQ_PRICES and UPDATE_SD_REQ_STALE_DATA support the interface-table refresh paths used by concurrent programs. PROCESS_SD_PEN_CLOSE_BATCHES, CREATE_ADJUSTMENT, and PROCESS_BATCH_ADJUST_CLAIM are reached through the batch processing and claim adjustment flows, and SET_COMPLETE_FLAGS / CHECK_COMPLETE_FLAGS gate batch completion. The package is referenced by two other packages, confirming it is a shared dependency within the S&D module. Because the metadata is limited to signatures and table references, the exact functional conditions under which each routine executes should be confirmed against the source in ozfvsdus.pls for the specific release (12.1.1 or 12.2.2). As a PVT package, it is not part of the supported public API surface, and custom code should call the corresponding public S&D APIs instead of these private procedures to remain upgrade-safe.