Search Results iv_seq
Overview
PAY_PDT_BATCH_LINES_V2 is a VALID view owned by the APPS schema within the PAY (Payroll) product family of Oracle E-Business Suite, and it is documented against both EBS 12.1.1 and 12.2.2. The view serves as the presentation layer for batch line data used by the Payroll Batch Loader and related payroll processes. Its essential function, as stated in the embedded view comment, is to pivot the result set produced by its predecessor view so that all input value names belonging to each element are returned on a single row. Rather than emitting one row per input value, PAY_PDT_BATCH_LINES_V2 aggregates the value names into fixed, position-indexed columns, producing a wide, flat structure suitable for reporting, extract generation, and downstream integration.
Underlying Base Objects
ETRM 12.2.2 metadata records a single referenced base object for this view: PAY_PDT_BATCH_LINES_V1, itself a view. PAY_PDT_BATCH_LINES_V2 is therefore the second stage of a two-tier view chain, consuming the row-per-input-value output of V1 and applying a pivot transformation. The pivot is implemented with MAX(DECODE(IV_SEQ, n, NAME, NULL)) expressions, where IV_SEQ identifies the ordinal position of an input value and NAME carries the value name. This produces the derived columns NAME_1 through NAME_14, and the pattern extends further in the same manner. No base tables are referenced directly, so all object-level dependencies resolve through V1.
Key Columns
The view exposes a broad set of identifying, descriptive, and flexfield columns from the V1 result set, alongside the pivoted input value names.
- ELEMENT_TYPE_ID, ELEMENT_NAME — identify the payroll element whose batch line inputs are being represented.
- BUSINESS_GROUP_ID, LEGISLATION_CODE — establish the business group and legislative context governing the element and its input values.
- BATCH_LINE_ID, BATCH_ID, BATCH_LINE_STATUS, BATCH_SEQUENCE — identify the batch line and its parent batch, and convey processing status and ordering.
- ASSIGNMENT_ID, ASSIGNMENT_NUMBER — link the line to the assignment against which the element is being processed.
- COST_ALLOCATION_KEYFLEX_ID, CONCATENATED_SEGMENTS — carry cost allocation keyflex information, with CONCATENATED_SEGMENTS giving the readable combination.
- EFFECTIVE_DATE, ENTRY_TYPE, REASON — provide dating and classification attributes for the batch line entry.
- SEGMENT1 through SEGMENT30 — expose the individual keyflex segments as discrete columns.
- VALUE_1 through VALUE_15 — hold the corresponding input values aligned to the pivot sequence.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE20 — deliver the standard EBS descriptive flexfield context and attribute columns.
- NAME_1 through NAME_14 (and beyond) — the pivoted input value names, one column per input position on the element.
Common Use Cases and Queries
Because the view returns one row per batch line with all element input names flattened into positional columns, it is well suited to reconciliation and extract reports that must display element inputs side by side. Typical scenarios include reviewing payroll batch loader entries before submission, exporting batch line content for third-party payroll interfaces, and validating that input names appear in the expected sequence positions.
A basic query returning the identity and status of each batch line, together with the first few input names, might read:
- SELECT batch_id, batch_line_id, element_name, batch_line_status, name_1, name_2, name_3, value_1, value_2, value_3 FROM apps.pay_pdt_batch_lines_v2 WHERE batch_id = :p_batch_id;
- SELECT batch_line_id, assignment_number, effective_date, entry_type, reason, concatenated_segments FROM apps.pay_pdt_batch_lines_v2 WHERE batch_line_status = :p_status AND legislation_code = :p_legislation ORDER BY batch_sequence;
- SELECT element_name, COUNT(*) FROM apps.pay_pdt_batch_lines_v2 WHERE business_group_id = :p_bg GROUP BY element_name;
Queries should filter on BATCH_ID or BUSINESS_GROUP_ID where possible to constrain the result set, since the view's wide row shape and underlying pivot make full scans expensive on large payroll volumes.
-
View: PAY_PDT_BATCH_LINES_V2
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V2, object_name:PAY_PDT_BATCH_LINES_V2, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PDT_BATCH_LINES_V2 ,
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V2
12.2.2
-
View: PAY_PDT_BATCH_LINES_V2
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V2, object_name:PAY_PDT_BATCH_LINES_V2, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PDT_BATCH_LINES_V2 ,
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V2
12.1.1
-
View: PAY_PDT_BATCH_LINES_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V1, object_name:PAY_PDT_BATCH_LINES_V1, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PDT_BATCH_LINES_V1 ,
-
View: PAY_PDT_BATCH_LINES_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V1, object_name:PAY_PDT_BATCH_LINES_V1, status:VALID, product: PAY - Payroll , implementation_dba_data: APPS.PAY_PDT_BATCH_LINES_V1 ,
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V1, object_name:PAY_PDT_BATCH_LINES_V1, status:VALID,
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PDT_BATCH_LINES_V1, object_name:PAY_PDT_BATCH_LINES_V1, status:VALID,
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V1
12.1.1
-
VIEW: APPS.PAY_PDT_BATCH_LINES_V1
12.2.2
-
PACKAGE: APPS.PAY_HXC_DEPOSIT_INTERFACE
12.1.1
-
PACKAGE: APPS.PAY_HXC_DEPOSIT_INTERFACE
12.2.2
-
PACKAGE: APPS.HXT_BATCH_PROCESS
12.2.2
-
PACKAGE BODY: APPS.PAY_HXC_DEPOSIT_INTERFACE
12.1.1
-
PACKAGE BODY: APPS.PAY_HXC_DEPOSIT_INTERFACE
12.2.2
-
APPS.PAY_HXC_DEPOSIT_INTERFACE dependencies on PAY_INPUT_VALUES_F
12.1.1
-
APPS.PAY_HXC_DEPOSIT_INTERFACE dependencies on PAY_INPUT_VALUES_F
12.2.2
-
PACKAGE BODY: APPS.HXT_BATCH_PROCESS
12.2.2
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,