Search Results patch_name
Overview
PAY_US_GEOCODE_ENGINE_PKG is a United States–specific Oracle Payroll engine package whose primary responsibility is to drive the upgrade and reconciliation of geocode data used by US payroll tax processing. In Oracle EBS 12.1.1 and 12.2.2, the package orchestrates the migration and validation of validated city, county, and state geocode combinations that feed the US Payroll city tax rules. The single documented procedure, GEOCODE_UPGRADE, performs a historical upgrade of geocode records while tracking the state of each upgrade run through the PAY_PATCH_STATUS table, ensuring the upgrade is idempotent and can be resumed or re-run safely by release 12i administrators.
The package is notable for the way it derives a version label from the patch_name column. Both its driving cursors parse the four-character year segment following the last _1 or _2 delimiter inside a patch name, and only process records whose year is 2001 or later. This convention allows the engine to distinguish newer geocode data sets from legacy ones and to sequence them correctly, which is central to the upgrade logic rather than to routine geocoding at runtime.
Key Procedures and Functions
- GEOCODE_UPGRADE — The package's only documented entry point. It accepts standard concurrent program
errbufandretcodeOUT parameters together with ap_modeinput that controls its behavior mode. The procedure validates which geocode patch names exist in PAY_PATCH_STATUS and PAY_US_MODIFIED_GEOCODES, checks their status, and verifies that the affected assignments actually exist before applying the upgrade. It uses internal cursors such asc_max_geocode_patch_name,c_geocode_patch_name,c_geocode_patch_status,c_geo_patch_comp_stat,c_geo_check_us_assignments, andc_geo_check_ca_assignmentsto reconcile patch metadata against active assignment records. Because the parameter list is fixed as(errbuf OUT, retcode OUT, p_mode IN), it is designed to be called from a concurrent program with the standard submission signature.
Tables Accessed
The engine reads and writes several payroll, HR, and core foundation tables through APPS synonyms:
- PAY_PATCH_STATUS and PAY_PATCH_STATUS_S — track whether each geocode patch has been applied, providing the status that GEOCODE_UPGRADE inspects and updates.
- PAY_US_MODIFIED_GEOCODES — the staging table holding the modified US geocode rows (patch_name, state_code, county_code, old_city_code) that are compared against actual data.
- PAY_US_EMP_CITY_TAX_RULES_F and PAY_US_STATES — validated city tax rules and state reference data used to confirm that a geocode change maps to a legal jurisdiction.
- PER_ALL_ASSIGNMENTS_F, PER_ADDRESSES, and PAY_ACTION_CONTEXTS — assignment and action-context records that the assignment-validation cursors join to determine which employees are affected.
- HR_LOCATIONS_ALL, FF_CONTEXTS, FND_CONCURRENT_REQUESTS, and DUAL — supporting HR location data, fast-formula context data, concurrent request tracking, and a singleton query source.
Usage Notes
GEOCODE_UPGRADE is normally invoked as an Oracle Payroll concurrent program during a US geocode patch or upgrade cycle, most commonly as part of a patch driver script. The p_mode parameter allows the same routine to run in different operational modes (for example, audit or apply) without changing its signature, and the standard errbuf/retcode parameters let the concurrent manager capture success or failure. Because the procedure writes to PAY_PATCH_STATUS, it should not be scheduled casually; it is intended for controlled upgrade scenarios. The package is not referenced by any other documented package, so its exposure is limited to direct concurrent program invocation or custom upgrade scripts rather than to a broader public API surface within Oracle Payroll.
-
APPS.PAY_US_GEOCODE_ENGINE_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PAY_US_GEOCODE_ENGINE_PKG
12.1.1
-
APPS.PAY_US_GEOCODE_ENGINE_PKG SQL Statements
12.2.2
-
VIEW: HR.PAY_US_MODIFIED_GEOCODES#
12.2.2
-
VIEW: HR.HR_H2PI_US_MODIFIED_GEOCODES#
12.2.2
-
VIEW: HR.PAY_PATCH_STATUS#
12.2.2
-
VIEW: APPLSYS.AD_APPLIED_PATCHES#
12.2.2
-
TABLE: HR.PAY_US_MODIFIED_GEOCODES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_MODIFIED_GEOCODES, object_name:PAY_US_MODIFIED_GEOCODES, status:VALID,
-
VIEW: HR.HR_H2PI_PATCH_STATUS#
12.2.2
-
TABLE: HR.PAY_US_MODIFIED_GEOCODES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_MODIFIED_GEOCODES, object_name:PAY_US_MODIFIED_GEOCODES, status:VALID,
-
VIEW: APPLSYS.AD_PM_PATCHES#
12.2.2
-
PACKAGE BODY: APPS.PAY_US_GEOCODE_ENGINE_PKG
12.2.2
-
APPS.PAY_US_GEOCODE_REPORT_PKG SQL Statements
12.2.2
-
VIEW: HR.PAY_US_MODIFIED_GEOCODES#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_US_MODIFIED_GEOCODES#, status:VALID,
-
VIEW: HR.HR_H2PI_PATCH_STATUS#
12.2.2
owner:HR, object_type:VIEW, object_name:HR_H2PI_PATCH_STATUS#, status:VALID,
-
VIEW: HR.PAY_PATCH_STATUS#
12.2.2
owner:HR, object_type:VIEW, object_name:PAY_PATCH_STATUS#, status:VALID,
-
TABLE: HR.PAY_PATCH_STATUS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_PATCH_STATUS, object_name:PAY_PATCH_STATUS, status:VALID,
-
TABLE: HR.PAY_PATCH_STATUS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_PATCH_STATUS, object_name:PAY_PATCH_STATUS, status:VALID,
-
VIEW: APPLSYS.AD_APPLIED_PATCHES#
12.2.2
owner:APPLSYS, object_type:VIEW, object_name:AD_APPLIED_PATCHES#, status:VALID,
-
TABLE: APPLSYS.AD_APPLIED_PATCHES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_APPLIED_PATCHES, object_name:AD_APPLIED_PATCHES, status:VALID,
-
VIEW: HR.HR_H2PI_US_MODIFIED_GEOCODES#
12.2.2
owner:HR, object_type:VIEW, object_name:HR_H2PI_US_MODIFIED_GEOCODES#, status:VALID,
-
VIEW: APPS.HR_H2PI_PATCH_STATUS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_PATCH_STATUS_V, object_name:HR_H2PI_PATCH_STATUS_V, status:VALID,
-
TABLE: HR.HR_H2PI_PATCH_STATUS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_PATCH_STATUS, object_name:HR_H2PI_PATCH_STATUS, status:VALID,
-
VIEW: APPS.HR_H2PI_US_MODIFIED_GEOCODES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES_V, object_name:HR_H2PI_US_MODIFIED_GEOCODES_V, status:VALID,
-
VIEW: APPLSYS.AD_PM_PATCHES#
12.2.2
owner:APPLSYS, object_type:VIEW, object_name:AD_PM_PATCHES#, status:VALID,
-
TABLE: HR.HR_H2PI_PATCH_STATUS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_PATCH_STATUS, object_name:HR_H2PI_PATCH_STATUS, status:VALID,
-
VIEW: APPS.HR_H2PI_US_MODIFIED_GEOCODES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES_V, object_name:HR_H2PI_US_MODIFIED_GEOCODES_V, status:VALID,
-
VIEW: APPS.HR_H2PI_PATCH_STATUS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_PATCH_STATUS_V, object_name:HR_H2PI_PATCH_STATUS_V, status:VALID,
-
TABLE: HR.HR_H2PI_US_MODIFIED_GEOCODES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES, object_name:HR_H2PI_US_MODIFIED_GEOCODES, status:VALID,
-
TABLE: APPLSYS.AD_APPLIED_PATCHES
12.1.1
owner:APPLSYS, object_type:TABLE, object_name:AD_APPLIED_PATCHES, status:VALID,
-
TABLE: HR.HR_H2PI_US_MODIFIED_GEOCODES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES, object_name:HR_H2PI_US_MODIFIED_GEOCODES, status:VALID,
-
APPS.AD_PA_INSERT_PACKAGE SQL Statements
12.1.1
-
APPS.AD_PA_INSERT_PACKAGE SQL Statements
12.2.2
-
View: HR_H2PI_PATCH_STATUS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_PATCH_STATUS_V, object_name:HR_H2PI_PATCH_STATUS_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for patch status , implementation_dba_data: APPS.HR_H2PI_PATCH_STATUS_V ,
-
APPS.PAY_FR_MIGRATE_TIME_ANALYSIS SQL Statements
12.1.1
-
APPS.PAY_FR_MIGRATE_TIME_ANALYSIS SQL Statements
12.2.2
-
View: HR_H2PI_PATCH_STATUS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_PATCH_STATUS_V, object_name:HR_H2PI_PATCH_STATUS_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for patch status , implementation_dba_data: APPS.HR_H2PI_PATCH_STATUS_V ,
-
View: HR_H2PI_US_MODIFIED_GEOCODES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES_V, object_name:HR_H2PI_US_MODIFIED_GEOCODES_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for US midfied geocodes , implementation_dba_data: APPS.HR_H2PI_US_MODIFIED_GEOCODES_V ,
-
APPS.PAY_PATCH_STATUS_PKG SQL Statements
12.1.1
-
APPS.PAY_PATCH_STATUS_PKG SQL Statements
12.2.2
-
APPS.HR_H2PI_VALIDATE SQL Statements
12.1.1
-
View: HR_H2PI_US_MODIFIED_GEOCODES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_US_MODIFIED_GEOCODES_V, object_name:HR_H2PI_US_MODIFIED_GEOCODES_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for US midfied geocodes , implementation_dba_data: APPS.HR_H2PI_US_MODIFIED_GEOCODES_V ,
-
APPS.HR_H2PI_VALIDATE SQL Statements
12.2.2
-
APPS.PAY_IE_MEDICAL_ADJUST SQL Statements
12.1.1
-
APPS.PAY_US_GEO_UPD_PKG SQL Statements
12.2.2
-
APPS.PQP_INI_BAL SQL Statements
12.2.2
-
APPS.PQP_INI_BAL SQL Statements
12.1.1
-
APPS.PAY_IE_MEDICAL_ADJUST SQL Statements
12.2.2
-
APPS.PAY_SLA_UPDATE_PKG SQL Statements
12.1.1
-
APPS.PAY_SLA_UPDATE_PKG SQL Statements
12.2.2