Search Results x_msg_data




Overview

APPS.BSC_DIMENSION_LEVELS_PUB is the public PL/SQL package body that maintains dimension levels within the Oracle Balanced Scorecard (BSC) module of Oracle E-Business Suite. Its declared purpose, per the package header comment, is to create a dimension level in BSC. Dimension levels define the hierarchical granularity and structural relationships used when BSC aggregates and reports performance measures across an organization. The package encapsulates create, retrieve, update, and delete operations for dimension level definitions and for the associated system dimension level columns, and it exposes validation routines that enforce relational integrity between parent and child levels.

The package body carries a revision history from the original creation in October 2001 through later enhancements covering granular locking, multi-language support (removal of hardcoded "US" language values), "All" and "Comparison" lookup handling, LUD (last update date) validations, and LDT (loader) processing corrections. These changes indicate the package is a long-lived, actively maintained integration point rather than a standalone utility.

Key Procedures and Functions

The documented API surface comprises 26 procedures and functions, organized into three functional groups.

A TRANSLATE_DIMENSION_LEVEL procedure supports translated level descriptions, and LOAD_DIMENSION_LEVEL loads level data, with revised exception handling introduced during the ALL enhancement forward port. The routine raises errors via the standard FND_MSG_PUB mechanism, so callers should inspect x_msg_data for the returned message text after a failure.

Tables Accessed

The package operates against BSC_SYS_DIM_LEVELS_B (the base table holding dimension level definitions) and BSC_SYS_DIM_LEVELS_TL (the translation table storing language-specific level names and descriptions), both accessed through APPS synonyms. The _B table is the primary target of the create, update, and delete routines; the _TL table is written by the translation procedure and read during retrieval so that level text is returned in the caller's session language. LUD validations for dimension levels by group were added against these tables.

Usage Notes

The package is referenced by ten other packages, confirming it as a shared dependency for BSC setup and administration flows. It is typically invoked from BSC administrative forms, from concurrent programs that load or migrate dimension level definitions (including LDT file uploads), and from custom code requiring programmatic maintenance of scorecard hierarchies. Because callers receive error information through the standard message stack, any wrapper code should read x_msg_data or the FND_MSG_PUB message stack immediately after an unsuccessful call. The _PUB suffix indicates the supported public interface; direct DML against the underlying BSC_SYS_DIM_LEVELS tables should be avoided in favor of these APIs.