Results for “day_timecard_id”

6 results




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

Overview

HXC_TIMECARD_DAYS_V is a reporting and integration view owned by the APPS schema within the Oracle Time and Labor Engine (HXC) module. It presents the day-level building blocks of an employee timecard. In the Oracle EBS timecard data model, a timecard is decomposed into a hierarchy of time building blocks: a timecard header (the week or pay period), day-level ranges, and the individual time entries that fall within each day. This view isolates the "day" layer of that hierarchy, exposing one row for each day range that belongs to a person's timecard.

Because the view is restricted to the SCOPE = 'DAY' and TYPE = 'RANGE' combinations of the underlying time building blocks, it functions as a stable, purpose-built interface for processes that need to enumerate timecard days without navigating the broader, more complex building-block table. It is commonly consumed by timecard approval logic, time entry user interfaces, overtime and premium calculation routines, and custom reporting or integration extracts that must map time entries back to a specific calendar day. By relying on a documented APPS view rather than the base table directly, developers inherit Oracle's filtering semantics and reduce the risk of picking up unrelated building-block records.

Underlying Base Objects

The view is defined entirely over HXC_TIME_BUILDING_BLOCKS, referenced through its HXC synonym and owned by APPS. The documented base objects for the view are HXC_TIME_BUILDING_BLOCKS (SYNONYM) and the HR_GENERAL package.

HXC_TIME_BUILDING_BLOCKS is the central table of the Time and Labor Engine. It stores every node in a timecard's structure, discriminated by columns such as SCOPE, TYPE, RESOURCE_TYPE, and DATE_TO. The view applies three predicates against this table: SCOPE = 'DAY' limits rows to the day level, TYPE = 'RANGE' limits rows to time ranges rather than preferences or other block types, and RESOURCE_TYPE = 'PERSON' limits rows to person-owned timecards. A further predicate, DATE_TO = HR_GENERAL.END_OF_TIME, uses the HR_GENERAL package to select the currently effective version of each day block, excluding rows that have been date-effectively terminated or superseded. HR_GENERAL is a standard Oracle HRMS package that supplies the END_OF_TIME constant representing the open-ended effective date.

Key Columns

The view projects and renames the core identifying and temporal attributes of each day-level building block:

Common Use Cases and Queries

The view is typically queried to list all days on a person's timecard, to drive day navigation in a time entry screen, or to join day ranges to detailed time entries. A representative query is:

  • SELECT day_timecard_id, day_parent_id, day_resource_id, day_start_time, day_stop_time FROM hxc_timecard_days_v WHERE day_resource_id = :person_id ORDER BY day_start_time;
  • SELECT d.day_timecard_id, d.day_start_time, d.day_stop_time FROM hxc_timecard_days_v d, hxc_time_building_blocks e WHERE e.parent_building_block_id = d.day_timecard_id AND e.resource_type = 'PERSON';

These patterns support "way days management" requirements: determining which days exist for a resource, the span of each day, and how individual time entries roll up under each day.