Search Results pay_cn_rules
Overview
APPS.PAY_CN_RULES is a China-specific Payroll rules package within the Oracle E-Business Suite 12.1.1 / 12.2.2 architecture. Its file header (pycnrule.pkh 120.0.12000000.1, dated 2007) indicates it is a long-standing component of the Oracle Payroll localization layer for the China (CN) legislation. The package encapsulates jurisdiction-determination logic and template-related post-processing used during China tax processing and element configuration.
The package is classified as an OTHER API in the ETRM metadata and has no external package dependencies — it is referenced by zero other packages, indicating it is typically invoked directly by Oracle Payroll forms, template engines, or customer extensions rather than surfaced through a public API chain. It exposes exactly three documented procedures, all declared as PUBLIC within the package specification.
Key Procedures and Functions
- GET_DEFAULT_JURISDICTION — Returns the default jurisdiction required for China tax processing. The procedure accepts assignment action and employee identifiers as input and returns the resolved jurisdiction through an IN OUT NOCOPY parameter. This is the procedure most commonly targeted by searches for "get_default_jurisdiction," as it is the only public entry point in the package for jurisdiction resolution.
- GET_RETRO_COMPONENT_ID — Retrieves the default retro component identifier for a particular element entry, sourced from Organization DDF (Descriptive Flexfield) data. It accepts an element entry identifier and element type identifier, returning the resolved retro component ID through an IN OUT NOCOPY parameter.
- ELEMENT_TEMPLATE_POST_PROCESS — Performs post-processing for template engines, driven by a template identifier. This supports the element template generation workflow used when configuring China payroll elements.
Tables Accessed
The package reads and writes against several core HRMS and Payroll tables, resolved through APPS synonyms:
- PER_ALL_ASSIGNMENTS_F — source of assignment context used by GET_DEFAULT_JURISDICTION.
- HR_ORGANIZATION_INFORMATION and HR_SOFT_CODING_KEYFLEX — Org DDF data consulted by GET_RETRO_COMPONENT_ID to obtain the default retro component.
- PAY_ELEMENT_ENTRIES_F, PAY_ELEMENT_LINKS_F, and PAY_ELEMENT_TYPES_F — element definition and entry data used during template post-processing.
- PAY_RETRO_COMPONENTS — the retro component definitions referenced by GET_RETRO_COMPONENT_ID.
Usage Notes
Because PAY_CN_RULES is an OTHER-classified package with no downstream package references, it is normally invoked from Oracle Payroll China forms, element template engines, or customer-written PL/SQL that requires jurisdiction or retro component resolution. Typical invocation scenarios include:
- China payroll element configuration, where GET_DEFAULT_JURISDICTION supplies the jurisdiction to tax processing routines.
- Retroactive pay setup, where GET_RETRO_COMPONENT_ID populates the default retro component for an element entry.
- Element template generation, where ELEMENT_TEMPLATE_POST_PROCESS is called after the template engine completes its primary work.
Since the package is a China localization component, it should only be invoked in environments where the China payroll legislation is installed and the relevant DDF and element data are configured. Developers should treat the procedure signatures as fixed, given the package's 2007 vintage and its role as a stable localization building block rather than a versioned public API.
-
PACKAGE: APPS.PAY_CN_RULES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_CN_RULES, status:VALID,
-
PACKAGE BODY: APPS.PAY_CN_RULES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CN_RULES, status:VALID,
-
PACKAGE: APPS.PAY_CN_RULES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CN_RULES, status:VALID,
-
PACKAGE BODY: APPS.PAY_CN_RULES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_CN_RULES, status:VALID,
-
PACKAGE: APPS.PAY_CN_RULES
12.1.1
-
PACKAGE: APPS.PAY_CN_RULES
12.2.2
-
PACKAGE: APPS.PAY_CN_ELEMENT_TEMPLATE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_CN_ELEMENT_TEMPLATE_PKG, status:VALID,
-
PACKAGE: APPS.PAY_CN_ELEMENT_TEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CN_ELEMENT_TEMPLATE_PKG, status:VALID,
-
PACKAGE: APPS.HR_CN_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_CN_API, status:VALID,
-
PACKAGE: APPS.HR_CN_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_CN_API, status:VALID,
-
SYNONYM: APPS.PAY_RETRO_COMPONENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_RETRO_COMPONENTS, status:VALID,
-
SYNONYM: APPS.PAY_RETRO_COMPONENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_RETRO_COMPONENTS, status:VALID,
-
PACKAGE BODY: APPS.PAY_CN_RULES
12.1.1
-
PACKAGE BODY: APPS.PAY_CN_RULES
12.2.2
-
APPS.PAY_CN_RULES dependencies on PAY_CN_RULES
12.1.1
-
APPS.PAY_CN_RULES dependencies on PAY_CN_RULES
12.2.2
-
SYNONYM: APPS.PAY_ELEMENT_LINKS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_LINKS_F, status:VALID,
-
SYNONYM: APPS.HR_SOFT_CODING_KEYFLEX
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_SOFT_CODING_KEYFLEX, status:VALID,
-
SYNONYM: APPS.PAY_ELEMENT_LINKS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_LINKS_F, status:VALID,
-
SYNONYM: APPS.HR_SOFT_CODING_KEYFLEX
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_SOFT_CODING_KEYFLEX, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PAY_ELEMENT_ENTRIES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRIES_F, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PAY_ELEMENT_ENTRIES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRIES_F, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.PAY_ELEMENT_TYPES_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_TYPES_F, status:VALID,
-
SYNONYM: APPS.PAY_ELEMENT_TYPES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_TYPES_F, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_F
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_F, object_name:PER_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_F
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_F, object_name:PER_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
SYNONYM: APPS.PER_ALL_ASSIGNMENTS_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_ALL_ASSIGNMENTS_F, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, 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,
-
PACKAGE: APPS.HR_UTILITY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,