Search Results jg_zz_shared_pkg




Overview

JG_ZZ_SHARED_PKG is a shared PL/SQL utility package in the APPS schema that supports the Oracle E-Business Suite globalization and localization infrastructure. The "ZZ" naming convention identifies it as a shared component within the JG (globalization) module family, intended for use across multiple localization features rather than for a single country-specific extension. Its primary business function is to provide a common, centralized set of helper routines that determine whether globalization functionality is active and that resolve contextual identifiers such as country, product, and application. By centralizing these checks, the package enables country-specific and multi-national features to behave consistently and to honor site-level configuration.

The package body is documented as VALID in both Oracle EBS 12.1.1 and 12.2.2, indicating it is a standard, supported database object rather than a custom extension. It is not referenced by any other database object in the dependency metadata, but it is reported as referenced by 52 other packages, which confirms its role as a broadly consumed shared utility.

Key Procedures and Functions

The package exposes seven documented subprograms, whose purpose may be summarized as follows:

  • IS_GLOBALIZATION_ENABLED — Returns a boolean or flag indicating whether globalization features are currently enabled for the session, typically by evaluating profile option settings.
  • GET_COUNTRY — Resolves and returns the applicable country context, allowing callers to determine the current operating country for localization logic.
  • GET_PRODUCT — Returns the relevant product identifier associated with the globalization context, enabling callers to tailor behavior by product.
  • GET_APPLICATION — Returns the application identifier for the current context, supporting application-specific branching within shared globalization code.

The metadata lists four named subprograms explicitly, with three additional subprograms documented but not enumerated. As with all shared utility routines, these are intended to be called by dependent packages rather than executed directly by end users.

Tables Accessed

The package accesses the following objects via APPS synonyms:

  • FND_PROFILE_OPTION_VALUES — Stores profile option values at the site, application, responsibility, and user levels. The package reads this table to evaluate whether globalization is enabled and to obtain the configuration that drives GET_COUNTRY, GET_PRODUCT, and GET_APPLICATION.
  • PLITBLM — A public synonym for the PL/SQL integer table (index-by table) type used for passing collections of numeric values between PL/SQL program units. Its presence indicates internal use of array processing or parameter passing rather than storage of persistent data.

Usage Notes

JG_ZZ_SHARED_PKG is invoked programmatically by other PL/SQL units. The metadata notes it is referenced by 52 packages, which means it is called during the execution of forms, concurrent programs, and custom code that rely on globalization or localization behavior. Typical invocation patterns include:

  • Country-specific or regional extension packages calling IS_GLOBALIZATION_ENABLED to decide whether to apply localized logic.
  • Forms and concurrent programs indirectly invoking GET_COUNTRY, GET_PRODUCT, or GET_APPLICATION through dependent packages to determine session context.
  • Custom code that requires a consistent, supported method of resolving globalization configuration rather than querying profile options directly.

Because the package depends on FND_API, FND_GLOBAL, FND_PROFILE, XLE_BUSINESSINFO_GRP, and XLE_UTILITIES_GRP, callers should be aware that it inherits the standard FND and XLE framework dependencies. Direct modification of this package is not advisable; it should be treated as Oracle-supplied infrastructure and used only through its documented subprograms.