Search Results p_period_end_date
Overview
APPS.HR_WRK_SCH_PKG is a PL/SQL package body that supports the Oracle EBS work schedule and availability infrastructure used by Human Resources, Oracle Time and Labor, and absence management. Its principal business role is to determine the working schedule that applies to a given person assignment for a specified date range, taking into account schedule inheritance from higher levels of the enterprise hierarchy. The package header comment states that it evaluates whether an entered absence overlaps with schedules attached at Business Group, Position, Job, HR Organization, or Location level. The comment further notes that the overlap procedure is invoked only when a schedule already exists at the person assignment level.
The object carries the version marker 120.6.12010000.2 with a 2008 header timestamp, indicating a long-standing component carried forward into both 12.1.1 and 12.2.2. A comment referencing bug 6711896 confirms that the overlap logic was subject to a targeted fix. The ETRM classification for this package is OTHER, meaning it is not marketed as a formally supported public API; it is an internal implementation package rather than a published integration surface.
Key Procedures and Functions
The ETRM metadata documents two callable program units within the package body:
- GET_PER_ASG_SCHEDULE — Retrieves the work schedule applicable to a person assignment for a given period. Internally this relies on the schedule inheritance hierarchy to resolve which schedule level applies when a schedule is not defined directly against the assignment.
- GET_WORKING_DAY — Determines whether a date is a working day for the applicable schedule, returning the working-day determination for downstream absence and time calculations.
The package body excerpt additionally reveals a private procedure, check_overlap_schedules, which accepts a person assignment identifier, a period start date, a period end date, a schedule category, an include-exceptions flag, and a busy/tentative assignment indicator, and returns the schedule source and an availability time varray. The parameter p_period_end_date — the term used in the search that surfaced this object — belongs to this private overlap routine, not to the two documented public units.
Tables Accessed
- PER_ALL_ASSIGNMENTS_F — Supplies the assignment's business group, organization, job, position, and location, which together drive schedule inheritance lookup.
- PER_SCH_INHERIT_HIER — Defines the schedule inheritance hierarchy. Cursors select the maximum
hier_seqwherein_hier = 'Y'and derive theinherit_levelfor a given sequence. - CAC_SR_SCHEDULES_B, CAC_SR_SCHDL_OBJECTS, CAC_SR_PUBLISH_SCHEDULES — Store the schedule definitions, their attached objects, and published schedule data.
- DUAL and PLITBLM — Utility references used for scalar selection and PL/SQL table handling.
Access is performed through APPS synonyms, consistent with standard EBS schema conventions.
Usage Notes
This package is invoked indirectly rather than through a direct user interface. It is referenced by ten other packages in the ETRM repository, indicating that absence entry, timecard validation, and scheduling forms or concurrent programs call into it to resolve schedules and validate date ranges. Custom code should treat GET_PER_ASG_SCHEDULE and GET_WORKING_DAY as the only documented entry points and must not depend on check_overlap_schedules, since private procedures carry no compatibility guarantee across patch levels. Because the package is classified OTHER, extensions should prefer supported HR APIs and use this package only where no public alternative exists. When diagnosing overlap or working-day discrepancies, verify that the assignment has a person-level schedule, then confirm the inheritance hierarchy sequence values in PER_SCH_INHERIT_HIER.
-
APPS.GCS_AGGREGATION_DYNAMIC_PKG SQL Statements
12.1.1
-
APPS.GCS_AGGREGATION_DYN_BUILD_PKG SQL Statements
12.1.1
-
APPS.BEN_TCS_COMPENSATION SQL Statements
12.1.1
-
APPS.GCS_INTERCO_DYNAMIC_PKG SQL Statements
12.1.1
-
APPS.HRI_OLTP_DISC_WRKFRC SQL Statements
12.1.1
-
APPS.HRI_OLTP_DISC_WRKFRC SQL Statements
12.2.2
-
APPS.BEN_TCS_COMPENSATION SQL Statements
12.2.2
-
PACKAGE BODY: APPS.HR_WRK_SCH_PKG
12.1.1
-
PACKAGE BODY: APPS.HR_WRK_SCH_PKG
12.2.2
-
APPS.PAY_NL_SI_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.HXC_TCD_XML_PKG
12.1.1
-
PACKAGE BODY: APPS.GCS_AGGREGATION_DYNAMIC_PKG
12.1.1
-
APPS.PAY_NL_SI_PKG SQL Statements
12.1.1
-
APPS.PER_BF_PAYROLL_RUNS_API SQL Statements
12.1.1
-
APPS.PER_BF_PAYROLL_RUNS_API SQL Statements
12.2.2
-
PACKAGE: APPS.PAY_DK_SICKPAY_PKG
12.1.1
-
PACKAGE: APPS.PAY_DK_SICKPAY_PKG
12.2.2
-
PACKAGE: APPS.HXC_TCD_XML_PKG
12.2.2
-
APPS.PAY_DK_SICKPAY_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.PQH_BDGT_ACTUAL_CMMTMNT_PKG
12.1.1
-
PACKAGE: APPS.PQH_BDGT_ACTUAL_CMMTMNT_PKG
12.2.2
-
APPS.PAY_DK_SICKPAY_PKG SQL Statements
12.2.2
-
APPS.PAY_DK_HOLIDAY_PAY_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.HRFASTANSWERS
12.2.2
-
APPS.CSI_CTR_ESTIMATED_READINGS_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.PAY_ES_SS_CALCULATION
12.2.2
-
PACKAGE: APPS.PAY_ES_SS_CALCULATION
12.1.1
-
PACKAGE: APPS.HRFASTANSWERS
12.1.1
-
APPS.CSI_CTR_ESTIMATED_READINGS_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OTA_TPC_UTIL
12.1.1
-
APPS.FA_CALC_DEPRN_BASIS1_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OTA_TPC_UTIL
12.2.2
-
APPS.PAY_DK_HOLIDAY_PAY_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.CSI_CTR_ESTIMATED_READINGS_PKG
12.2.2
-
PACKAGE: APPS.CSI_CTR_ESTIMATED_READINGS_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_ES_SS_CALCULATION
12.1.1
-
PACKAGE BODY: APPS.PAY_ES_SS_CALCULATION
12.2.2
-
PACKAGE BODY: APPS.GCS_INTERCO_DYNAMIC_PKG
12.1.1
-
PACKAGE BODY: APPS.CSI_CTR_ESTIMATED_READINGS_PKG
12.1.1
-
PACKAGE BODY: APPS.PER_PERFRMMO_XMLP_PKG
12.1.1
-
APPS.HR_PERSON_FLEX_LOGIC SQL Statements
12.1.1
-
PACKAGE BODY: APPS.CSI_CTR_ESTIMATED_READINGS_PKG
12.2.2
-
PACKAGE: APPS.PQP_ABSVAL_PKG
12.2.2
-
APPS.HR_PERSON_FLEX_LOGIC SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PER_BF_PAYROLL_RUNS_API
12.2.2
-
PACKAGE BODY: APPS.PER_PERFRMMO_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.PER_BF_PAYROLL_RUNS_API
12.1.1
-
PACKAGE: APPS.PQP_ABSVAL_PKG
12.1.1
-
PACKAGE: APPS.GCS_AGGREGATION_PKG
12.1.1
-
VIEW: APPS.HRDPV_CREATE_PAYROLL_RUN
12.2.2