Search Results hxt_det_hours_worked_fmv
Overview
HXT_DET_HOURS_WORKED_FMV is an APPS-owned database view in the Oracle E-Business Suite Time and Labor (HXT) module, documented as VALID in ETRM for releases 12.1.1 and 12.2.2. The suffix "FMV" denotes a "filtered materialized-style" view pattern: rather than acting as a simple pass-through, the view applies a deterministic WHERE clause to the base detail table so that only rows that carry real payroll or billing significance are exposed. This view presents detail hours worked lines that satisfy at least one of three conditions: reported hours are greater than zero, a monetary amount is greater than zero, or a RETRO_BATCH_ID is populated.
The third condition is directly relevant to the search term "retro_batch_id." The column RETRO_BATCH_ID identifies the retroactive processing batch to which a recomputed or adjusted time line belongs. By including rows where RETRO_BATCH_ID IS NOT NULL even when HOURS and AMOUNT are zero, the view ensures that retro-adjustment lines remain visible for auditing, payroll costing, and downstream BEE (Batch Element Entry) processing rather than being filtered out as zero-value records.
The view additionally enforces date-effectivity by comparing EFFECTIVE_START_DATE and EFFECTIVE_END_DATE against the effective date of the current session, retrieved from FND_SESSIONS via USERENV('SESSIONID'). This guarantees that consumers see only the version of each hours line that is valid for the session's effective date, an essential behavior in a date-tracked (DATE_TRACKED) time store.
Underlying Base Objects
The view is defined over two documented referenced objects, both resolved through APPS synonyms:
- HXT_DET_HOURS_WORKED_F — the primary base table holding detail hours worked records, including regular, overtime, and retro lines, and carrying the date-tracked effectivity columns.
- FND_SESSIONS — the Applications session table, used in the subquery that returns the EFFECTIVE_DATE for the current USERENV('SESSIONID').
No joins to external descriptive tables are performed; the view is a single-table projection with an inline session-date scalar subquery. Because the view references FND_SESSIONS, its result set is session-sensitive and must be queried from within an active EBS session context.
Key Columns
- ID / PARENT_ID — Primary identifier of the detail line and the parent grouping identifier for hierarchical time records.
- TIM_ID, DATE_WORKED, ASSIGNMENT_ID — The time entry, the worked date, and the assignment against which hours were reported.
- HOURS, TIME_IN, TIME_OUT, ACTUAL_TIME_IN, ACTUAL_TIME_OUT — Reported and actual duration and punch attributes.
- AMOUNT, HOURLY_RATE, RATE_MULTIPLE — Monetary results derived from rate and earnings configuration.
- RETRO_BATCH_ID, RETRO_PBL_LINE_ID, PBL_LINE_ID — Retro processing batch and payroll/billing line linkage; RETRO_BATCH_ID drives the view's inclusion filter.
- EFFECTIVE_START_DATE / EFFECTIVE_END_DATE — Date-tracked validity window used to return the session-effective row version.
- ELEMENT_TYPE_ID, EARN_POL_ID — Earnings element and earning policy used for payroll mapping.
- PROJECT_ID, TAS_ID, LOCATION_ID, SHT_ID — Project, task, location, and shift attribution used for costing.
- PAY_STATUS, PA_STATUS, LINE_STATUS — Payroll and project accounting processing states.
- OBJECT_VERSION_NUMBER — Optimistic locking attribute for OAF-based maintenance.
Common Use Cases and Queries
Typical uses include retro-pay auditing, time-to-payroll reconciliation, costing review, and extraction feeds. A query to isolate retro lines is straightforward:
- Retro batch review: SELECT assignment_id, date_worked, hours, amount, retro_batch_id FROM hxt_det_hours_worked_fmv WHERE retro_batch_id IS NOT NULL ORDER BY retro_batch_id, date_worked;
- Hours-to-amount reconciliation: SELECT date_worked, SUM(hours), SUM(amount) FROM hxt_det_hours_worked_fmv WHERE assignment_id = :p_assignment GROUP BY date_worked;
- Retro versus current comparison: grouping by CASE WHEN retro_batch_id IS NULL THEN 'CURRENT' ELSE 'RETRO' END to measure the retro impact.
Because the underlying table is date-tracked, all queries should be issued within a correctly initialized session; direct SQL from a non-EBS tool may fail the FND_SESSIONS subquery or return no rows.
-
View: HXT_DET_HOURS_WORKED_FMV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_DET_HOURS_WORKED_FMV, object_name:HXT_DET_HOURS_WORKED_FMV, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_DET_HOURS_WORKED_FMV ,
-
View: HXT_DET_HOURS_WORKED_FMV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_DET_HOURS_WORKED_FMV, object_name:HXT_DET_HOURS_WORKED_FMV, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_DET_HOURS_WORKED_FMV ,
-
SYNONYM: PUBLIC.HXT_DET_HOURS_WORKED_FMV
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:HXT_DET_HOURS_WORKED_FMV, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.HXT_DET_HOURS_WORKED_FMV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_DET_HOURS_WORKED_FMV, object_name:HXT_DET_HOURS_WORKED_FMV, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.HXT_DET_HOURS_WORKED_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HXT_DET_HOURS_WORKED_F, status:VALID,
-
SYNONYM: APPS.HXT_DET_HOURS_WORKED_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HXT_DET_HOURS_WORKED_F, status:VALID,
-
VIEW: APPS.HXT_DET_HOURS_WORKED_FMV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_DET_HOURS_WORKED_FMV, object_name:HXT_DET_HOURS_WORKED_FMV, status:VALID,
-
SYNONYM: APPS.FND_SESSIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_SESSIONS, status:VALID,
-
SYNONYM: APPS.FND_SESSIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_SESSIONS, status:VALID,
-
eTRM - HXT Tables and Views
12.1.1
description: A location to put an employee's work shifts on which all earnings are based. ,
-
eTRM - HXT Tables and Views
12.2.2
description: A location to put an employee's work shifts on which all earnings are based. ,
-
eTRM - HXT Tables and Views
12.1.1
description: A location to put an employee's work shifts on which all earnings are based. ,
-
eTRM - HXT Tables and Views
12.2.2
description: A location to put an employee's work shifts on which all earnings are based. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1