Search Results pay_paykrhcl_xmlp_pkg
Overview
PAY_PAYKRHCL_XMLP_PKG is an Oracle EBS XML Publisher (BI Publisher) report package owned by the APPS schema. It supports the Oracle Payroll legislative reports for China (the "KR" and "HCL" tokens in the name correspond to the payroll legislation and report identifier). The package encapsulates the PL/SQL logic embedded in the XML Publisher data template and report definition: it declares the report-level triggers, resolves user entities, builds concatenated or formatted data values, and exposes the computations that produce the report's output columns. Its 22 documented procedures and functions make it a self-contained report driver rather than a reusable business API. The object is classified as OTHER in ETRM and is not referenced by any other database package, confirming that it exists solely to serve its parent concurrent program and template.
Key Procedures and Functions
The documented subprograms fall into several functional groups.
- Report lifecycle triggers: BEFOREREPORT and AFTERREPORT initialize and finalize data before and after the XML Publisher report execution.
- Formula columns: CF_BUSINESS_GROUPFORMULA, CF_LEGISLATION_CODEFORMULA, CF_CURRENCY_FORMAT_MASKFORMULA, CF_SEQUENCE_COUNTERFORMULA, and CF_GET_DATAFORMULA resolve report-level attributes such as the business group, legislation code, currency display mask, a running sequence counter, and the primary data source. CP_CONCAT_BP_NAMESFORMULA concatenates business place names for display.
- Parameter and trigger helpers: SET_CURRENCY_FORMAT_MASK applies the currency formatting mask, P_BUSINESS_GROUP_IDVALIDTRIGGE validates the business group parameter, and GET_USER_ENTITY_ID retrieves the user entity identifier used by the report query.
- China payroll computation columns: CP_HIA_BUSINESS_PLACE_CODE_P, CP_HIA_HI_NUMBER_P, CP_HIA_EMPLOYEE_NAME_P, CP_HIA_REGISTRATION_NUMBER_P, and CP_HIA_QUALIFIED_DATE_P populate statutory housing/insurance registration details. CP_HI_PREM_EE_WO_ADJ_ASG_YTD_P, CP_EARNINGS_SUBJ_HI_ASG_YTD_P, CP_HI_WORKING_MONTHS_P, and CP_NUMBER_OF_MONTHS_PAID_P compute year-to-date premium, earnings subject to housing insurance, working months, and months paid for each assignment.
Tables Accessed
- FF_USER_ENTITIES — source of user-defined entity values, accessed through GET_USER_ENTITY_ID to bind business group or legislative context.
- FND_CONCURRENT_REQUESTS — provides the concurrent request context (request ID, parameters, and status) used during BEFOREREPORT initialisation.
- FND_CURRENCIES — supplies currency precision and format information for SET_CURRENCY_FORMAT_MASK and CF_CURRENCY_FORMAT_MASKFORMULA.
- HR_ORGANIZATION_INFORMATION — resolves organization-level descriptive and statutory attributes, such as business place codes and registration numbers.
- PAY_PAYROLL_ACTIONS — the primary payroll data source, supplying assignment-level payroll action and run results that feed the CP_HIA_* and CP_HI_* computation columns.
Usage Notes
The package is invoked by the XML Publisher engine when the associated China payroll report concurrent program runs. Users schedule the report from the Payroll responsibility; the concurrent manager spawns the XML Publisher Java process, which calls BEFOREREPORT, executes the data template's SQL against the tables above, evaluates each CF_* and CP_* formula column, and finally invokes AFTERREPORT. There is no form-based entry point and no direct API exposure. Because the package is owned by APPS and depends only on standard, public APIs and synonyms, it is expected to remain valid across both EBS 12.1.1 and 12.2.2. Customisations should avoid modifying the seeded package body; extensions to the Chinese statutory report should instead be implemented through a copy or an additional template, since the package is tightly coupled to its parent report definition.
-
PACKAGE: APPS.PAY_PAYKRHCL_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_PAYKRHCL_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.PAY_PAYKRHCL_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_PAYKRHCL_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYKRHCL_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYKRHCL_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYKRHCL_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_PAYKRHCL_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.PAY_KR_REPORT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PAY_KR_REPORT_PKG, status:VALID,
-
PACKAGE: APPS.PAY_PAYKRHCL_XMLP_PKG
12.1.1
-
PACKAGE: APPS.PAY_PAYKRHCL_XMLP_PKG
12.2.2
-
PACKAGE: APPS.PAY_KR_REPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_KR_REPORT_PKG, status:VALID,
-
SYNONYM: APPS.FF_USER_ENTITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FF_USER_ENTITIES, status:VALID,
-
SYNONYM: APPS.FF_USER_ENTITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FF_USER_ENTITIES, status:VALID,
-
PACKAGE BODY: APPS.PAY_PAYKRHCL_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_PAYKRHCL_XMLP_PKG
12.2.2
-
PACKAGE: APPS.HR_REPORTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_REPORTS, status:VALID,
-
PACKAGE: APPS.HR_REPORTS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_REPORTS, status:VALID,
-
PACKAGE: APPS.FND_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
APPS.PAY_PAYKRHCL_XMLP_PKG dependencies on PAY_PAYKRHCL_XMLP_PKG
12.1.1
-
APPS.PAY_PAYKRHCL_XMLP_PKG dependencies on PAY_PAYKRHCL_XMLP_PKG
12.2.2
-
PACKAGE: APPS.FND_CURRENCY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CURRENCY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.FND_CONCURRENT_REQUESTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CONCURRENT_REQUESTS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.FND_CONCURRENT_REQUESTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_CONCURRENT_REQUESTS, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS, object_name:HR_ORGANIZATION_UNITS, status:VALID,
-
VIEW: APPS.HR_ORGANIZATION_UNITS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ORGANIZATION_UNITS, object_name:HR_ORGANIZATION_UNITS, status:VALID,
-
SYNONYM: APPS.PAY_PAYROLL_ACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PAY_PAYROLL_ACTIONS, status:VALID,
-
SYNONYM: APPS.PAY_PAYROLL_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_PAYROLL_ACTIONS, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
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_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, 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.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, 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 ,