Search Results ota_general
Overview
APPS.OTA_GENERAL is a shared PL/SQL utility package body belonging to the Oracle Training Administration (OTA) product family within Oracle E-Business Suite Release 12. It serves as a central repository of reusable validation, lookup, and formatting routines that other components of the learning management module invoke at runtime. The package is classified under the OTHER API classification, indicating that it is an internal helper package rather than a formal public API with a defined concurrency and versioning contract. Despite this, its footprint is substantial: ETRM metadata records that APPS.OTA_GENERAL is referenced by 107 other database objects, confirming its role as a low-level dependency for the broader OTA codebase.
The package concentrates on cross-domain data retrieval and integrity checking. It abstracts common operations such as resolving an offering or course name, resolving a location, validating currency and language codes, confirming person and FND user identity, and enforcing date and time consistency. By centralizing these rules, the package ensures that forms, concurrent programs, and dependent APIs apply uniform validation logic across the training administration schema.
Key Procedures and Functions
ETRM documents approximately 40 procedures and functions in this package. The principal ones fall into several functional groups:
- Descriptive lookups: GET_LOCATION, GET_OFFERING_NAME, and GET_COURSE_NAME return human-readable descriptions for location, offering, and course identifiers, sparing callers from writing their own joins against the underlying translation tables.
- Date and time validation: GET_SESSION_DATE, CHECK_START_END_DATES, CHECK_PAR_CHILD_DATES, CHECK_PAR_CHILD_DATES_FUN, and CHECK_START_END_TIME verify that session dates, parent/child date relationships, and start/end times are logically consistent. The _FUN variant exposes the same parent/child check in a form usable directly inside SQL.
- Identity checks: CHECK_CURRENT_EMPLOYEE, CHECK_PERSON, GET_FND_USER, and CHECK_FND_USER confirm that a given person or application user exists and is valid before downstream processing proceeds.
- Domain and change detection: CHECK_DOMAIN_VALUE validates a value against a lookup domain, while VALUE_CHANGED performs change detection, typically for form-level tracking.
- Numeric handling: CHAR_TO_NUMBER provides a safe conversion of character data to a numeric value.
- Vendor, currency, and language validation: VALID_VENDOR, CHECK_VENDOR_IS_VALID, VALID_CURRENCY, CHECK_CURRENCY_IS_VALID, and VALID_LANGUAGE confirm that supplier, currency, and language references are legitimate before they are stored or used.
Tables Accessed
The package reads reference and transactional data through APPS synonyms. Reference tables include FND_CURRENCIES and FND_CURRENCIES_VL, FND_LANGUAGES and FND_LANGUAGES_VL, FND_SESSIONS, and FND_USER, which underpin the currency, language, session, and user validations. Human resources structures are read via HR_ALL_ORGANIZATION_UNITS, HR_ALL_ORGANIZATION_UNITS_TL, HR_LOCATIONS_ALL, HR_LOCATIONS_ALL_TL, and HR_ORGANIZATION_INFORMATION, supporting location and organization resolution. Person and assignment data are read from PER_ALL_PEOPLE_F, PER_BUSINESS_GROUPS, PER_PERSON_TYPES, and PER_PERSON_TYPE_USAGES_F. Training-specific tables include OTA_ACTIVITY_VERSIONS_TL, OTA_EVENTS and OTA_EVENTS_VL, OTA_FINANCE_HEADERS, OTA_FINANCE_LINES, and OTA_OFFERINGS_TL. Supplier validation draws on PO_VENDORS, and messaging uses FND_MESSAGE. The package also depends on HR_API, HR_UTILITY, FND_PROFILE, and STANDARD, and is not referenced by any database object itself.
Usage Notes
Because OTA_GENERAL is an internal helper rather than a formal public API, it is normally called from other OTA packages, OTA forms, or concurrent programs that need a validated value or a resolved description. Custom code should treat the package as a convenience layer: invoking its routines is supported, but callers must be aware that the interface may change between point releases. No formal initialization or teardown is required; the routines are stateless validators and lookups. When extending OTA functionality, developers should prefer these routines over re-implementing currency, language, vendor, or date checks, since doing so preserves consistency with the 107 dependent objects already relying on APPS.OTA_GENERAL.
-
PACKAGE BODY: APPS.OTA_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_GENERAL, status:VALID,
-
PACKAGE BODY: APPS.OTA_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_GENERAL, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFH_API_BUSINESS_RULES2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFH_API_BUSINESS_RULES2, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFH_API_BUSINESS_RULES2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFH_API_BUSINESS_RULES2, status:VALID,
-
PACKAGE BODY: APPS.OTA_TAD_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TAD_API, status:VALID,
-
SYNONYM: APPS.OTA_OFFERINGS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_OFFERINGS_TL, status:VALID,
-
PACKAGE BODY: APPS.OTA_ADMIN_ACCESS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ADMIN_ACCESS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OTA_BJS_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_BJS_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_ANC_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ANC_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_EVT_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_EVT_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFH_API_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFH_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FRM_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FRM_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_BST_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_BST_API, status:VALID,
-
PACKAGE: APPS.OTA_LO_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_LO_UTILITY, status:VALID,
-
eTRM - OTA Tables and Views
12.2.2
description: Currently not used ,
-
PACKAGE BODY: APPS.OTA_TBD_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TBD_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_TAV_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TAV_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_TAV_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TAV_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_TBD_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TBD_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUSINESS_RULES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUSINESS_RULES, status:VALID,
-
PACKAGE BODY: APPS.OTA_EVT_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_EVT_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_FRM_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FRM_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CME_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CME_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OTA_COI_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_COI_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FOI_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FOI_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_LPC_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LPC_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_ACI_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_ACI_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CTU_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CTU_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFH_API_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFH_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_BJS_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_BJS_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_LPC_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LPC_BUS, status:VALID,
-
PACKAGE: APPS.OTA_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_GENERAL, status:VALID,
-
PACKAGE BODY: APPS.OTA_LPS_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LPS_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CTU_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CTU_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_CCI_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_CCI_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUSINESS_RULES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUSINESS_RULES, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFH_API_BUSINESS_RULES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFH_API_BUSINESS_RULES, status:VALID,
-
PACKAGE BODY: APPS.HR_COMPETENCE_ELEMENT_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_COMPETENCE_ELEMENT_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_LP_NOTIFY_SS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LP_NOTIFY_SS, status:VALID,
-
PACKAGE BODY: APPS.OTA_OFF_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_OFF_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_LRNR_ENROLL_UNENROLL_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_LRNR_ENROLL_UNENROLL_WF, status:VALID,
-
PACKAGE BODY: APPS.OTA_TPL_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TPL_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TEA_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TEA_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_RUD_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_RUD_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TAV_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TAV_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TSR_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TSR_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_AME_ATTRIBUTES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_AME_ATTRIBUTES, status:VALID,
-
PACKAGE BODY: APPS.OTA_TPL_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TPL_BUS, status:VALID,