Search Results hr_balances
Overview
The APPS.HR_BALANCES package body encapsulates the core maintenance routines for Oracle EBS payroll balance configuration metadata. Within Oracle Human Resources and Oracle Payroll, a "balance" represents an accumulating quantity of pay or hours (for example, gross earnings, federal taxable wages, or vacation accrued) that is fed from one or more element input values through balance feeds. The HR_BALANCES package exists to create, modify, validate, and delete those balance feed definitions and the associated balance types on which the payroll run depends.
Because balance feeds determine how an element's processed input values roll up into accumulators used by reports, costing, and tax calculation, this package sits on a critical configuration path. Its documented API classification is "OTHER," indicating that it is an internal, non-public utility package rather than a formally published open interface. The body is VALID in both Oracle EBS 12.1.1 and 12.2.2 and, per the ETRM metadata, is referenced by 36 other database objects, reflecting its role as a shared low-level service for the payroll balance setup layer.
Key Procedures and Functions
The ETRM metadata documents eight procedures and functions in this package body:
- INS_BALANCE_FEED — Inserts a new balance feed record, establishing the relationship by which a source element input value contributes to a target balance.
- UPD_BALANCE_FEED — Updates an existing balance feed definition, such as when the source input value or additive/subtractive indicator changes.
- CHK_INS_BALANCE_FEED — Performs validation before a balance feed insert, enforcing the business rules that guard against duplicate or inconsistent feeds.
- CHK_DEL_BALANCE_FEED — Validates whether a balance feed may be safely deleted, protecting accumulators that are still in use.
- DEL_BALANCE_FEED — Deletes a balance feed record once validation has passed.
- DEL_BALANCE_TYPE_CASCADE — Deletes a balance type together with its dependent configuration, providing the cascade cleanup required to preserve referential integrity.
- CHK_INS_SUB_CLASS_RULES — Validates balance sub-classification rules prior to insertion, ensuring balances are correctly grouped for reporting and processing.
- DECODE_BALANCE — A helper function that decodes or resolves balance-related identifiers into their meaningful business representation.
No parameter signatures are asserted here; only the documented purpose of each routine is described.
Tables Accessed
The package reads and writes the principal Payroll balance configuration tables, accessed through APPS synonyms:
- PAY_BALANCE_FEEDS_F / PAY_BALANCE_FEEDS_S — the base and seed tables storing balance feed definitions, the primary target of the insert, update, and delete routines.
- PAY_BALANCE_TYPES / PAY_BALANCE_TYPES_TL — balance type definitions and their translated names, referenced when deleting types and resolving balance identity.
- PAY_DEFINED_BALANCES — the defined balance accumulators to which feeds are attached.
- PAY_ELEMENT_TYPES_F — element definitions that supply feed sources.
- PAY_INPUT_VALUES_F / PAY_INPUT_VALUES_F_TL — the element input values that act as the actual feed contributors.
- PAY_BALANCE_CLASSIFICATIONS and PAY_SUB_CLASSIFICATION_RULES_F — classification and sub-classification rules validated by CHK_INS_SUB_CLASS_RULES.
- HR_APPLICATION_OWNERSHIPS — used to confirm application-level ownership of configuration data.
- DUAL — standard single-row utility table.
The dependencies also list internal helpers (HR_UTILITY, HR_INPUT_VALUES, PAY_DEFINED_BALANCES_PKG, STANDARD), which supply shared validation and error-handling services.
Usage Notes
HR_BALANCES is an internal package and is not intended for direct invocation by customers or custom integrations. It is typically called behind the scenes by the Balance Feeds and Balance Types setup forms in Oracle Payroll, by concurrent processes that create or migrate balance configuration, and by the 36 dependent packages identified in the ETRM metadata. Because balance feed integrity directly affects payroll calculation, any custom code that manipulates balance configuration should reuse these routines rather than performing direct DML on PAY_BALANCE_FEEDS_F. As with all undocumented EBS internals, signatures may change between patch levels, so dependency on this package should be minimized.
-
PACKAGE BODY: APPS.HR_BALANCES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_BALANCES, status:VALID,
-
PACKAGE BODY: APPS.HR_BALANCES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_BALANCES, status:VALID,
-
PACKAGE: APPS.HR_BALANCES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_BALANCES, status:VALID,
-
PACKAGE: APPS.HR_BALANCES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_BALANCES, status:VALID,
-
SYNONYM: APPS.PAY_BALANCE_FEEDS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_BALANCE_FEEDS_S, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_CTGY_FEEDS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_CTGY_FEEDS_PKG, status:VALID,
-
SYNONYM: APPS.PAY_BALANCE_FEEDS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_BALANCE_FEEDS_S, status:VALID,
-
PACKAGE BODY: APPS.PYSGBUPL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PYSGBUPL, status:VALID,
-
PACKAGE BODY: APPS.PAY_US_CTGY_FEEDS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_US_CTGY_FEEDS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CN_BAL_UPL_STRUCT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CN_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE BODY: APPS.PAY_IP_BAL_UPL_STRUCT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_IP_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE: APPS.PAY_DEFINED_BALANCES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_DEFINED_BALANCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_FR_BAL_UPLOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_FR_BAL_UPLOAD, status:VALID,
-
PACKAGE BODY: APPS.PAY_FR_BAL_UPLOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_FR_BAL_UPLOAD, status:VALID,
-
PACKAGE BODY: APPS.PQP_EARNINGS_TEMPLATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_EARNINGS_TEMPLATE, status:VALID,
-
PACKAGE BODY: APPS.PAY_CN_BAL_UPL_STRUCT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CN_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE BODY: APPS.PYNEGNET01
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PYNEGNET01, status:VALID,
-
PACKAGE BODY: APPS.PYNEGNET01
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PYNEGNET01, status:VALID,
-
PACKAGE: APPS.PAY_DEFINED_BALANCES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_DEFINED_BALANCES_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_KR_BAL_INIT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_KR_BAL_INIT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAYBALUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAYBALUP, status:VALID,
-
PACKAGE BODY: APPS.PQP_UK_VEHICLE_TEMPLATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_UK_VEHICLE_TEMPLATE, status:VALID,
-
PACKAGE BODY: APPS.HR_GENERATE_PRETAX
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_GENERATE_PRETAX, status:VALID,
-
PACKAGE BODY: APPS.HR_ELEMENTS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ELEMENTS, status:VALID,
-
PACKAGE BODY: APPS.PAY_IN_BAL_UPL_STRUCT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_IN_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE BODY: APPS.HR_GENERATE_PRETAX
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_GENERATE_PRETAX, status:VALID,
-
PACKAGE BODY: APPS.HR_INPUT_VALUES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_INPUT_VALUES, status:VALID,
-
PACKAGE BODY: APPS.PAYBALUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAYBALUP, status:VALID,
-
PACKAGE BODY: APPS.HR_INPUT_VALUES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_INPUT_VALUES, status:VALID,
-
PACKAGE BODY: APPS.PYSGBUPL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PYSGBUPL, status:VALID,
-
PACKAGE BODY: APPS.HR_USER_INIT_EARN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_USER_INIT_EARN, status:VALID,
-
PACKAGE BODY: APPS.PAY_BLT_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_BLT_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_USER_INIT_DEDN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_USER_INIT_DEDN, status:VALID,
-
PACKAGE BODY: APPS.PAY_IP_BAL_UPL_STRUCT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_IP_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE BODY: APPS.PAY_IN_BAL_UPL_STRUCT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_IN_BAL_UPL_STRUCT, status:VALID,
-
PACKAGE BODY: APPS.PQP_EARNINGS_TEMPLATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_EARNINGS_TEMPLATE, status:VALID,
-
PACKAGE BODY: APPS.PAY_BLT_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_BLT_BUS, status:VALID,
-
PACKAGE BODY: APPS.HR_US_GARN_GEN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_US_GARN_GEN, status:VALID,
-
PACKAGE BODY: APPS.PAY_PURGE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PURGE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_KR_BAL_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_KR_BAL_INIT_PKG, status:VALID,
-
PACKAGE BODY: APPS.HR_ELEMENTS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_ELEMENTS, status:VALID,
-
PACKAGE BODY: APPS.HR_US_GARN_GEN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_US_GARN_GEN, status:VALID,
-
PACKAGE BODY: APPS.PQP_UK_VEHICLE_TEMPLATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_UK_VEHICLE_TEMPLATE, status:VALID,
-
PACKAGE BODY: APPS.HR_USER_INIT_DEDN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_USER_INIT_DEDN, status:VALID,
-
SYNONYM: APPS.PAY_BALANCE_CLASSIFICATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_BALANCE_CLASSIFICATIONS, status:VALID,
-
PACKAGE BODY: APPS.HR_USER_INIT_EARN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_USER_INIT_EARN, status:VALID,
-
PACKAGE: APPS.HR_BALANCES
12.2.2
-
SYNONYM: APPS.PAY_BALANCE_CLASSIFICATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_BALANCE_CLASSIFICATIONS, status:VALID,
-
PACKAGE BODY: APPS.PAY_PURGE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PURGE_PKG, status:VALID,
-
VIEW: APPS.PAY_CA_SOE_SUMM_BALANCES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_CA_SOE_SUMM_BALANCES_V, object_name:PAY_CA_SOE_SUMM_BALANCES_V, status:VALID,