Results for “psp_payroll_lines_c_v”
4 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view PSP_PAYROLL_LINES_C_V belongs to the Oracle EBS PSP (Labor Distribution) product family and is documented as returning "payroll lines that are for credit." Within Oracle EBS 12.1.1 and 12.2.2, Labor Distribution sits between Oracle Payroll and Oracle General Ledger, redistributing payroll costs across the accounts, projects, and awards to which labor was actually charged. This view provides a focused, credit-only lens on the payroll lines staged by that process.
Its practical role is as a lightweight reporting and integration surface. Because it is a view rather than a table, consumers—whether custom concurrent programs, Oracle Reports layouts, Oracle XML Publisher templates, or inbound/outbound interfaces—read the credit side of payroll lines without writing the join or the DR_CR_FLAG filter themselves. This is useful in Labor Distribution analysis, where the credit side typically represents the reversal or offsetting entry against the debit side of a payroll cost record. Reporting on credits in isolation supports reconciliation of payroll cost transfers, verification of balancing between debits and credits, and downstream journal preparation for General Ledger.
Note that the supplied metadata states the view is "Not implemented in this database." This is a common ETRM annotation meaning the object was not instantiated in the reference environment in which the metadata was captured, and it should not be read as a claim that the view is absent from a working Labor Distribution installation. Application of the object therefore begins with confirming its presence in the target schema.
Underlying Base Objects
The view text is documented and is defined over two base tables joined on the payroll control identifier:
- PSP_PAYROLL_LINES (alias A) — the payroll line detail table, supplying the line-level attributes and the debit/credit indicator.
- PSP_PAYROLL_CONTROLS (alias B) — the payroll control (batch) header table, supplying payroll source, source type, time period, batch name, business group, and set of books context.
The join predicate is A.PAYROLL_CONTROL_ID = B.PAYROLL_CONTROL_ID. The credit restriction is enforced by A.DR_CR_FLAG = 'C'. The ETRM metadata lists no other referenced base objects, so the view's lineage is confined to these two tables. Because the join is an equi-join on the control identifier, the grain of the view is one row per credit payroll line, enriched with the header attributes of its parent payroll control.
Key Columns
The view exposes twelve columns drawn from the two base tables. The most important are:
- PAY_AMOUNT — the credit monetary value of the payroll line. This is the column most often targeted by users searching "pay_amount," as it carries the amount redistributed on the credit side.
- PAYROLL_LINE_ID — unique identifier of the payroll line; primary key of the source line record.
- PAYROLL_CONTROL_ID — identifier of the parent payroll control (batch) that links the line to its header.
- PERSON_ID and ASSIGNMENT_ID — the person and assignment to which the payroll line relates, enabling employee-level and assignment-level analysis.
- ELEMENT_TYPE_ID — the payroll element type, indicating the nature of the earning or deduction being credited.
- PAYROLL_SOURCE_CODE and SOURCE_TYPE — the payroll source and its type, from the control table, identifying the origin of the payroll run.
- TIME_PERIOD_ID — the payroll time period to which the line belongs.
- BATCH_NAME — a descriptive name for the payroll batch, useful in reports.
- BUSINESS_GROUP_ID and SET_OF_BOOKS_ID — the business group and ledger context, supporting multi-organization and multi-ledger filtering.
Because the view already filters to DR_CR_FLAG = 'C', DR_CR_FLAG itself is not projected as a column; every row returned is by definition a credit line.
Common Use Cases and Queries
This view is typically used for credit-side reconciliation, payroll cost transfer review, and as a feed for custom GL journal preparation. A basic listing of credits for a ledger might look like the following:
SELECT payroll_line_id, payroll_control_id, person_id, assignment_id,
element_type_id, payroll_source_code, time_period_id,
batch_name, pay_amount, set_of_books_id
FROM psp_payroll_lines_c_v
WHERE set_of_books_id = :p_set_of_books_id
ORDER BY batch_name, payroll_control_id;
To total the credit amount per batch for reconciliation against the corresponding debits, a grouped query is appropriate:
SELECT payroll_control_id, batch_name, SUM(pay_amount) credit_total
FROM psp_payroll_lines_c_v
GROUP BY payroll_control_id, batch_name
ORDER BY payroll_control_id;
Filtering by person_id or assignment_id supports employee-level inquiries, while filtering by time_period_id aligns credits to a payroll period. Where credits must be matched to debits, the counterpart is the same view's parent table, PSP_PAYROLL_LINES, filtered to DR_CR_FLAG = 'D' and joined on PAYROLL_CONTROL_ID. As the metadata records the view as "not implemented," validate availability in the target schema before deploying dependent code.
-
View: PSP_PAYROLL_LINES_C_V 12.1.1
Shows payroll lines that are for credit
Not implemented in this database·Explore PSP module →
-
View: PSP_PAYROLL_LINES_C_V 12.2.2
Shows payroll lines that are for credit
Not implemented in this database·Explore PSP module →
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 FND Design Data 12.1.1