Search Results bsc_calculations_pub
Overview
APPS.BSC_CALCULATIONS_PUB is a public PL/SQL package in the Oracle E-Business Suite Balanced Scorecard (BSC) module, part of the Enterprise Performance Foundation / Daily Business Intelligence technology stack. In Oracle EBS 12.1.1 and 12.2.2, this package encapsulates the business logic used to define, persist, and validate KPI calculation definitions within the Balanced Scorecard framework. It functions as a public API (the "PUB" suffix indicates it is a published, callable interface intended to be invoked from outside its own schema boundary), allowing other BSC components and custom code to manage how scorecard measures are calculated rather than requiring direct DML against the underlying scorecard tables. The package is registered in the APPS schema with a VALID status and is built on the FND_API standard, using Oracle's common API error-handling and messaging conventions. It depends on the FND_API package and standard SYS constructs, and it is referenced by the BSC_BIS_KPI_MEAS_PUB package, indicating a role in the broader KPI measurement pipeline.
Key Procedures and Functions
The ETRM metadata documents eight public procedures and functions. Their names and purposes are as follows:
- SAVE_OBJ_CALCULATIONS — Persists the calculation definitions associated with a scorecard object, storing the mapping between a measure and its calculation logic.
- SAVE_YTD_AS_DEFAULT_CALC — Establishes a year-to-date calculation as the default calculation for a given measure or object.
- SAVE_USER_WIZARD_CALCULATIONS — Saves calculations defined through the user-facing calculation wizard interface, capturing user-authored calculation specifications.
- IS_BALANCE_MEASURE — A predicate function that determines whether a given measure is a balance-type measure (a stock measure whose value is point-in-time rather than a period flow).
- IS_YTD_ENABLED_IN_DEF_MEASURE — Evaluates whether year-to-date aggregation is enabled on a defined measure, governing whether YTD values can be derived.
- IS_CALCULATION_DEFAULT — Tests whether a specified calculation is marked as the default calculation for its associated measure.
- IS_DATASET_BALANCE_TYPE — Determines whether a dataset is of balance type, which influences how aggregations and calculations are applied.
- IS_CALCULATION_ENABLED — Reports whether a given calculation is currently enabled and therefore active in scorecard processing.
No parameter signatures are documented, and they should not be assumed; callers should reference the installed package specification for exact interfaces.
Tables Accessed
The package operates against several APPS-synonym tables central to Balanced Scorecard configuration:
- BSC_KPIS_B — the base table holding KPI definitions.
- BSC_KPI_ANALYSIS_MEASURES_B — stores measure definitions tied to KPI analyses.
- BSC_KPI_CALCULATIONS — holds the calculation definitions themselves, the primary target of the SAVE procedures.
- BSC_SYS_DATASETS_B and BSC_SYS_DATASET_CALC — define system datasets and their calculations, consulted by the dataset balance-type and calculation logic.
- BSC_SYS_MEASURES — the system measure definitions used to validate measure type, YTD enablement, and balance characteristics.
These tables together constitute the metadata repository that drives scorecard calculation behavior.
Usage Notes
BSC_CALCULATIONS_PUB is typically invoked indirectly. It is referenced by BSC_BIS_KPI_MEAS_PUB, meaning KPI measurement processing calls into it during scorecard computation. It is also the likely back-end for the Balanced Scorecard calculation setup forms and the calculation wizard, where administrators define or amend calculations, and for any concurrent programs that initialize or refresh calculation defaults such as YTD settings. Custom integrators should call the PUB procedures rather than writing directly to BSC_KPI_CALCULATIONS, in order to preserve validation and the standardized FND_API error handling. Because the package depends on FND_API, any calling transaction should initialize and check the standard API return status. The package is common to both 12.1.1 and 12.2.2 and remains schema-valid in the APPS account; no release-specific behavioral divergence is documented in the available metadata.
-
PACKAGE: APPS.BSC_CALCULATIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_CALCULATIONS_PUB, status:VALID,
-
PACKAGE BODY: APPS.BSC_CALCULATIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BSC_CALCULATIONS_PUB, status:VALID,
-
PACKAGE: APPS.BSC_COLOR_CALC_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_COLOR_CALC_UTIL, status:VALID,
-
PACKAGE: APPS.BSC_CALCULATIONS_PUB
12.1.1
-
SYNONYM: APPS.BSC_KPI_CALCULATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_KPI_CALCULATIONS, status:VALID,
-
SYNONYM: APPS.BSC_SYS_DATASET_CALC
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_SYS_DATASET_CALC, status:VALID,
-
PACKAGE: APPS.BSC_CALCULATIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_CALCULATIONS_PVT, status:VALID,
-
PACKAGE: APPS.BSC_DATASETS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_DATASETS_PUB, status:VALID,
-
PACKAGE: APPS.BSC_BIS_MEASURE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_BIS_MEASURE_PUB, status:VALID,
-
VIEW: APPS.BSC_DB_MEASURE_COLS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BSC.BSC_DB_MEASURE_COLS_VL, object_name:BSC_DB_MEASURE_COLS_VL, status:VALID,
-
SYNONYM: APPS.BSC_SYS_MEASURES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_SYS_MEASURES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.BSC_DESIGNER_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_DESIGNER_PVT, status:VALID,
-
PACKAGE: APPS.BSC_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BSC_UTILITY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.BSC_SYS_DATASETS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_SYS_DATASETS_B, status:VALID,
-
SYNONYM: APPS.BSC_KPI_ANALYSIS_MEASURES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_KPI_ANALYSIS_MEASURES_B, status:VALID,
-
PACKAGE BODY: APPS.BSC_BIS_KPI_MEAS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BSC_BIS_KPI_MEAS_PUB, status:VALID,
-
SYNONYM: APPS.BSC_KPIS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:BSC_KPIS_B, status:VALID,
-
APPS.BSC_BIS_KPI_MEAS_PUB dependencies on BSC_CALCULATIONS_PUB
12.1.1
-
APPS.BSC_CALCULATIONS_PUB dependencies on BSC_CALCULATIONS_PUB
12.1.1
-
PACKAGE BODY: APPS.BSC_CALCULATIONS_PUB
12.1.1
-
eTRM - BSC Tables and Views
12.1.1
description: Tab permissions ,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
eTRM - BSC Tables and Views
12.1.1
description: Tab permissions ,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,