Search Results get_defaults




Overview

APPS.OTA_GENERAL is a shared Oracle Training Administration (OTA) utility package delivered as part of the Oracle E-Business Suite 12.1.1 and 12.2.2 codebase. Its declared purpose, per the package header comment, is "to provide widely used functions in a single shared area." Historically maintained since 1994, the package centralizes low-level validation and lookup logic that would otherwise be duplicated across the many training-related forms, concurrent programs, and PL/SQL modules that make up the OTA product family. It is compiled with AUTHID CURRENT_USER, meaning its SQL executes under the privileges of the calling schema rather than the defining owner—consistent with the standard APPS-tier convention for shared utility packages.

The package is heavily reused: ETRM records indicate it is referenced by 107 other packages, underscoring its role as a foundational dependency within the OTA module and adjacent HR and Financials integrations. The user search term "fnd_currency_name" corresponds directly to one of the package's lookup functions, FND_CURRENCY_NAME, added in version 115.3 (12-OCT-99) alongside FND_LANG_CODE and HR_ORG_NAME.

Key Procedures and Functions

ETRM documents 40 procedures and functions in OTA_GENERAL, classified as API classification OTHER. They fall into distinct functional categories:

Tables Accessed

The package reads from a curated set of reference and transactional tables via APPS synonyms. Foundation tables include FND_CURRENCIES and FND_LANGUAGES for currency and language validation, FND_SESSIONS for session-date logic, and FND_USER for user lookups. HR tables—HR_ALL_ORGANIZATION_UNITS, HR_ALL_ORGANIZATION_UNITS_TL, HR_LOCATIONS_ALL, HR_LOCATIONS_ALL_TL, HR_ORGANIZATION_INFORMATION, and PER_ALL_PEOPLE_F—support organization, location, and person validation. OTA training tables include OTA_EVENTS, OTA_ACTIVITY_VERSIONS_TL, OTA_OFFERINGS_TL, and the finance tables OTA_FINANCE_HEADERS and OTA_FINANCE_LINES, used by the name-lookup and finance-retrieval functions.

Usage Notes

OTA_GENERAL is typically invoked from OTA forms and concurrent programs that require consistent validation of user input or retrieval of descriptive values without embedding duplicate SQL. Because it holds broad reuse across 107 dependent packages, customizations should treat it as a stable utility surface. The FND_CURRENCY_NAME function is the appropriate entry point when a form or custom concurrent program needs to resolve a currency code to its display name, rather than querying FND_CURRENCIES directly. All calls execute under the caller's privileges, so grants on underlying tables must be in place for the invoking schema.