Search Results pay_jp_def_report_pkg
Overview
APPS.PAY_JP_DEF_REPORT_PKG is a Japanese payroll localization package delivered with Oracle E-Business Suite. It supports the generation of statutory and internal payroll reports by producing structured XML output for a defined set of assignment actions. The package header, identified with the RCS header pyjpdefr.pkh 120.0, declares package-level global variables that carry payroll action identifiers, effective dates, business group and legislation context, assignment set identifiers, sort order, transaction status flags, and a call-type indicator distinguishing Social Security (SS) and Contribution Processing (CP) style executions. It further exposes globals such as g_show_tag, which controls whether XML tags are emitted, and g_ass_set_formula_id / g_ass_set_amendment_type, which govern assignment set filtering.
Consistent with its classification as OTHER in the ETRM repository, the package is not a public integration API. It is invoked internally by the Japanese payroll report pipeline and by concurrent processing logic rather than by customer-developed code.
Key Procedures and Functions
The package exposes nine documented program units. Their responsibilities are as follows:
- RANGE_CURSOR — Defines the driving cursor that establishes the range of assignment actions to be processed for the report run.
- ASSIGNMENT_ACTION_CREATION — Creates or resolves the assignment action records required as input to the report, including handling of the transfer payroll action identified through the generic parameter mechanism.
- ARCHINIT — Initializes archive processing, preparing the archive payroll action and related context used by the report generation cycle.
- GEN_XML_HEADER — Emits the XML header portion of the report output. The unit of this procedure is reflected in the package-level cursor
csr_bg, which is documented as the unit of GEN_XML_HEADER. - GEN_XML_BODY — Produces the XML body, using the
csr_empcursor as its unit. This cursor assembles employee-level rows and emitsTRANSFER_ACT_ID=Pmarkup alongside the underlying assignment action identifier, with sort keys driven byg_sort_order(EMPLOYEE_NAME or EMPLOYEE_NUMBER) over kana name and employee number columns. - GEN_XML_FOOTER — Closes the XML document with any summary or footer content required by the report layout.
- GEN_XML_SS — Handles the Social Security-specific XML generation path, selected through the call-type global.
- ARCHIVE_DATA — Persists or archives the generated data associated with the payroll action.
- DEINITIALIZE_CODE — Performs cleanup of package state at the end of the run.
Tables Accessed
The package reads and writes application tables through APPS synonyms:
- PAY_ASSIGNMENT_ACTIONS and PAY_ASSIGNMENT_ACTIONS_S — Source of assignment action rows driving the report; also written during assignment action creation.
- PAY_PAYROLL_ACTIONS — Provides payroll action context for the run and for archive processing.
- PAY_ELEMENT_ENTRY_VALUES_F — Supplies element entry values needed to populate report figures.
- PER_ALL_ASSIGNMENTS_F — Resolves assignment and employee details effective at the report date.
- PER_PERIODS_OF_SERVICE — Supplies service dates relevant to employee selection.
- HR_ASSIGNMENT_SET_AMENDMENTS — Used for assignment set inclusion/exclusion logic, reflected in the
g_ass_set_amendment_typeglobal. - DUAL — Used by the
csr_bgcursor unit. - DBMS_LOB and PLITBLM — PL/SQL-supplied packages used for LOB handling and PL/SQL table management during XML assembly.
Usage Notes
PAY_JP_DEF_REPORT_PKG is invoked in the context of Japanese payroll report generation, typically through concurrent programs and payroll action processing rather than direct form invocation. It is referenced by zero other packages in the ETRM repository, confirming that its callers are external to the PL/SQL package layer. Execution begins with initialization of the package globals (payroll action, effective date, business group, assignment set, sort order, and call type), followed by archive setup and assignment action creation/resolution, then sequential generation of XML header, body, optional Social Security content, and footer, and finally data archival and deinitialization. The g_show_tag flag can suppress tag emission for diagnostic or intermediate processing purposes. Because the package is not a public API, customizations should avoid direct dependency on its internals; any extension should instead operate on the underlying payroll action and assignment action data.
-
PACKAGE: APPS.PAY_JP_DEF_REPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_JP_DEF_REPORT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAY_JP_DEF_REPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAY_JP_DEF_REPORT_PKG, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_ASSACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_ASSACT_V, object_name:PAY_JP_DEF_ASSACT_V, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_EMP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_EMP_V, object_name:PAY_JP_DEF_EMP_V, status:VALID,
-
PACKAGE: APPS.PAY_CORE_XDO_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CORE_XDO_UTILS, status:VALID,
-
PACKAGE: APPS.PAY_JP_DEF_REPORT_PKG
12.2.2
-
PACKAGE: APPS.PAY_JP_REPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_JP_REPORT_PKG, status:VALID,
-
PACKAGE: APPS.HR_JP_AST_UTILITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_JP_AST_UTILITY_PKG, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_PACT_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_PACT_V, object_name:PAY_JP_DEF_PACT_V, status:VALID,
-
SYNONYM: APPS.HR_ASSIGNMENT_SET_AMENDMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HR_ASSIGNMENT_SET_AMENDMENTS, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_DEP_OS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_DEP_OS_V, object_name:PAY_JP_DEF_DEP_OS_V, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_DEP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_DEP_V, object_name:PAY_JP_DEF_DEP_V, status:VALID,
-
VIEW: APPS.PAY_JP_DEF_DEP_OE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PAY.PAY_JP_DEF_DEP_OE_V, object_name:PAY_JP_DEF_DEP_OE_V, status:VALID,
-
PACKAGE: APPS.PAY_CORE_FILES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CORE_FILES, status:VALID,
-
PACKAGE: APPS.PAY_MAGTAPE_GENERIC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_MAGTAPE_GENERIC, status:VALID,
-
PACKAGE: APPS.PAY_CORE_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PAY_CORE_UTILS, status:VALID,
-
PACKAGE: APPS.HR_NONRUN_ASACT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_NONRUN_ASACT, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS_S, status:VALID,
-
APPS.PAY_JP_DEF_REPORT_PKG dependencies on PAY_JP_DEF_REPORT_PKG
12.2.2
-
SYNONYM: APPS.PAY_ELEMENT_ENTRY_VALUES_F
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ELEMENT_ENTRY_VALUES_F, status:VALID,
-
VIEW: APPS.PER_BUSINESS_GROUPS_PERF
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS_PERF, object_name:PER_BUSINESS_GROUPS_PERF, status:VALID,
-
SYNONYM: APPS.PER_PERIODS_OF_SERVICE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_PERIODS_OF_SERVICE, status:VALID,
-
SYNONYM: APPS.PAY_ASSIGNMENT_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_ASSIGNMENT_ACTIONS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.PAY_JP_DEF_REPORT_PKG dependencies on FND_GLOBAL
12.2.2
-
SYNONYM: PUBLIC.DBMS_LOB
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOB, status:VALID,
-
PACKAGE BODY: APPS.PAY_JP_DEF_REPORT_PKG
12.2.2
-
SYNONYM: APPS.PAY_PAYROLL_ACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PAY_PAYROLL_ACTIONS, status:VALID,
-
PACKAGE: APPS.FND_NUMBER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_NUMBER, status:VALID,
-
VIEW: APPS.PER_BUSINESS_GROUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_BUSINESS_GROUPS, object_name:PER_BUSINESS_GROUPS, 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.FND_DATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_DATE, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, 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
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.HR_UTILITY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_UTILITY, status:VALID,
-
APPS.PAY_JP_DEF_REPORT_PKG dependencies on HR_UTILITY
12.2.2