Results for “hr_organization_units_pk”
30 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PAY_JP_PRE_TAX_V is a reporting view in Oracle E-Business Suite (EBS) Release 12.1.1 and 12.2.2 that consolidates Japanese pre-tax payroll processing details into a single query surface. The view joins payroll action records, element and consolidation set definitions, assignment actions, person and assignment data, and organization unit descriptions to present statutory deductions and premiums required under Japanese payroll law — including Health Insurance (HI), Childcare Insurance (CI), Workers' Compensation (WP), Workers' Property Fund (WPF), Unemployment Insurance (UI), Workmen's Accident Insurance (WAI), and Income Tax (ITAX), together with Local Tax (LTAX) and Special Local Tax amounts.
The view serves as a denormalized read layer for Japanese statutory reporting, payroll reconciliation, and downstream integration. Its role is presentation-oriented: rather than enforcing new business logic, it resolves codes to meanings via FND_MESSAGE and HR_LOOKUPS, and resolves organization identifiers to names, so that reports and extracts can be produced without further joins at the reporting layer.
Underlying Base Objects
The ETRM metadata documents the following referenced base objects: FND_MESSAGE (PACKAGE), FND_NUMBER (PACKAGE), HR_ALL_ORGANIZATION_UNITS_VL (VIEW), HR_API (PACKAGE), HR_LOOKUPS (VIEW), PAY_ACTION_INTERLOCKS (SYNONYM), PAY_ASSIGNMENT_ACTIONS (SYNONYM), PAY_CONSOLIDATION_SETS (SYNONYM), PAY_ELEMENT_SETS (SYNONYM), PAY_JP_PRE_TAX (VIEW), PAY_JP_SWOT_NUMBERS (SYNONYM), PAY_PAYROLL_ACTIONS (SYNONYM), PER_ALL_ASSIGNMENTS_F (SYNONYM), and PER_ALL_PEOPLE_F (SYNONYM).
The core transactional source is PAY_JP_PRE_TAX, which holds the Japanese pre-tax line attributes such as taxable salary and material amounts, premium splits between employee and employer, and category codes. PAY_JP_SWOT_NUMBERS supplies the Social Welfare Office (SWOT) numbering used for local tax district reporting. PAY_PAYROLL_ACTIONS and PAY_ASSIGNMENT_ACTIONS provide the action header and assignment-level context, including action type, effective date, date earned, and time period. PAY_CONSOLIDATION_SETS and PAY_ELEMENT_SETS identify the consolidation and element groupings to which the action belongs. PER_ASSIGNMENTS_F and PER_ALL_PEOPLE_F supply the person identity columns (employee number, full name, global name, local name). Organization unit names originate from HR_ALL_ORGANIZATION_UNITS_VL. Package references FND_MESSAGE, FND_NUMBER, and HR_API are used for message retrieval and numeric handling.
The view's inline hint clause requests ordered nested-loop execution and explicitly indexes each organization unit alias with HR_ORGANIZATION_UNITS_PK, which is the primary key index on HR_ORGANIZATION_UNITS referenced six times (HOU1 through HOU6) for the HI, WP, WPF, UI, WAI, and ITAX organization lookups. This index-directed plan explains why a search for hr_organization_units_pk surfaces this view: the index appears repeatedly in the view's access path.
Key Columns
- PPT.ROW_ID — Surrogate row identifier for the pre-tax record; useful for anchoring extracts.
- PPA.BUSINESS_GROUP_ID, PPA.PAYROLL_ID, PPA.CONSOLIDATION_SET_ID — Payroll run context; PCS.CONSOLIDATION_SET_NAME provides the resolved name.
- PPA.ACTION_TYPE and HR1.MEANING — Action type code and its lookup meaning.
- PPA.EFFECTIVE_DATE, PPA.DATE_EARNED, PPA.TIME_PERIOD_ID — Payroll effective dating, critical for period-based reconciliation.
- PPT.PRE_TAX_ID, PPT.ACTION_ID, PAA.ASSIGNMENT_ACTION_ID, PAA.ASSIGNMENT_ID — Linkage keys to pre-tax, action, and assignment action records.
- PA.PERSON_ID, PP.EMPLOYEE_NUMBER, PP.FULL_NAME, PP.GLOBAL_NAME, PP.LOCAL_NAME — Person identity attributes.
- PPT.ACTION_STATUS and HR2.MEANING — Action status code and its resolved meaning.
- PPT.SALARY_CATEGORY and HR3.MEANING — Salary category with NVL default of 'NA' and its lookup meaning.
- PPT.TAXABLE_SAL_AMT, PPT.TAXABLE_MAT_AMT — Taxable salary and taxable material amounts.
- PPT.HI_ORGANIZATION_ID, HOU1.NAME, PPT.HI_PREM_EE, PPT.HI_PREM_ER — Health Insurance organization, employee and employer premiums.
- PPT.CI_PREM_EE, PPT.CI_PREM_ER — Childcare Insurance premiums.
- PPT.WP_ORGANIZATION_ID, HOU2.NAME, PPT.WP_PREM_EE, PPT.WP_PREM_ER — Workers' Compensation organization and premiums.
- PPT.WPF_ORGANIZATION_ID, HOU3.NAME, PPT.WPF_PREM_EE, PPT.WPF_PREM_ER — Workers' Property Fund organization and premiums.
- PPT.UI_ORGANIZATION_ID, HOU4.NAME, PPT.UI_CATEGORY, HR4.MEANING, PPT.UI_PREM_EE, PPT.UI_SAL_AMT — Unemployment Insurance organization, category, premium, and salary base.
- PPT.WAI_ORGANIZATION_ID, HOU5.NAME, PPT.WAI_CATEGORY, HR5.MEANING, PPT.WAI_SAL_AMT — Workmen's Accident Insurance organization, category, and salary base.
- PPT.ITAX_ORGANIZATION_ID, HOU6.NAME, PPT.ITAX_CATEGORY, PPT.ITAX_YEA_CATEGORY, PPT.ITAX, PPT.ITAX_ADJUSTMENT — Income Tax organization, category, year-end category, tax, and adjustment amounts. NON_RES category resolves to the PAY_JP_NRES message.
- PPT.LTAX_DISTRICT_CODE, SWOT.SWOT_NUMBER, PPT.LTAX, PPT.LTAX_LUMPSUM — Local tax district, SWOT number, regular and lump-sum local tax.
- PPT.SP_LTAX_DISTRICT_CODE, SP_SWOT.SWOT_NUMBER, PPT.SP_LTAX, PPT.SP_LTAX_INCOME, PPT.SP_LTAX_SHI, PPT.SP_LTAX_TO — Special local tax district, SWOT number, and component amounts.
- PPT.MUTUAL_AID, PPT.DISASTER_TAX_REDUCTION — Mutual aid contributions and disaster tax reduction amounts.
Common Use Cases and Queries
Typical scenarios include Japanese statutory premium reconciliation for a payroll period, income and local tax reporting by district and SWOT number, and verification of employee versus employer premium splits by organization. The view is also used to validate that each tax type is attributed to the correct HR organization unit, which is why the plan repeatedly probes HR_ORGANIZATION_UNITS_PK.
The following query extracts pre-tax details for a given payroll action and date range:
SELECT employee_number, full_name, action_status_meaning, salary_category_meaning, taxable_sal_amt, taxable_mat_amt, hi_prem_ee, hi_prem_er, itax, itax_adjustment, ltax, ltax_lumpsum FROM apps.pay_jp_pre_tax_v WHERE payroll_id = :p_payroll_id AND effective_date BETWEEN :p_start AND :p_end ORDER BY employee_number;
A second scenario reconciles employer and employee premiums by organization:
SELECT hi_organization_id, name, SUM(hi_prem_ee) ee_total, SUM(hi_prem_er) er_total FROM apps.pay_jp_pre_tax_v WHERE business_group_id = :p_bg AND effective_date >= :p_start GROUP BY hi_organization_id, name;
A third use case isolates local tax by district and SWOT number for remittance files:
SELECT employee_number, ltax_district_code, ltax_swot_no, ltax, ltax_lumpsum, sp_ltax_district_code, sp_ltax_swot_no, sp_ltax FROM apps.pay_jp_pre_tax_v WHERE ltax IS NOT NULL OR sp_ltax IS NOT NULL ORDER BY ltax_district_code, employee_number;
Because the view is a read-only projection, queries against it inherit the ordered nested-loop execution plan and the repeated HR_ORGANIZATION_UNITS_PK index lookups mandated by the inline hints. Report consumers should expect six organization unit joins per qualifying row and should constrain by business group, payroll, or effective date to bound result sets.
-
VIEW: APPS.PAY_JP_PRE_TAX_V 12.1.1
-
View: PAY_JP_PRE_TAX_V 12.1.1
This view is used by PAYJPPTX form and Japanese legislative reports.
APPS.PAY_JP_PRE_TAX_V·↳ FND_GLOBAL·↳ FND_MESSAGE·↳ FND_NUMBER·Explore PAY module →
-
Organization unit definitions.
-
- Retrofitted
-
- Retrofitted
-
Organization unit definitions.
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
eTRM - AS Tables and Views 12.2.2
- Retrofitted
-
eTRM - AS Tables and Views 12.1.1
- Retrofitted
-
eTRM - PER Tables and Views 12.2.2
Table to store NQF Training info for a person
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person
-
eTRM - PER Tables and Views 12.2.2
Table to store NQF Training info for a person
-
eTRM - PER Tables and Views 12.1.1
Table to store NQF Training info for a person