Search Results pay_ca_rl2_reg
Overview
PAY_CA_RL2_REG is a Canadian (CA) legislative payroll report-generation package that belongs to the Oracle Payroll family of "RL" range-cursor packages (the RL2 designation refers to a specific Canadian statutory report layout). Its role is to implement the generic range-cursor contract used by Oracle Payroll's assignment-action architecture to produce report output for a defined population of assignments. The package defines a database package with AUTHID CURRENT_USER, meaning that its SQL executes under the privileges of the invoking session rather than the package owner, which is standard for report registry packages that must resolve APPS public synonyms at runtime.
The header change list indicates the package was created on 08-OCT-2002 and subsequently extended: version 115.1 added the get_label function, and version 115.2 (22-Jan-2004) added the get_primary_address function together with the PrimaryAddress record type. This history explains why get_primary_address appears in your search against PAY_CA_RL2_REG: it is the dedicated accessor added specifically to return formatted primary address data for the report output.
Key Procedures and Functions
- RANGE_CURSOR — the core range-cursor entry point. It accepts a payroll action identifier and returns, via an OUT parameter, the SQL cursor text that defines the population of assignments to be processed. This is the contract every RL-style report package must satisfy so the payroll action framework can iterate the selection.
- ACTION_CREATION — creates the assignment actions for the range. It receives the payroll action ID together with person range boundaries (start person, end person) and a chunk indicator, allowing large populations to be split into parallel or chunked runs.
- SORT_ACTION — accepts a payroll action ID and a SQL string (IN OUT), and returns a length, allowing the framework to re-order or sort the generated action output.
- GET_PARAMETER — retrieves a named parameter value from a supplied parameter list string; declared with
PRAGMA RESTRICT_REFERENCES(..., WNDS, WNPS), making it callable from SQL (a pure function with no writes to database state or package state). - GET_LABEL — returns the descriptive label for a given lookup type and lookup code combination, used to render human-readable text on the statutory report.
- GET_PRIMARY_ADDRESS — returns the primary address for the subject of the report. The header comments document its formatting convention: address lines 1, 2 and 3 are normal address lines, and address line 4 is reserved for the city plus additional components. It is paired with the
PrimaryAddressrecord type added in the same release.
Tables Accessed
- PAY_PAYROLL_ACTIONS / PAY_ASSIGNMENT_ACTIONS / PAY_ASSIGNMENT_ACTIONS_S — the payroll action and assignment action tables that drive and store the generated actions.
- PAY_POPULATION_RANGES — defines the assignment population ranges used by range_cursor.
- PER_ADDRESSES — supplies the address data returned by get_primary_address.
- HR_ALL_ORGANIZATION_UNITS / HR_ORGANIZATION_INFORMATION — organization and organization-level (for example, employer/legal entity) attributes used on the report.
- HR_ASSIGNMENT_SET_AMENDMENTS / PER_PERIODS_OF_SERVICE — assignment-set amendment and period-of-service data for population and status determination.
- PAY_REPORT_FORMAT_MAPPINGS_F — report format mapping definitions used to structure the output.
- DUAL — used for scalar lookups and parameter expressions.
Usage Notes
PAY_CA_RL2_REG is not intended for direct invocation from application forms. It is registered with the Oracle Payroll action/range-cursor framework and is invoked by the concurrent program that executes the associated Canadian statutory report, with the payroll action ID supplied by that framework. The package is referenced by one other package in the APPS schema, which is consistent with its role as a helper or subordinate registry entry.
From a customization standpoint, get_parameter is callable from SQL statements because of its RESTRICT_REFERENCES pragma, which makes it useful in custom report queries needing parameter resolution. get_label and get_primary_address can be called from custom PL/SQL to reproduce the same lookup labelling and address formatting used by the seeded report, ensuring custom extracts remain consistent with the delivered output.
-
PACKAGE: APPS.PAY_CA_RL2_REG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CA_RL2_REG, status:VALID,
-
PACKAGE: APPS.PAY_CA_RL2_REG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_CA_RL2_REG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_REG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL2_REG, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_REG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CA_RL2_REG, status:VALID,
-
PACKAGE: APPS.PAY_CA_RL2_REG
12.1.1
-
PACKAGE: APPS.PAY_CA_RL2_MAG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CA_RL2_MAG, status:VALID,
-
PACKAGE: APPS.PYCADAR_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PYCADAR_PKG, status:VALID,
-
PACKAGE: APPS.PAY_CA_RL2_REG
12.2.2
-
PACKAGE: APPS.PYCADAR_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PYCADAR_PKG, status:VALID,
-
PACKAGE: APPS.PAY_US_EMPLOYEE_PAYSLIP_WEB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_US_EMPLOYEE_PAYSLIP_WEB, status:VALID,
-
PACKAGE: APPS.PAY_AC_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_AC_UTILITY, status:VALID,
-
SYNONYM: APPS.PAY_POPULATION_RANGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_POPULATION_RANGES, status:VALID,
-
SYNONYM: APPS.HR_ASSIGNMENT_SET_AMENDMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ASSIGNMENT_SET_AMENDMENTS, status:VALID,
-
SYNONYM: APPS.PAY_REPORT_FORMAT_MAPPINGS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_REPORT_FORMAT_MAPPINGS_F, status:VALID,
-
SYNONYM: APPS.HR_ASSIGNMENT_SET_AMENDMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ASSIGNMENT_SET_AMENDMENTS, status:VALID,
-
PACKAGE: APPS.HR_NONRUN_ASACT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_NONRUN_ASACT, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS_S, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS_S, status:VALID,
-
APPS.PAY_CA_RL2_REG dependencies on PAY_CA_RL2_REG
12.2.2
-
APPS.PAY_CA_RL2_REG dependencies on PAY_CA_RL2_REG
12.1.1
-
APPS.PAY_CA_RL2_MAG dependencies on PAY_CA_RL2_REG
12.2.2
-
VIEW: APPS.FND_TERRITORIES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_TERRITORIES_VL, object_name:FND_TERRITORIES_VL, status:VALID,
-
VIEW: APPS.FND_TERRITORIES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_TERRITORIES_VL, object_name:FND_TERRITORIES_VL, status:VALID,
-
PACKAGE: APPS.HR_NONRUN_ASACT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_NONRUN_ASACT, status:VALID,
-
SYNONYM: APPS.PER_ADDRESSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ADDRESSES, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_REG
12.1.1
-
SYNONYM: APPS.PER_ADDRESSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ADDRESSES, status:VALID,
-
PACKAGE BODY: APPS.PAY_CA_RL2_REG
12.2.2
-
SYNONYM: APPS.PER_PERIODS_OF_SERVICE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_PERIODS_OF_SERVICE, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.HR_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOOKUPS, object_name:HR_LOOKUPS, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS, 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,
-
SYNONYM: APPS.PAY_PAYROLL_ACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_PAYROLL_ACTIONS, 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,
-
SYNONYM: APPS.PAY_PAYROLL_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_PAYROLL_ACTIONS, 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_ORGANIZATION_INFORMATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS, status:VALID,
-
SYNONYM: APPS.HR_ALL_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ALL_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
12.2.2 DBA Data
12.2.2