Search Results delete_bsc_dim_levels_md




Overview

APPS.BSC_DIMENSION_LEVELS_PVT is the private implementation package behind the Balanced Scorecard (BSC) Dimension Level public API in Oracle E-Business Suite. It provides the core PL/SQL logic used to create, maintain, and validate dimension levels and the relationships between them within the BSC/OBIA performance management model. Dimension levels define the hierarchical structures (such as Organization, Time, or Account hierarchies) that organize data in the Balanced Scorecard repository.

The package header carries the RCS identifier BSCVDMLS.pls 120.0, dated 2005/06/01, and is Copyright Oracle Corporation. Its design follows the standard EBS private/public API pattern: BSC_DIMENSION_LEVELS_PUB holds the public specification, while this PVT package holds the actual implementation and is normally invoked indirectly through the public wrapper. The stated purpose in the header — "This package creates a BSC Dimension (Level)" — confirms its role as the metadata engine for dimension-level definition, including the Create_Dim_Level entry point that populates all metadata for a given dimension level.

Key Procedures and Functions

The package exposes approximately thirty documented procedures organized around CRUD operations, validation, and identifier generation:

Tables Accessed

All access is performed through APPS synonyms. The core dimension tables are BSC_SYS_DIM_LEVELS_B (base level definitions), BSC_SYS_DIM_LEVELS_TL (translated names), BSC_SYS_DIM_LEVELS_BY_GROUP (group-to-level mapping), and BSC_SYS_DIM_LEVEL_RELS (level-to-level relationships, written by CREATE_DIM_LEVEL_RELATION). Column metadata resides in BSC_SYS_DIM_LEVEL_COLS. Several _S sequences — BSC_SYS_DIM_LEVEL_ID_S, BSC_SYS_DIM_GROUP_ID_S, and others — provide primary keys via GET_NEXT_VALUE/GET_ID. BSC_DB_TABLES and BSC_DB_TABLES_RELS map levels to their underlying database tables, while FND_LANGUAGES supports translation. AD_DDL is used for dynamic DDL operations, and DUAL for simple expression evaluation.

Usage Notes

Because this is a PVT package, it should not be called directly by customer code; the supported entry point is the BSC_DIMENSION_LEVELS_PUB public API, which delegates to these procedures. The package is referenced by twenty other packages, indicating it is a foundational dependency for higher-level BSC setup and administration routines. It is typically invoked from the Balanced Scorecard administrator setup forms and from concurrent programs that build or refresh dimension metadata. Custom integrations that must create dimension levels or level relations should call the PUB wrapper rather than this private package, and should honor the p_commit convention (using FND_API.G_FALSE when participating in a larger transaction). The standard NOCOPY OUT parameters x_return_status, x_msg_count, and x_msg_data should always be inspected for error handling.