Search Results hr_payrolls
Overview
The APPS.HR_PAYROLLS package body is a core Oracle E-Business Suite database object that supports the definition, validation, and manipulation of payroll records within the Oracle HRMS (Human Resources Management System) and Oracle Payroll modules. Operating in both EBS 12.1.1 and 12.2.2 environments, this package encapsulates the business logic required to manage payroll entities, including their associated time periods, period types, and legislative rules. It serves as a centralized programmatic interface through which Oracle Payroll forms, concurrent processes, and dependent APIs interact with the underlying payroll data model. The package is classified as OTHER within the ETRM metadata and carries a VALID status, confirming that it is a compiled, active database object residing in the APPS schema. Many of its procedures support period-related calculations that determine payroll boundaries such as semi-monthly, monthly, and other recurring cycles, making it essential to accurate payroll processing and period reconciliation across multiple business groups and legislative contexts.
Key Procedures and Functions
The package exposes twelve documented procedures and functions, several of which relate to payroll period management and validation:
- CREATE_PAYROLL_PROC_PERIODS — Creates or initializes payroll processing periods for a given payroll, establishing the time windows over which payroll runs are executed.
- GET_PERIOD_DETAILS — Retrieves detailed information about payroll periods, including start and end dates and period type context.
- DISPLAY_PERIOD_NAME — Returns a formatted display name for a payroll period, typically used for presentation in forms or reports.
- ENABLE_DISPLAY_FETCH — Controls whether period display information is fetched, likely acting as a toggle for performance or UI state management.
- DISPLAY_PERIOD_NAME_FORCED — A variant of the display procedure that forces period name retrieval regardless of prior caching or state.
- DERIVE_PAYROLL_DATES — Calculates payroll dates based on period types and legislative rules, central to determining valid processing windows.
- GET_WARNINGS — Retrieves accumulated warning messages generated during validation or processing.
- CLEAR_WARNINGS — Clears the warning buffer, resetting state for subsequent operations.
- SET_GLOBALS — Initializes package-level global variables required by other routines.
- PREV_SEMI_MONTH — Computes the preceding semi-monthly period, supporting semi-monthly payroll cycles.
- NEXT_SEMI_MONTH — Computes the subsequent semi-monthly period for forward-looking period determination.
Tables Accessed
The package references several core payroll and HR tables through APPS synonyms, including PAY_ALL_PAYROLLS_F (the payroll definition view), PER_TIME_PERIODS and PER_TIME_PERIODS_S (period definitions and their translated/security variants), PER_TIME_PERIOD_TYPES (period type metadata), PAY_LEGISLATION_RULES (country-specific rules governing payroll dates), and PAY_PAYROLL_ACTIONS (payroll action records). These tables supply the temporal and legislative context needed to derive valid payroll periods. The use of DBMS_SQL indicates dynamic SQL construction, likely to handle flexible period or legislative queries.
Usage Notes
HR_PAYROLLS is typically invoked from Oracle Payroll and HRMS forms during payroll definition, period setup, and validation. It is referenced by seventeen other packages, making it a foundational dependency for downstream payroll APIs. Custom code and concurrent programs that manage payroll periods or derive payroll dates should leverage this package rather than reimplementing period logic, ensuring consistency with Oracle's legislative rules and period calculations.
-
PACKAGE BODY: APPS.HR_PAYROLLS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PAYROLLS, status:VALID,
-
PACKAGE BODY: APPS.HR_PAYROLLS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_PAYROLLS, status:VALID,
-
PACKAGE: APPS.HR_PAYROLLS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_PAYROLLS, status:VALID,
-
PACKAGE: APPS.HR_PAYROLLS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PAYROLLS, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIODS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS_S, status:VALID,
-
PACKAGE BODY: APPS.HR_BUDGET_CALENDAR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:HR_BUDGET_CALENDAR, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIODS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS_S, status:VALID,
-
PACKAGE BODY: APPS.HR_BUDGET_CALENDAR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:HR_BUDGET_CALENDAR, status:VALID,
-
PACKAGE BODY: APPS.PQP_CAR_MILEAGE_FUNCTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_CAR_MILEAGE_FUNCTIONS, status:VALID,
-
PACKAGE BODY: APPS.PAY_TIME_DEFINITION_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TIME_DEFINITION_API, status:VALID,
-
PACKAGE BODY: APPS.PAY_TIME_DEFINITION_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_TIME_DEFINITION_API, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYROLL_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYROLL_API, status:VALID,
-
PACKAGE BODY: APPS.PQP_CAR_MILEAGE_FUNCTIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQP_CAR_MILEAGE_FUNCTIONS, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYROLLS_F_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYROLLS_F_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_DB_PAY_SETUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_DB_PAY_SETUP, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYROLLS_F_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYROLLS_F_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYROLL_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYROLL_API, status:VALID,
-
PACKAGE BODY: APPS.PAY_DB_PAY_SETUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_DB_PAY_SETUP, status:VALID,
-
PACKAGE BODY: APPS.PAY_FR_DB_PAY_SETUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_FR_DB_PAY_SETUP, status:VALID,
-
VIEW: APPS.PAY_ASSIGNMENT_ACTIONS_V3
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ASSIGNMENT_ACTIONS_V3, object_name:PAY_ASSIGNMENT_ACTIONS_V3, status:VALID,
-
PACKAGE BODY: APPS.PAY_FR_DB_PAY_SETUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_FR_DB_PAY_SETUP, status:VALID,
-
VIEW: APPS.PAY_ASSIGNMENT_ACTIONS_V3
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ASSIGNMENT_ACTIONS_V3, object_name:PAY_ASSIGNMENT_ACTIONS_V3, status:VALID,
-
VIEW: APPS.PAYBV_PAYROLL_MESSAGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAYBV_PAYROLL_MESSAGE_V, object_name:PAYBV_PAYROLL_MESSAGE_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V6
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V6, object_name:PAY_PAYROLL_ACTIONS_V6, status:VALID,
-
PACKAGE: APPS.HR_PAYROLLS
12.2.2
-
PACKAGE: APPS.HR_PAYROLLS
12.1.1
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_A_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_A_V, object_name:PAY_PAYROLL_ACTIONS_A_V, status:VALID,
-
VIEW: APPS.PAY_KR_SEP_HISTORY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEP_HISTORY_V, object_name:PAY_KR_SEP_HISTORY_V, status:VALID,
-
VIEW: APPS.PAY_ASSIGNMENT_ACTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ASSIGNMENT_ACTIONS_V, object_name:PAY_ASSIGNMENT_ACTIONS_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V7
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V7, object_name:PAY_PAYROLL_ACTIONS_V7, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_A_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_A_V, object_name:PAY_PAYROLL_ACTIONS_A_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V6
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V6, object_name:PAY_PAYROLL_ACTIONS_V6, status:VALID,
-
VIEW: APPS.PAYBV_PAYROLL_MESSAGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAYBV_PAYROLL_MESSAGE_V, object_name:PAYBV_PAYROLL_MESSAGE_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V7
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V7, object_name:PAY_PAYROLL_ACTIONS_V7, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V, object_name:PAY_PAYROLL_ACTIONS_V, status:VALID,
-
VIEW: APPS.PAY_KR_SEP_HISTORY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_KR_SEP_HISTORY_V, object_name:PAY_KR_SEP_HISTORY_V, status:VALID,
-
VIEW: APPS.PAY_ASSIGNMENT_ACTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_ASSIGNMENT_ACTIONS_V, object_name:PAY_ASSIGNMENT_ACTIONS_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V, object_name:PAY_PAYROLL_ACTIONS_V, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V4
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V4, object_name:PAY_PAYROLL_ACTIONS_V4, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V4
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V4, object_name:PAY_PAYROLL_ACTIONS_V4, status:VALID,
-
VIEW: APPS.PER_TIME_PERIOD_TYPES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_TIME_PERIOD_TYPES_VL, object_name:PER_TIME_PERIOD_TYPES_VL, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIOD_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIOD_TYPES, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V2
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V2, object_name:PAY_PAYROLL_ACTIONS_V2, status:VALID,
-
VIEW: APPS.PER_TIME_PERIOD_TYPES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_TIME_PERIOD_TYPES_VL, object_name:PER_TIME_PERIOD_TYPES_VL, status:VALID,
-
VIEW: APPS.PAY_PAYROLL_ACTIONS_V2
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLL_ACTIONS_V2, object_name:PAY_PAYROLL_ACTIONS_V2, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIOD_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIOD_TYPES, status:VALID,
-
SYNONYM: APPS.PAY_ALL_PAYROLLS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ALL_PAYROLLS_F, status:VALID,
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.1.1
-
SYNONYM: APPS.PAY_ALL_PAYROLLS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ALL_PAYROLLS_F, status:VALID,
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.2.2