Search Results pay_za_calendars_pkg
Overview
PAY_ZA_CALENDARS_PKG is an Oracle E-Business Suite package body owned by the APPS schema that supports South African (ZA) payroll calendar configuration. Its purpose is to generate and maintain the time periods, tax years, tax quarters, and fiscal calendars required by the South African localization of Oracle Payroll. Because South African statutory payroll reporting depends on correctly aligned tax years (March to February), fiscal years, and payroll month-ends, this package provides the deterministic date arithmetic and calendar seeding logic that the rest of the ZA payroll configuration relies upon. The package is classified as OTHER and is documented as VALID, but it is not referenced by any other database object, indicating that it functions as a maintenance or utility package invoked during setup and period generation rather than as a runtime API consumed by other PL/SQL units.
Key Procedures and Functions
The package exposes fourteen documented procedures and functions. DO acts as the primary driver or entry point that orchestrates the calendar creation process. CREATE_CALENDAR performs the general calendar creation logic, while CREATE_ZA_PAYROLL_MONTH_ENDS establishes the payroll month-end dates specific to the South African localization. Several routines support date and period derivation: RETRIEVE_TAX_YEAR_START and RETRIEVE_FISCAL_YEAR_START resolve the beginning dates of the applicable tax and fiscal years, and GENERATE_FISCAL_MONTH_START produces fiscal month start dates. A set of date-arithmetic helpers supports period generation: NEXT_LOWER_DAY, ADD_MULTIPLE_OF_BASE, NEXT_SEMI_MONTH, and PREV_SEMI_MONTH compute relative dates and semi-monthly boundaries. The remaining routines seed specific calendar structures: CREATE_ZA_EMPLOYEE_TAX_YEARS, CREATE_ZA_EMPLOYEE_CAL_YEARS, CREATE_ZA_TAX_QUARTERS, and CREATE_ZA_PERIOD_NUMBERS create tax year, calendar year, tax quarter, and period numbering records respectively. No parameter lists are documented and none should be assumed.
Tables Accessed
The package reads and writes the core Oracle HRMS and Payroll date and calendar tables through APPS synonyms. PER_TIME_PERIODS stores the individual time periods that make up payroll calendars, and PER_TIME_PERIOD_TYPES defines the period types (such as monthly and semi-monthly) that govern how those periods are generated. PAY_LEGISLATION_RULES supplies the legislative rule definitions that determine the correct calendar behaviour for the South African legislation. HR_ORGANIZATION_INFORMATION provides organization-level configuration, most likely the business group and related classification details required to scope calendar generation to the correct organization. Additional dependencies include PAY_PAYROLLS_F for payroll definitions, FND_DATE and FND_PROFILE for date conversion and profile option retrieval, and HR_UTILITY for standard HRMS utility logic.
Usage Notes
Because the package is not referenced by any other database object, it is not intended to be called from other PL/SQL APIs. It is typically invoked during South African payroll implementation and configuration, either directly as a setup utility or via a concurrent program, to seed and refresh the payroll calendar, tax year, tax quarter, and period numbering data. Re-running periods should follow the same conventions as other ZA localization utilities and should be performed with awareness of any existing generated periods. Custom code requiring the same date logic should call the documented procedures rather than duplicating the fiscal and tax year derivation rules.
-
PACKAGE BODY: APPS.PAY_ZA_CALENDARS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_ZA_CALENDARS_PKG, status:VALID,
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_ZA_CALENDARS_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_ZA_CALENDARS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_ZA_CALENDARS_PKG, status:VALID,
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_ZA_CALENDARS_PKG, status:VALID,
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.1.1
-
PACKAGE: APPS.PAY_ZA_CALENDARS_PKG
12.2.2
-
SYNONYM: APPS.PER_TIME_PERIOD_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIOD_TYPES, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIOD_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIOD_TYPES, status:VALID,
-
SYNONYM: APPS.PAY_LEGISLATION_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_LEGISLATION_RULES, status:VALID,
-
SYNONYM: APPS.PAY_LEGISLATION_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_LEGISLATION_RULES, status:VALID,
-
APPS.PAY_ZA_CALENDARS_PKG dependencies on PAY_ZA_CALENDARS_PKG
12.1.1
-
APPS.PAY_ZA_CALENDARS_PKG dependencies on PAY_ZA_CALENDARS_PKG
12.2.2
-
SYNONYM: APPS.PER_TIME_PERIODS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS, status:VALID,
-
VIEW: APPS.PAY_PAYROLLS_F
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLLS_F, object_name:PAY_PAYROLLS_F, status:VALID,
-
SYNONYM: APPS.PER_TIME_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_TIME_PERIODS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
VIEW: APPS.PAY_PAYROLLS_F
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_PAYROLLS_F, object_name:PAY_PAYROLLS_F, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PAY_ZA_CALENDARS_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_ZA_CALENDARS_PKG
12.2.2
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
PACKAGE: APPS.FND_DATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: APPS.FND_DATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.HR_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
PACKAGE: APPS.HR_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,