Results for “pay_balance_context_values”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The PAY_BALANCE_CONTEXT_VALUES table is an Oracle Payroll (PAY) localization object, residing in the HR schema. It stores context values that qualify balance definitions so that payroll balances can be correctly scoped by the localization attributes relevant to a specific legislative or business context. Because payroll calculations vary widely across countries, balances such as gross earnings, tax withholdings, and deductions must be distinguishable by the context in which they were accumulated. This table provides that dimensional qualification, associating a balance instance with the context values that define it.
Under a heuristic Data Vault classification mined from its foreign key structure, PAY_BALANCE_CONTEXT_VALUES is characterized as satellite-leaning. In Data Vault terms, this suggests the table functions primarily as a descriptive satellite attached to a parent business key (identified by LATEST_BALANCE_ID and CONTEXT_ID), carrying contextual attribute values rather than acting as a hub of unique business entities or a link resolving many-to-many relationships. This modeling suggestion reflects the table's role as a store of qualifying detail around balances, not as an independent master entity.
Key Information Stored
The table has four documented columns and a composite primary key. The columns and their roles are as follows:
- LATEST_BALANCE_ID — Identifies the balance instance to which the context value applies. This is also one of the two columns forming the composite primary key, tying the record to the most recent (latest) balance row it qualifies.
- CONTEXT_ID — References the context definition in FF_CONTEXTS, specifying which localization context dimension (for example, a legislative or organizational context) is being valued. It is the second column of the composite primary key and the sole documented foreign key.
- VALUE — Holds the actual context value assigned for the given balance and context pair, expressing the specific qualifier that distinguishes this balance across localization dimensions.
- INSTANCE_ID — Provides an instance discriminator, supporting the identification of a specific occurrence of the balance-context combination where multiple instances exist.
The surrogate/business-key structure is documented through the unique index PAY_BALANCE_CONTEXT_VALUES_PK, defined on the composite of LATEST_BALANCE_ID and CONTEXT_ID. This composite serves as the business-key candidate for the table, distinguishing it from any purely surrogate key. The functional grain is therefore one row per balance instance per context definition.
Common Use Cases and Queries
Typical usage centers on reporting and correctness checks for localized balance data. A frequent pattern joins context values to their context definitions to translate CONTEXT_ID into a human-readable context name:
- Retrieving all context qualifiers for a given balance instance by filtering on LATEST_BALANCE_ID.
- Joining to FF_CONTEXTS on CONTEXT_ID to resolve the context name and application for reporting.
- Validating that every localized balance carries the expected context values for its legislative context.
- Auditing VALUE assignments where multiple instances exist, using INSTANCE_ID to disambiguate.
A representative query joins the two tables on the foreign key:
SELECT bcv.LATEST_BALANCE_ID, fc.CONTEXT_NAME, bcv.VALUE, bcv.INSTANCE_ID
FROM HR.PAY_BALANCE_CONTEXT_VALUES bcv
JOIN FND_FF_CONTEXTS fc ON fc.CONTEXT_ID = bcv.CONTEXT_ID
WHERE bcv.LATEST_BALANCE_ID = :balance_id;
Such queries support payroll reconciliation, localization compliance reporting, and troubleshooting of balance discrepancies across legislative contexts.
Related Objects
The following objects have significant relationships with PAY_BALANCE_CONTEXT_VALUES:
- FF_CONTEXTS — Referenced through the foreign key PAY_BALANCE_CONTEXT_VALUES.CONTEXT_ID → FF_CONTEXTS. This is the principal parent object defining the available context dimensions.
- PAY_BALANCE_CONTEXT_VALUES_PK — The composite unique index on (LATEST_BALANCE_ID, CONTEXT_ID), representing the business-key candidate and enforcing the table's grain.
- Payroll balance definition tables — Parent balance entities referenced via LATEST_BALANCE_ID, which establish the balance instances this table qualifies.
- Payroll balance retrieval APIs — Standard balance extraction logic that reads context-qualified balances during payroll runs and reporting.
Because the documented metadata is focused, the primary and most reliable relationship remains the FF_CONTEXTS foreign key on CONTEXT_ID.
-
Localization balance contexts.
-
Localization balance contexts.
-
PACKAGE: APPS.GROSSUP_UPD 12.1.1
-
PACKAGE: APPS.GROSSUP_UPD 12.2.2
-
PACKAGE: APPS.CA_GROSSUP_UPD 12.1.1