Results for “hxtfv_variances”

21 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

HXTFV_VARIANCES is a read-only view owned by the APPS schema in Oracle E-Business Suite, defined within the HXT (Time and Labor) product family. It presents time-entry variance definitions configured through the Time and Labor setup, exposing threshold, period, organizational, and balance-related attributes in a denormalized, reporting-friendly form. The view is defined WITH READ ONLY, meaning it cannot be used as the target of DML; it exists purely as a query and integration surface for variance rules.

The view's primary value lies in resolving raw foreign-key identifiers held in the underlying variance table into human-readable names. Rather than returning only a location or organization ID, the view joins to the multilingual translation tables for locations and organizations and returns localized description and name values, subject to the session language. For users searching on location_name, this view is the appropriate entry point: the column is populated from HR_LOCATIONS_ALL_TL.LOCATION_CODE and is resolved for the current runtime language.

Underlying Base Objects

The view is defined over one base synonym and several join targets:

All three of the translation and element joins are outer joins ((+)), so a variance row is still returned when no matching organization, location, or element exists. The two translation tables are additionally constrained to USERENV('LANG'), ensuring that names are returned in the language of the querying session and that no duplicate rows are produced from multiple language installations.

Key Columns

Common Use Cases and Queries

The view is typically used to report which variance rules apply to a given location or organization, to audit threshold configuration, or to feed downstream validations. Because it exposes LOCATION_NAME directly, filtering by location requires no additional joins.

To list variances for a specific location:

  • SELECT variance_type, variance_period, high_threshold, low_threshold, location_name, organization_name FROM apps.hxtfv_variances WHERE location_name = :p_location;

To review all currently effective variance definitions with their balance context:

  • SELECT variance_type, organization_name, location_name, balance_name, start_date, end_date FROM apps.hxtfv_variances WHERE SYSDATE BETWEEN start_date AND end_date ORDER BY organization_name, location_name;

To retrieve variances for a known organization via its identifier rather than its name:

  • SELECT variance_type, element_name, location_name FROM apps.hxtfv_variances WHERE organization_id = :p_org_id;

Because the view is read-only and resolves language-dependent names at execution time, it should be treated as a query and reporting interface only. Any maintenance of variance definitions must be performed against the base HXT_VARIANCES table through supported Time and Labor functionality.