Results for “wp_number_iv_id”

16 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.PAY_JP_SI_DISQUALIFIED_V is a Japanese localization view within the Oracle E-Business Suite HRMS and Payroll modules. Its primary purpose is to identify employees who have been "disqualified" from Social Insurance (SI) coverage — specifically for Health Insurance (HI), Welfare Pension (WP), and Welfare Pension Fund (WPF) schemes — based on disqualification dates captured as element entry values. The view consolidates assignment-level data, resolves the relevant input value identifiers dynamically for each business group, and reports disqualification dates, organization/location codes, insurance numbers, and a disqualification type flag.

The view plays a reporting and integration role: downstream Japanese statutory reports (for example, social insurance acquisition/loss notifications) and integrations use it to extract employees whose coverage has ended, along with the associated reference numbers. The use of the hi_number_iv_id lookup reflects that the view resolves business-group-specific input value IDs via HR_JP_ID_PKG.INPUT_VALUE_ID, making it configurable per legislative setup rather than relying on hardcoded IDs.

Underlying Base Objects

The view is defined over the following documented base objects:

The view joins these objects through a nested subquery (v1) that maps each business group to its relevant input value IDs, then correlates element entry values for disqualified dates against organizations and numbers.

Key Columns

  • assignment_id, person_id — the assignment and person being reported.
  • business_group_id — legislative business group context.
  • period_of_service_id — the payroll period of service reference.
  • Disqualification date (derived) — fnd_date.canonical_to_date(peev.screen_entry_value) - 1, the effective loss date.
  • Organization/location — resolved via PAY_JP_BALANCE_PKG based on the mapped org input value ID.
  • HI number / WP number — get_entry_value_char(...hi_number_iv_id/wp_number_iv_id...), truncated to 10 characters.
  • Disqualification type — SUM(DECODE(...)) producing 1 (HI), 2 (WP), or 4 (WPF).
  • Output flag — a single character from COM_SI_REPORT_INFO OUTPUT_FLAG.

Common Use Cases and Queries

Typical uses include generating social insurance loss reports, reconciling employees whose coverage has ended, and validating insurance numbers against disqualification dates.

SELECT assignment_id,
       person_id,
       business_group_id,
       period_of_service_id
FROM   apps.pay_jp_si_disqualified_v
WHERE  business_group_id = :p_bg_id
ORDER BY assignment_id;
SELECT person_id, disqualification_type
FROM   apps.pay_jp_si_disqualified_v
WHERE  disqualification_type IN (1,2,4);

Because the view invokes PL/SQL functions within its SELECT list, queries should be filtered by business group and effective date range to limit execution cost, and results should be secured using standard HRMS security profile joins where appropriate.