Search Results pay_p45_v1
Overview
PAY_P45_V1 is a United Kingdom-specific view owned by the APPS schema within the PAY (Payroll) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. It is defined over PER_PEOPLE_F and related HR and Payroll objects, and its purpose is to select employees who are candidates for the statutory P45 report — the form issued in the UK when an employee leaves employment. The view consolidates termination, assignment, person, and organization data into a single flattened row set that the P45 reporting process and associated concurrent programs can consume directly.
Because the view is a database object rather than a report definition, it serves as the data access layer for P45 processing. It is particularly relevant to implementers and technical consultants who need to query leaver data outside of the standard report, to troubleshoot P45 generation, or to build custom extracts. The view embeds HR security and language-dependent organization name resolution, which means results can vary by the session's language setting and the responsibility's security profile.
Underlying Base Objects
According to the documented ETRM metadata, PAY_P45_V1 references the following base objects:
- PER_PEOPLE (synonym exposing PER_PEOPLE_F) — supplies person-level attributes such as name, title, national identifier, and employee number.
- PER_ASSIGNMENTS_F (view) — the date-tracked assignment records; used for assignment number, payroll, organization, and effective date ranges.
- PER_PERIODS_OF_SERVICE — provides actual termination date and last standard process date.
- PER_ASSIGNMENT_EXTRA_INFO — holds the GB_P45 flexfield information type that flags whether a P45 has already been issued.
- HR_ALL_ORGANIZATION_UNITS and HR_ALL_ORGANIZATION_UNITS_TL — the organization and its translated name.
- HR_GENERAL, HR_PERSON_NAME, HR_PERSON_TYPE_USAGE_INFO, and HR_SECURITY (packages) — supporting HR infrastructure, including security predicates and name formatting.
The view definition combines a UNION of two branches: one driven by periods of service with a non-null ACTUAL_TERMINATION_DATE, and one driven by the GB_P45 extra information flag on assignments. This structure ensures that leavers are captured both through the period-of-service termination path and through the assignment-level P45 flag path.
Key Columns
- BUSINESS_GROUP_ID — identifies the HR business group, supporting multi-organization filtering.
- PERSON_ID and ASSIGNMENT_ID — the primary person and assignment keys used to join back to HR and Payroll tables.
- EMPLOYEE_NUMBER, LAST_NAME, FIRST_NAME, TITLE, NATIONAL_IDENTIFIER — the person identification details printed on the P45.
- ACTUAL_TERMINATION_DATE — the confirmed leaving date, derived either from the period of service or the assignment effective end date.
- LAST_PROCESS_DATE — the last standard process date, or the effective end date, reflecting the final payroll processed.
- DECEASED_FLAG — returns 'D' when the leaving reason indicates death, otherwise NULL.
- ASSIGNMENT_NUMBER, PAYROLL_ID — assignment and payroll identifiers used for downstream processing.
- ORGANIZATION_ID, ORG_NAME — the organization owning the assignment, with the translated name resolved against USERENV('LANG').
Common Use Cases and Queries
The view is typically used to audit leavers, verify that P45 data is complete, or feed a custom P45 extract. A basic query returning leavers for a business group is:
- SELECT person_id, employee_number, last_name, first_name, actual_termination_date, last_process_date, org_name FROM apps.pay_p45_v1 WHERE business_group_id = :p_business_group_id;
To identify deceased employees requiring special handling, filter on the deceased flag:
- SELECT employee_number, last_name, actual_termination_date FROM apps.pay_p45_v1 WHERE deceased_flag = 'D';
Because HR_SECURITY and HR_PERSON_NAME packages participate in the definition, results are subject to the security profile of the connecting user. When querying from a custom report or integration, it is advisable to connect with a responsibility that carries appropriate HR security, or to pass an explicit business group filter. Row counts can also differ between 12.1.1 and 12.2.2 where HR security and organization translation behaviors were refined.
-
View: PAY_P45_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_P45_V1, object_name:PAY_P45_V1, status:VALID, product: PAY - Payroll , description: PAY_P45_V1 is a UK specific view based on PER_PEOPLE_F that selects employees for the P45 report. , implementation_dba_data: APPS.PAY_P45_V1 ,
-
View: PAY_P45_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_P45_V1, object_name:PAY_P45_V1, status:VALID, product: PAY - Payroll , description: PAY_P45_V1 is a UK specific view based on PER_PEOPLE_F that selects employees for the P45 report. , implementation_dba_data: APPS.PAY_P45_V1 ,
-
SYNONYM: PUBLIC.PAY_P45_V1
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PAY_P45_V1, status:VALID,
-
VIEW: APPS.PAY_P45_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_P45_V1, object_name:PAY_P45_V1, status:VALID,
-
VIEW: APPS.PAY_P45_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_P45_V1, object_name:PAY_P45_V1, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_INFO
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_INFO, status:VALID,
-
PACKAGE: APPS.HR_PERSON_TYPE_USAGE_INFO
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_TYPE_USAGE_INFO, status:VALID,
-
VIEW: APPS.PER_PEOPLE
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_PEOPLE, object_name:PER_PEOPLE, status:VALID,
-
SYNONYM: APPS.PER_ASSIGNMENT_EXTRA_INFO
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ASSIGNMENT_EXTRA_INFO, status:VALID,
-
PACKAGE: APPS.HR_PERSON_NAME
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_NAME, status:VALID,
-
VIEW: APPS.PER_PEOPLE
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_PEOPLE, object_name:PER_PEOPLE, status:VALID,
-
PACKAGE: APPS.HR_PERSON_NAME
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_NAME, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.PER_ASSIGNMENT_EXTRA_INFO
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ASSIGNMENT_EXTRA_INFO, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS_TL, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS_TL, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
PACKAGE: APPS.HR_SECURITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_SECURITY, status:VALID,
-
SYNONYM: APPS.PER_PERIODS_OF_SERVICE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_PERIODS_OF_SERVICE, status:VALID,
-
SYNONYM: APPS.PER_PERIODS_OF_SERVICE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_PERIODS_OF_SERVICE, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_F
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_F, object_name:PER_ASSIGNMENTS_F, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_F
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_F, object_name:PER_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, 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. ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
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. ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,