Results for “time_start”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PAY_HK_AVG_PAY is a Hong Kong localization package body within the Oracle EBS Payroll (PAY) module. Its principal business function is to derive the correct time-period start date used when calculating average pay over a defined earnings window. Oracle Payroll for Hong Kong relies on this logic to support statutory average-pay computations — for example, severance, long-service, and related payments that reference earnings across a trailing period such as the twelve-month dimension _ASG_12MTHS_PREV. The header comment pyhkavgpay.pkb 120.0 indicates a release-12 family file, so the object exists in the 12.1.1 and 12.2.2 file systems with the same logical name; version differences between the two releases are limited to repository packaging rather than functional intent.
Key Procedures and Functions
- TIME_START — The core public function. It opens a cursor named
get_date_earned(the term the user searched for) that joinspay_payroll_actionsandpay_assignment_actionsto retrieve thedate_earnedandassignment_idfor a given assignment action. It then applies a fallback sequence: first it attempts to obtain a start date from absence data, then from a specified-date element, and finally defaults to the earned date itself. The resolved date is shifted back thirteen months and adjusted withADD_MONTHSandLAST_DAY + 1to produce the opening boundary of the average-pay window. - SPECIFIED_DATE_ABSENCE — Retrieves a window start date when the trigger for the average-pay calculation is associated with an absence or attendance record.
- SPECIFIED_DATE_ELEMENT — Retrieves a window start date when the trigger is driven by a specified-date element rather than an absence, forming the second tier of the fallback logic used by TIME_START.
- NO_OF_DAYS — Computes the number of days within the derived averaging period, supporting downstream proration or daily-rate determination.
All four routines are internally scoped to the package and are not published as public APIs; the ETRM classification is OTHER.
Tables Accessed
The package reads payroll and HR data through APPS synonyms: PAY_PAYROLL_ACTIONS and PAY_ASSIGNMENT_ACTIONS supply the earned date and assignment linkage; PER_ABSENCE_ATTENDANCES feeds the absence-based start date; PAY_ELEMENT_ENTRIES_F, PAY_ELEMENT_ENTRY_VALUES_F, PAY_ELEMENT_TYPES_F, and PAY_INPUT_VALUES_F provide element-level entries and input values used to locate specified-date elements; PER_ALL_ASSIGNMENTS_F and PER_PERIODS_OF_SERVICE supply assignment and service context. The operations are read-only in the documented logic.
Usage Notes
PAY_HK_AVG_PAY is invoked indirectly during Hong Kong payroll processing, primarily from balance and element calculation routines that require a historical averaging window. It is referenced by one other package, indicating typical use from a payroll calculation wrapper rather than direct form invocation. Custom code extending average-pay logic for Hong Kong should call the public functions with the documented effective-date and assignment-action inputs. Debug output is governed by HR_UTILITY.DEBUG_ENABLED, so enable HR debug when tracing the date_earned derivation.
-
PACKAGE: APPS.PAY_HK_AVG_PAY 12.1.1
-
PACKAGE: APPS.PAY_HK_AVG_PAY 12.2.2
-
Record of events such as interviews and appraisals for applicants and employees.
-
View: PER_EVENTS_V 12.2.2
Used to support user interface
APPS.PER_EVENTS_V·↳ HR_API·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore PER module →
-
View: HR_CALENDAR_USAGES_V 12.1.1
Used to support user interface
APPS.HR_CALENDAR_USAGES_V·↳ FND_GLOBAL·↳ FND_PROFILE·↳ FND_SESSIONS·Explore PER module →
-
History of periods of absence for employees.
APPS.PER_ABSENCE_ATTENDANCES_V3·↳ HR_API·↳ HR_LOOKUPS·↳ PER_ABSENCE_ATTENDANCES·Explore PER module →
-
View: PER_BOOKINGS_V2 12.2.2
Used to support user interface
APPS.PER_BOOKINGS_V2·↳ FND_SESSIONS·↳ HR_API·↳ HR_GENERAL·Explore PER module →
-
View: HRFV_ABSENCES 12.2.2
Business view template from which the flexfield view is generated.
APPS.HRFV_ABSENCES·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_ALL_POSITIONS_F_TL·↳ HR_BIS·Explore PER module →
-
View: HR_CALENDAR_USAGES_V 12.2.2
Used to support user interface
APPS.HR_CALENDAR_USAGES_V·↳ FND_PROFILE·↳ FND_SESSIONS·↳ HR_API·Explore PER module →
-
View: PER_EVENTS_V 12.1.1
Used to support user interface
APPS.PER_EVENTS_V·↳ FND_GLOBAL·↳ HR_API·↳ HR_GENERAL·Explore PER module →
-
View: HRFV_ABSENCES 12.1.1
Business view template from which the flexfield view is generated.
APPS.HRFV_ABSENCES·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_ALL_POSITIONS_F_TL·↳ HR_BIS·Explore PER module →
-
View: PER_EVENTS_V3 12.2.2
Used to support user interface
APPS.PER_EVENTS_V3·↳ HR_API·↳ HR_GENERAL·↳ HR_LOCATIONS·Explore PER module →
-
View: PER_BOOKINGS_V2 12.1.1
Used to support user interface
APPS.PER_BOOKINGS_V2·↳ FND_GLOBAL·↳ FND_SESSIONS·↳ HR_API·Explore PER module →
-
View: PER_EVENTS_V2 12.1.1
Used to support user interface
APPS.PER_EVENTS_V2·↳ FND_GLOBAL·↳ HR_ALL_ORGANIZATION_UNITS·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore PER module →
-
View: PER_EVENTS_V2 12.2.2
Used to support user interface
APPS.PER_EVENTS_V2·↳ HR_ALL_ORGANIZATION_UNITS·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_API·Explore PER module →
-
View: PER_EVENTS_V3 12.1.1
Used to support user interface
APPS.PER_EVENTS_V3·↳ FND_GLOBAL·↳ HR_API·↳ HR_GENERAL·Explore PER module →
-
Employee periods of absence.
APPS.PER_ABSENCE_ATTENDANCES_V·↳ HR_API·↳ HR_LOOKUPS·↳ PAY_INPUT_VALUES_F·Explore PER module →
-
Record of events such as interviews and appraisals for applicants and employees.
-
Records of absence, or attendance for an employee.
-
History of periods of absence for employees.
APPS.PER_ABSENCE_ATTENDANCES_V3·↳ FND_GLOBAL·↳ HR_API·↳ HR_LOOKUPS·Explore PER module →
-
Employee periods of absence.
APPS.PER_ABSENCE_ATTENDANCES_V·↳ FND_GLOBAL·↳ HR_API·↳ HR_LOOKUPS·Explore PER module →
-
Records of absence, or attendance for an employee.
-
VIEW: HR.PER_EVENTS# 12.2.2
-
VIEW: HR.PER_EVENTS# 12.2.2
-
VIEW: APPS.HRFV_ABSENCES 12.2.2
-
VIEW: APPS.PER_EVENTS_V 12.1.1
-
VIEW: APPS.PER_EVENTS_V2 12.2.2
-
VIEW: APPS.HRBV_EVENTS_V 12.1.1
-
VIEW: APPS.PER_EVENTS_V3 12.1.1
-
VIEW: APPS.PER_EVENTS_V3 12.2.2
-
VIEW: APPS.PER_BOOKINGS_V2 12.1.1
-
VIEW: APPS.PER_BOOKINGS_V2 12.2.2
-
VIEW: APPS.PER_EVENTS_V 12.2.2
-
VIEW: APPS.HRFV_ABSENCES 12.1.1
-
VIEW: APPS.HRBV_EVENTS_V 12.2.2
-
VIEW: APPS.PER_EVENTS_V2 12.1.1
-
VIEW: APPS.PER_EVENTS_V3 12.1.1
-
VIEW: APPS.PER_EVENTS_V3 12.2.2