Search Results decode_lang_lookup
Overview
HR_BIS is a utility package in the Oracle E-Business Suite Human Resources (HR) module, owned by the APPS schema and classified as an "OTHER" API within the ETRM repository. Its name reflects its function as a Business Intelligence / decoding support layer for HR data: it centralizes small, frequently repeated lookups that would otherwise be duplicated across the many HR forms, concurrent programs, and PL/SQL packages that need to resolve coded values into human-readable meanings. The package is defined with AUTHID CURRENT_USER, meaning its SQL statements execute under the privileges of the calling schema rather than the defining schema, which is consistent with its role as a shared, low-privilege utility used throughout the application.
Because HR_BIS is referenced by 633 other packages according to the ETRM metadata, it functions as a foundational dependency within the HR codebase. Any code that must translate an HR lookup code into its display meaning, determine the caller's security context, or detect the active legislation typically routes through this package rather than querying the underlying tables directly.
Key Procedures and Functions
- BIS_DECODE_LOOKUP — The function most directly associated with the user's search term. It accepts a lookup type and a lookup code and returns the corresponding meaning from the FND lookup values table. This is the core mechanism by which HR code converts stored codes into user-facing text.
- GET_SEC_PROFILE_BG_ID — Returns the business group identifier associated with the security profile in effect for the current session. This allows HR logic to scope queries and validations to the appropriate business group without hardcoding organizational context.
- GET_LEGISLATION_CODE — Returns the legislation code applicable to the current environment. Introduced under Enhancement 3729826, this function is used when behavior or validations must vary by country or legislative regime.
- DECODE_LANG_LOOKUP — Extends the lookup-decoding concept to multilingual environments by accepting a language in addition to the lookup type and lookup code, returning the meaning appropriate to that language. This supports installations that must present HR data in more than one language.
All four documented functions are read-only in nature; the package contains no documented procedures that modify data.
Tables Accessed
The package reads from several tables through APPS synonyms:
- FND_LOOKUP_VALUES — The source of lookup meanings for BIS_DECODE_LOOKUP and DECODE_LANG_LOOKUP. This is the standard EBS lookup repository.
- PER_SECURITY_PROFILES — Consulted by GET_SEC_PROFILE_BG_ID to resolve the active business group through the caller's security profile assignment.
- HR_ORGANIZATION_INFORMATION — Supports organizational context lookups, typically for legislation or business group determination.
- DBMS_UTILITY — An Oracle-supplied PL/SQL package rather than an application table; in this context it is generally used for call-stack or environment inspection, such as identifying the calling module or session context.
Usage Notes
HR_BIS is not an end-user-facing API and is not invoked directly from Oracle Forms menus. Instead, it is called from other PL/SQL packages, form-level triggers, and concurrent program logic that require lookup decoding, security profile resolution, or legislation detection. Custom extensions to Oracle HR should use BIS_DECODE_LOOKUP rather than issuing direct queries against FND_LOOKUP_VALUES, ensuring consistent handling of effective dates, language, and security. Because of its broad dependency footprint and utility nature, changes to this package can propagate widely across the HR module; implementers should treat it as a stable, infrastructure-level API. The package header carries a 2005 revision marker, indicating long-standing stability across releases including 12.1.1 and 12.2.2.
-
PACKAGE: APPS.HR_BIS
12.2.2
-
PACKAGE: APPS.HR_BIS
12.1.1
-
PACKAGE BODY: APPS.HR_BIS
12.1.1
-
PACKAGE BODY: APPS.HR_BIS
12.2.2
-
APPS.HR_BIS dependencies on FND_LOOKUP_VALUES
12.1.1
-
APPS.HR_BIS dependencies on FND_LOOKUP_VALUES
12.2.2
-
APPS.HR_BIS dependencies on HR_BIS
12.2.2
-
APPS.HR_BIS dependencies on HR_BIS
12.1.1
-
APPS.HR_BIS dependencies on FND_LOOKUP_VALUES
12.1.1
-
APPS.HR_BIS dependencies on FND_LOOKUP_VALUES
12.2.2