Search Results pay_batch_headers_v1
Overview
The PAY_BATCH_HEADERS_V1 view is a public, APPS-owned database object within the Oracle E-Business Suite Payroll (PAY) product family. Its stated purpose is to provide a consolidated, fully denormalized summary of payroll batch headers for consumption by the Oracle Forms screen PAYWSSBS (Batch Summary). In the Oracle EBS 12.1.1 and 12.2.2 releases this view holds a status of VALID and is exposed from the APPS schema, making it available to any reporting, integration, or extension component that connects with the standard APPS credentials or an equivalent synonym-owning schema.
Because the view resolves the opaque numeric batch identifier into a human-readable batch name, batch reference, and lookup-driven status label, it serves as the canonical read-only interface for batch-level payroll processing data. It is frequently used by Fast Formulas, concurrent extracts, BI Publisher reports, and third-party integration layers that need to enumerate or filter payroll batches without joining the underlying base tables manually.
Underlying Base Objects
The view definition joins the PAY_BATCH_HEADERS synonym against the HR_LOOKUPS view, and additionally invokes the PAY_PAYWSQEE_PKG package through a PL/SQL function call embedded in the WHERE clause. The documented referenced base objects are:
PAY_BATCH_HEADERS(SYNONYM) — supplies the core batch attributes.HR_LOOKUPS(VIEW) — supplies the translated meaning of the batch status code whereLOOKUP_TYPE = 'BATCH_STATUS'andAPPLICATION_ID = 800.PAY_PAYWSQEE_PKG(PACKAGE) — itsBATCH_OVERALL_STATUSfunction computes the current overall status for each batch identifier.HR_API(PACKAGE) — an indirect dependency referenced by the PAY product stack.
The join is an inner join, so a batch row is returned only when the computed status maps to a valid BATCH_STATUS lookup code, and only when the batch belongs to the applicable business group.
Key Columns
- BATCH_ID — Surrogate primary key of the payroll batch; used as the bind variable to the status function and as the foreign key to downstream batch detail tables.
- BATCH_NAME — User-assigned descriptive name for the batch, typically the label employees recognize in the Batch Summary form.
- BATCH_REFERENCE — Free-text reference identifier attached to the batch. This is the column most relevant to the search term “batch_reference” and is the primary candidate for filtering, cross-referencing with external systems, or reconciliation of payroll transmissions.
- BATCH_STATUS — The decoded meaning of the batch’s current state (for example, unprocessed, processed, or transferred), resolved through the
BATCH_STATUSlookup. - BUSINESS_GROUP_ID — The HR business group that owns the batch, enabling multi-organization and legislative data segregation in global deployments.
Common Use Cases and Queries
The principal use case is the Batch Summary form query, which relies on this view to present one row per batch together with its friendly name and status. Reporting extensions and integrations typically reuse the same projection. A typical query filtering on the searched attribute is:
SELECT batch_id,
batch_name,
batch_reference,
batch_status,
business_group_id
FROM apps.pay_batch_headers_v1
WHERE batch_reference = :p_batch_reference
AND business_group_id = :p_business_group_id;
Because BATCH_STATUS is computed row-by-row via PAY_PAYWSQEE_PKG.BATCH_OVERALL_STATUS, queries against large batch populations can be expensive; predicates on BATCH_ID or BATCH_REFERENCE should be supplied wherever possible to reduce the number of function invocations. A common variant lists all active batches for a business group:
SELECT batch_name, batch_reference, batch_status
FROM apps.pay_batch_headers_v1
WHERE business_group_id = :p_business_group_id
ORDER BY batch_name;
In integration scenarios the view is often wrapped in a database view or synonym for downstream systems that must reconcile batch references against payroll results. Note that BATCH_REFERENCE is not guaranteed unique; consumers should confirm uniqueness within a business group before treating it as an external key.
-
View: PAY_BATCH_HEADERS_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_BATCH_HEADERS_V1, object_name:PAY_BATCH_HEADERS_V1, status:VALID, product: PAY - Payroll , description: Form PAYWSSBS, Batch Summary , implementation_dba_data: APPS.PAY_BATCH_HEADERS_V1 ,
-
View: PAY_BATCH_HEADERS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_BATCH_HEADERS_V1, object_name:PAY_BATCH_HEADERS_V1, status:VALID, product: PAY - Payroll , description: Form PAYWSSBS, Batch Summary , implementation_dba_data: APPS.PAY_BATCH_HEADERS_V1 ,
-
SYNONYM: PUBLIC.PAY_BATCH_HEADERS_V1
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_BATCH_HEADERS_V1, status:VALID,
-
VIEW: APPS.PAY_BATCH_HEADERS_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_BATCH_HEADERS_V1, object_name:PAY_BATCH_HEADERS_V1, status:VALID,
-
PACKAGE: APPS.PAY_PAYWSQEE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_PAYWSQEE_PKG, status:VALID,
-
PACKAGE: APPS.PAY_PAYWSQEE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_PAYWSQEE_PKG, status:VALID,
-
VIEW: APPS.PAY_BATCH_HEADERS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_BATCH_HEADERS_V1, object_name:PAY_BATCH_HEADERS_V1, status:VALID,
-
SYNONYM: APPS.PAY_BATCH_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_BATCH_HEADERS, status:VALID,
-
SYNONYM: APPS.PAY_BATCH_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_BATCH_HEADERS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.HR_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOOKUPS, object_name:HR_LOOKUPS, status:VALID,
-
VIEW: APPS.HR_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOOKUPS, object_name:HR_LOOKUPS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
PACKAGE: APPS.HR_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
PACKAGE: APPS.HR_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,