Search Results hxt_batch_states
Overview
HXT_BATCH_STATES is a table within the HXT (Time and Labor) product schema in Oracle E-Business Suite, documented as valid in both release 12.1.1 and 12.2.2. Its stated purpose is to record the batch status of timecards — that is, the processing state associated with a Time and Labor batch identified by BATCH_ID. The physical schema documented in ETRM 12.2.2 comprises only three columns: BATCH_ID, STATUS, and DATE_EARNED, making it a narrow, transaction-oriented control table rather than a master data entity.
From a data modeling perspective, the supplied metadata characterizes this object's Data Vault classification as standalone — a heuristic derived from the absence of foreign-key relationships in the mined FK structure. In practical terms, this suggests HXT_BATCH_STATES functions as a lightweight reference or status record keyed by its own identifier, and would most naturally be modeled as a small standalone entity rather than as a hub, link, or satellite within a Data Vault design. The absence of documented FK relationships does not preclude application-level joins; it simply reflects that the referential logic is enforced in the application rather than the database.
Key Information Stored
All three documented columns are significant, and the table's small footprint means each carries a distinct structural role:
- BATCH_ID — The surrogate primary key column, and the sole column of the HXT_BATCH_STATES_PK constraint. It also appears as the only unique-index (business-key candidate) element. In practice it identifies the specific Time and Labor batch whose state is being tracked.
- STATUS — Holds the batch status value for the identified batch. This is the operational payload of the table: it captures where the batch currently stands in the Time and Labor processing lifecycle (for example, pending, processed, or otherwise flagged as complete or in error).
- DATE_EARNED — Records the date earned associated with the batch record. In Time and Labor, this date context is central to determining the time period to which the batch's timecards belong and is commonly used for range filtering and period-based reporting.
Because BATCH_ID is both the primary key and the only unique-index candidate, no separate business-key column is documented; the batch identifier serves both identity and lookup duties.
Common Use Cases and Queries
The primary scenarios center on status visibility and period-based selection of batches. A typical pattern returns the current state and earned date for a given batch:
- Status lookup:
SELECT batch_id, status, date_earned FROM hxt_batch_states WHERE batch_id = :batch_id;— used to confirm the processing state of a specific batch. - Period reporting: counting or listing batches by earned date, for example
SELECT status, COUNT(*) FROM hxt_batch_states WHERE date_earned BETWEEN :start_date AND :end_date GROUP BY status;to monitor batch throughput and outcomes for a given period. - Exception monitoring: filtering for batches whose STATUS indicates a non-successful or pending state, supporting operational follow-up on timecard processing.
- Integration reconciliation: comparing HXT_BATCH_STATES rows against the batch definitions and timecard detail tables to validate that each batch has an up-to-date state.
Because the table is keyed solely on BATCH_ID, most queries are highly selective and index-driven, making it well suited to lightweight, high-frequency status checks.
Related Objects
The supplied metadata documents HXT_BATCH_STATES as standalone, with no mined foreign-key relationships to other tables. Consequently, the most significant related objects are those that share the BATCH_ID value at the application layer within the Time and Labor schema. The principal relationships are:
- HXT_BATCHES (batch master) — joined on BATCH_ID; defines the batch that HXT_BATCH_STATES reports status for.
- HXT_BATCH_ITEMS / batch detail tables — joined on BATCH_ID; hold the individual timecard entries belonging to each batch.
- HXT_TIMECARDS — linked through the batch, providing the underlying timecard records whose processing state the batch status reflects.
- HXT databases views and concurrent programs — Time and Labor batch processing and retrieval concurrent programs read HXT_BATCH_STATES to determine eligible or remaining batches.
- HXT_BATCH_STATES_PK — the primary-key constraint that enforces uniqueness of BATCH_ID and underpins all joins above.
-
Table: HXT_BATCH_STATES
12.1.1
owner:HXT, object_type:TABLE, fnd_design_data:HXT.HXT_BATCH_STATES, object_name:HXT_BATCH_STATES, status:VALID, product: HXT - Time and Labor , description: Details of the batch status of timecards. , implementation_dba_data: HXT.HXT_BATCH_STATES ,
-
Table: HXT_BATCH_STATES
12.2.2
owner:HXT, object_type:TABLE, fnd_design_data:HXT.HXT_BATCH_STATES, object_name:HXT_BATCH_STATES, status:VALID, product: HXT - Time and Labor , description: Details of the batch status of timecards. , implementation_dba_data: HXT.HXT_BATCH_STATES ,
-
VIEW: HXT.HXT_BATCH_STATES#
12.2.2
owner:HXT, object_type:VIEW, object_name:HXT_BATCH_STATES#, status:VALID,
-
VIEW: APPS.HXT_RET_ROLLBACK_BATCHES_V
12.2.2
-
SYNONYM: APPS.HXT_BATCH_STATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HXT_BATCH_STATES, status:VALID,
-
SYNONYM: APPS.HXT_BATCH_STATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HXT_BATCH_STATES, status:VALID,
-
VIEW: APPS.HXT_OTM_ROLLBACK_BATCHES_V
12.2.2
-
VIEW: APPS.HXT_BATCH_REFERENCE_V
12.2.2
-
VIEW: APPS.HXT_RBCK_BATCH_REF_V
12.2.2
-
VIEW: APPS.HXT_BATCH_REFERENCE_V
12.1.1
-
VIEW: APPS.HXT_VAL_BATCH_REFERENCE_V
12.1.1
-
VIEW: APPS.HXT_RBCK_BATCH_REF_V
12.1.1
-
VIEW: APPS.HXT_ROLLBACK_BATCH_REF_V
12.2.2
-
VIEW: HXT.HXT_BATCH_STATES#
12.2.2
-
TABLE: HXT.HXT_BATCH_STATES
12.1.1
owner:HXT, object_type:TABLE, fnd_design_data:HXT.HXT_BATCH_STATES, object_name:HXT_BATCH_STATES, status:VALID,
-
TABLE: HXT.HXT_BATCH_STATES
12.2.2
owner:HXT, object_type:TABLE, fnd_design_data:HXT.HXT_BATCH_STATES, object_name:HXT_BATCH_STATES, status:VALID,
-
TRIGGER: APPS.SET_HXT_BATCH_STATES_INS
12.1.1
-
TRIGGER: APPS.SET_HXT_BATCH_STATES_INS
12.2.2
-
VIEW: APPS.HXT_BATCH_STATUS_FMV
12.1.1
-
VIEW: APPS.HXT_BATCH_STATUS_FMV
12.2.2
-
APPS.HXT_BATCH_PROCESS SQL Statements
12.1.1
-
VIEW: APPS.HXT_RET_ROLLBACK_BATCH_REF_V
12.2.2
-
VIEW: APPS.HXT_OTM_ROLLBACK_BATCH_REF_V
12.2.2
-
VIEW: APPS.HXT_VAL_BATCH_REFERENCE_V
12.2.2
-
APPS.HXT_RETRO_PROCESS SQL Statements
12.2.2
-
VIEW: APPS.HXT_ROLLBACK_BATCHES_V
12.2.2
-
APPS.HXT_RETRO_PROCESS SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
View: HXT_BATCH_REFERENCE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_BATCH_REFERENCE_V, object_name:HXT_BATCH_REFERENCE_V, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_BATCH_REFERENCE_V ,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.HXTFV_TIMECARDS
12.1.1
-
View: HXT_BATCH_REFERENCE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_BATCH_REFERENCE_V, object_name:HXT_BATCH_REFERENCE_V, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_BATCH_REFERENCE_V ,
-
View: HXT_VAL_BATCH_REFERENCE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_VAL_BATCH_REFERENCE_V, object_name:HXT_VAL_BATCH_REFERENCE_V, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_VAL_BATCH_REFERENCE_V ,
-
TRIGGER: APPS.SET_HXT_BATCH_STATES_INS
12.1.1
owner:APPS, object_type:TRIGGER, object_name:SET_HXT_BATCH_STATES_INS, status:VALID,
-
TRIGGER: APPS.SET_HXT_BATCH_STATES_INS
12.2.2
owner:APPS, object_type:TRIGGER, object_name:SET_HXT_BATCH_STATES_INS, status:VALID,
-
APPS.HXT_BATCH_PROCESS SQL Statements
12.2.2
-
VIEW: APPS.HXT_TIMECARDS_FMV
12.1.1
-
VIEW: APPS.HXT_TIMECARDS_FMV
12.2.2
-
PACKAGE BODY: APPS.HXT_RETRO_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HXT_RETRO_PROCESS, status:VALID,
-
View: HXT_BATCH_STATUS_FMV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_BATCH_STATUS_FMV, object_name:HXT_BATCH_STATUS_FMV, status:VALID, product: HXT - Time and Labor , implementation_dba_data: APPS.HXT_BATCH_STATUS_FMV ,
-
PACKAGE BODY: APPS.HXT_RETRO_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HXT_RETRO_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.HXT_TIME_PAY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HXT_TIME_PAY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.HXT_BATCH_REFERENCE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXT.HXT_BATCH_REFERENCE_V, object_name:HXT_BATCH_REFERENCE_V, status:VALID,