Results for “validate_bucket_sql”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

HRI_APL_DGNSTC_LOOKUP is a PL/SQL package owned by the APPS schema within Oracle E-Business Suite, documented against releases 12.1.1 and 12.2.2. Its source header identifies the file as hriadglk.pkh, dated 2006/12/05, and marks the object with the ";noship" designation, indicating it is an internal, non-shipped support component rather than part of the formal public API surface. The package belongs to the Oracle HR Intelligence (HRI) diagnostics infrastructure and is classified under the ETRM API classification of OTHER.

The package serves a reference and configuration discovery role. Its functions return the SQL statements, code values, and structural identifiers that the HRI analytic diagnostics framework requires when evaluating lookup-driven data such as rate types, currency codes, flex value sets, and organization structure names. By centralizing these lookups, the package allows diagnostic logic to resolve business configuration at runtime without hard-coding values into the diagnostic definitions themselves. This is a supporting utility package rather than a transactional business API; it does not process business events, and the ETRM metadata records no dependencies from other packages on it.

Key Procedures and Functions

The package exposes six documented functions, each returning a VARCHAR2 value. No parameter lists beyond those recorded in the source are asserted.

  • GET_LOOKUP_SQL — Returns the SQL text associated with a supplied lookup code. This enables the diagnostics engine to retrieve the query required to evaluate a specific lookup category at runtime.
  • GET_RATE_TYPE — Returns the applicable rate type code used by the diagnostic logic. This is the function surfaced by the user's search term "get_rate_type."
  • GET_CURRENCY_CODE — Returns the currency code applicable to the diagnostic context.
  • GET_FLEX_VALUE_SET — Returns the key flexfield or descriptive flexfield value set identifier referenced by the diagnostics framework.
  • GET_ORG_STRUCT_NAME — Returns the organization structure name used to scope organizational diagnostics.
  • VALIDATE_BUCKET_SQL — Accepts a bucket code and returns the SQL used to validate that bucket. This is the only documented function taking an input parameter (p_bucket_code).

Tables Accessed

The ETRM metadata for this package documents no tables referenced through APPS synonyms. This is consistent with its role as a lookup and SQL-text provider: the functions return configuration values and SQL fragments rather than reading or writing base tables directly. Any table access occurs in the SQL statements returned to and executed by the calling diagnostics program, not within the package body itself.

Usage Notes

This package is an internal implementation component of the HRI diagnostics framework and is not intended for direct invocation by customer code. It is typically called by diagnostics runtime programs and concurrent diagnostic processes that must resolve configuration values — rate type, currency code, flex value set, and organization structure name — before executing validation or analysis logic. The ";noship" header designation and the absence of any documented dependent packages suggest that the object is stable but unsupported for external extension. Customizations that call GET_RATE_TYPE or the related functions should treat the return values as read-only configuration inputs and should not rely on the package as a public interface across upgrades. Implementers should obtain the actual signature details from the installed package specification on their specific 12.1.1 or 12.2.2 instance before referencing these functions.