Search Results fa_util_pub




Overview

FA_UTIL_PUB is a public utility package within the Oracle E-Business Suite Fixed Assets (FA) module, owned by the APPS schema. Its header identifies it as a published API surface (API classification: PUB), meaning it is intended for external and cross-module invocation rather than being restricted to internal Fixed Assets processing. The package resides in the FAPUTILS.pls source file, with a version header dated 2005, reflecting its long-standing role as a stable, low-level utility within the Fixed Assets codebase.

Functionally, FA_UTIL_PUB provides shared infrastructure services that support diagnostic logging and instrumentation across the Fixed Assets API layer. Rather than performing asset transactions itself, it supplies reusable helper functions that other packages call to obtain configuration or state information. Its inclusion at the "PUB" classification indicates Oracle supports calling it from custom code, though its narrow scope means it serves as a building block rather than an end-user business API.

Key Procedures and Functions

The documented package metadata lists a single public program unit:

  • GET_LOG_LEVEL_REC — A function that returns a BOOLEAN and populates a log level record structure typed as FA_API_TYPES.log_level_rec_type through an OUT NOCOPY parameter. The function retrieves the current logging level configuration used by the Fixed Assets API layer, allowing callers to determine whether and at what verbosity to emit diagnostic messages.

This function returns Boolean true/false to signal success or failure of the retrieval operation, while the actual log level data is returned in the OUT parameter. The NOCOPY hint reduces overhead by passing the record by reference rather than by value.

Tables Accessed

The documented ETRM metadata for FA_UTIL_PUB does not list any tables referenced through APPS synonyms. Consistent with its role as a logging utility, the package relies on the shared type definitions in FA_API_TYPES rather than on direct table DML. Log level configuration in Fixed Assets is typically derived from profile option settings or system parameters rather than from application tables. Because no table references are documented, this package should be understood as a pure computational/configuration utility with no direct transactional impact on Fixed Assets data.

Usage Notes

FA_UTIL_PUB is a foundational dependency within the Fixed Assets module. The ETRM metadata records that it is referenced by 60 other packages, confirming its role as a high-fan-in utility. Any modification to its behavior carries broad blast radius across Fixed Assets APIs, making it a stable interface that Oracle carefully controls.

Typical invocation occurs inside other Fixed Assets packages that wish to self-diagnose:

  • Callers invoke GET_LOG_LEVEL_REC before emitting debug output, checking the returned log level to decide whether to write trace messages.
  • It is not associated with Oracle Forms user interfaces or concurrent programs directly; it is invoked programmatically from PL/SQL.
  • Custom code extending Fixed Assets APIs may call it when building diagnostic wrappers, though most implementers interact with higher-level FA APIs such as FA_ADJUSTMENT_PUB or FA_ADDITION_PUB.
  • Because GET_LOG_LEVEL_REC returns a BOOLEAN, custom callers must handle the return status and declare a variable of type FA_API_TYPES.log_level_rec_type to receive the OUT parameter.

Given its diagnostic purpose, FA_UTIL_PUB should be treated as read-only infrastructure. It performs no business validation and no data manipulation, so its use does not affect asset balances, depreciation, or transaction integrity.