Results for “no_of_days”
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
-
Base Table for storing periods associated with Fatigue Rules
-
View: AMS_TCOP_FR_PERIODS_VL 12.1.1
This is a view for Periods in Fatigue Rules
APPS.AMS_TCOP_FR_PERIODS_VL·↳ AMS_TCOP_FR_PERIODS_B·↳ AMS_TCOP_FR_PERIODS_TL·Explore AMS module →
-
Operator Workbench Preferences
-
View: XTR_R_BANK_BALANCES_V 12.1.1
APPS.XTR_R_BANK_BALANCES_V·↳ XTR_R_BANK_BALANCES·Explore XTR module →
-
Operator Workbench Preferences
-
Dispensing Preferences Table
-
Table: XTR_A_BANK_BALANCES 12.2.2
Created by ORACLE on 17-DEC-93
-
Table: XTR_R_BANK_BALANCES 12.2.2
Created by ORACLE on 17-DEC-93
-
Reverse Dispense Preferences
-
Reverse Dispense Preferences
-
Table: XTR_R_BANK_BALANCES 12.1.1
Created by ORACLE on 17-DEC-93
-
View: XTR_R_BANK_BALANCES_V 12.2.2
APPS.XTR_R_BANK_BALANCES_V·↳ XTR_R_BANK_BALANCES·Explore XTR module →
-
View: XTR_BANK_BALANCES_V 12.2.2
APPS.XTR_BANK_BALANCES_V·↳ XTR_BANK_BALANCES·Explore XTR module →
-
Dispensing Preferences Table
-
APPS.XTR_A_INTERGROUP_TRANSFERS_V·↳ XTR_A_INTERGROUP_TRANSFERS·Explore XTR module →
-
APPS.XTR_A_INTERGROUP_TRANSFERS_V·↳ XTR_A_INTERGROUP_TRANSFERS·Explore XTR module →
-
Table: XTR_A_BANK_BALANCES 12.1.1
Created by ORACLE on 17-DEC-93
-
View: XTR_A_BANK_BALANCES_V 12.2.2
APPS.XTR_A_BANK_BALANCES_V·↳ XTR_A_BANK_BALANCES·Explore XTR module →
-
Table: XTR_COST_OF_FUNDS 12.1.1
Daily summarized amount and average rate information of Treasury deals
-
View: XTR_RATE_SETS_V 12.2.2
-
Base Table for storing periods associated with Fatigue Rules
-
Table: XTR_A_RATE_SETS 12.1.1
Created on 01-FEB-95
-
View: XTR_A_RATE_SETS_V 12.1.1
APPS.XTR_A_RATE_SETS_V·↳ XTR_A_RATE_SETS·Explore XTR module →
-
Table: XTR_COST_OF_FUNDS 12.2.2
Daily summarized amount and average rate information of Treasury deals
-
View: XTR_RATE_SETS_V 12.1.1
-
View: XTR_COST_OF_FUNDS_V 12.2.2
APPS.XTR_COST_OF_FUNDS_V·↳ XTR_COST_OF_FUNDS·Explore XTR module →
-
View: AMS_TCOP_FR_PERIODS_VL 12.2.2
This is a view for Periods in Fatigue Rules
APPS.AMS_TCOP_FR_PERIODS_VL·↳ AMS_TCOP_FR_PERIODS_B·↳ AMS_TCOP_FR_PERIODS_TL·Explore AMS module →
-
View: XTR_ACCRLS_AMORT_V 12.2.2
APPS.XTR_ACCRLS_AMORT_V·↳ XTR_ACCRLS_AMORT·Explore XTR module →
-
View: XTR_ACCRLS_AMORT_V 12.1.1
APPS.XTR_ACCRLS_AMORT_V·↳ XTR_ACCRLS_AMORT·Explore XTR module →
-
Table: XTR_A_RATE_SETS 12.2.2
Created on 01-FEB-95
-
Accruals amounts for deals and transactions, where user access to company information is enforced.
APPS.XTR_DISC_ACCRLS_AMORT_V·↳ FND_GLOBAL·↳ XTR_ACCRLS_AMORT·↳ XTR_COMPANY_AUTHORITIES·Explore XTR module →
-
Accrual amounts for deal transactions
-
Accruals amounts for deals and transactions, where user access to company information is enforced.
APPS.XTR_DISC_ACCRLS_AMORT_V·↳ FND_GLOBAL·↳ XTR_ACCRLS_AMORT·↳ XTR_COMPANY_AUTHORITIES·Explore XTR module →
-
Daily bank balance information
-
Daily bank balance information
-
APPS.XTR_INTERGROUP_TRANSFERS_V·↳ XTR_INTERGROUP_TRANSFERS·Explore XTR module →
-
Created from Entity XTR INTERGROUP FUNDING by ORACLE on 13-JUL-94
-
View: QRM_CURRENT_DEALS_V 12.1.1
Current Treasury deals used by Risk Analysis
APPS.QRM_CURRENT_DEALS_V·↳ FND_GLOBAL·↳ XTR_BOND_ISSUES·↳ XTR_BUY_SELL_COMBINATIONS·Explore QRM module →
-
Created from Entity XTR INTERGROUP FUNDING by ORACLE on 13-JUL-94
-
APPS.XTR_INTEREST_RATE_EXPOSURE_V·↳ XTR_INTEREST_RATE_EXPOSURE·Explore XTR module →
-
APPS.XTR_INTEREST_RATE_EXPOSURE_V·↳ XTR_INTEREST_RATE_EXPOSURE·Explore XTR module →
-
View: XTR_A_BANK_BALANCES_V 12.1.1
APPS.XTR_A_BANK_BALANCES_V·↳ XTR_A_BANK_BALANCES·Explore XTR module →
-
- Retrofitted
APPS.XTR_A_ROLLOVER_TRANSACTIONS_V·↳ XTR_A_ROLLOVER_TRANSACTIONS·Explore XTR module →
-
- Retrofitted
APPS.XTR_R_ROLLOVER_TRANSACTIONS_V·↳ XTR_R_ROLLOVER_TRANSACTIONS·Explore XTR module →