Search Results bix_dm_get_agent_refresh_date




Overview

BIX_UTIL_PKG is a utility package owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Interaction Center / Call Center intelligence (BIX) module. It is declared AUTHID CURRENT_USER, meaning its SQL statements execute with the privileges of the invoking session rather than the package owner — an important consideration when it is called from restricted contexts. The package supplies a collection of shared helper routines used by the BIX reporting layer to render dashboard footers, resolve refresh timestamps, derive accounting periods, and format elapsed-time values. It is deliberately non-transactional: it holds no business tables of its own and performs no DML against transactional entities.

In the ETRM 12.1.1 metadata the package is classified as OTHER rather than as a public or private API, confirming it is an internal support library rather than a supported integration interface. Twelve other packages reference it, which indicates broad internal reuse across the BIX family of reports and the real-time agent and call-monitoring dashboards.

Key Procedures and Functions

The documented interface comprises twenty-four callable units grouped by purpose.

All header-rendering functions accept an optional p_context parameter defaulted to NULL, allowing a single function to serve several calling reports.

Tables Accessed

The package reads a small, well-defined set of objects through APPS synonyms.

  • BIX_DM_AGENT_SUM, BIX_DM_CALL_SUM, BIX_DM_AGENT_CALL_SUM and BIX_DM_UWQ_AGENT_SUM — the pre-aggregated data-mart summary tables queried by the refresh-date and footer functions to establish when statistics were last populated.
  • BIX_DM_COLLECT_LOG — the collection log consulted to determine the outcome and timestamp of the most recent data-mart load.
  • GL_PERIODS — the General Ledger period definition table, used by GET_PREV_PERIOD, GET_CURR_PERIOD and the related date functions to translate period names into concrete start and end dates.
  • DUAL — used for scalar evaluations such as the null lookup and session identifier retrieval.

No documented insert, update or delete operations are performed; the package is read-only with respect to these tables.

Usage Notes

BIX_UTIL_PKG is not exposed through a standard concurrent program submission form. It is invoked indirectly: report and dashboard templates call the footer and refresh-date functions during output generation, and other BIX packages call it internally — the metadata records twelve dependent packages. Because it is declared AUTHID CURRENT_USER, callers must hold direct privileges on the underlying synonyms; custom code that invokes it from a schema other than APPS should be tested accordingly. The most frequently searched entry point, GET_ICX_SESSION_ID, is typically used inside JSP or OAF-based Interaction Center pages to obtain the active ICX session number for logging and personalisation, and it relies on the ICX session context being initialised at the time of the call. All functions were last shipped at version 115.24 in November 2002 and have remained stable across 12.1.1 and 12.2.2.