Results for “me_subj_avg”

8 results




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

Overview

APPS.PAY_KR_SEP_RESULT_SLIP_V is a reporting view in Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 that consolidates Korean statutory severance ("toejikgeum") calculation results for a payroll assignment action. It is designed to support the Korean Separation Result Slip, a statutory report showing an employee's service period, average wage, and severance pay components. The view joins payroll action and assignment action data and then derives individual result values and balances through calls to the PAY_KR_REPORT_PKG package, producing a flat, report-ready row per assignment action. It is commonly consumed by the Korean payroll report concurrent programs and by custom severance reporting extracts. The reference to ME_SUBJ_AVG in the view definition reflects the Korean "average wage" (pyeonggyun imgeum) result group used in the calculation of severance and related entitlements.

Underlying Base Objects

Per the ETRM metadata, the view is defined over the following objects:

  • PAY_ASSIGNMENT_ACTIONS (synonym) — supplies the assignment_action_id and assignment_id that identify each payroll action run for an assignment.
  • PAY_PAYROLL_ACTIONS (synonym) — provides the effective_date and business_group_id used to derive statutory dates and balances.
  • PAY_RUN_TYPES_F (synonym) — provides run_type_id and run type context.
  • PAY_ACTION_INTERLOCKS (synonym) — referenced for payroll action relationships (for example, linking a reversal or related action).
  • PAY_KR_REPORT_PKG (package) — the Korean payroll reporting package whose functions (get_result_value_date, get_result_value_char, get_balance_value) resolve individual result values and balances for each assignment action.

The SELECT carries a /*+RULE*/ hint and largely delegates value resolution to the package layer, so the view acts as a presentation wrapper rather than a purely relational join.

Key Columns

  • assignment_action_id, assignment_id — keys identifying the payroll action for an assignment.
  • effective_date, date_earned — effective payroll date and the date the earnings relate to.
  • run_type_id — the payroll run type associated with the action.
  • hiring_date, leaving_date — start and end of service from the WKPD result group ('H_DATE', 'L_DATE').
  • working_period — character representation of the working period ('WKPD').
  • wkpd_sep_pay — severance pay balance ('WKPD_SEP_PAY').
  • me_1st_std / me_1st_edd, me_2nd_std / me_2nd_edd, me_3rd_std / me_3rd_edd — start and end dates for three average-wage periods from the ME_SUBJ_AVG result group.
  • me_1st_wkd, me_2nd_wkd, me_3rd_wkd — working-day balances for each period.
  • me_1st_subj_avg, me_2nd_subj_avg, me_3rd_subj_avg — average wage amounts for each period.

Common Use Cases and Queries

Typical usage retrieves the severance slip data for a given assignment action or set of actions, often filtered by effective date or run type.

SELECT assignment_action_id,
       hiring_date,
       leaving_date,
       me_1st_subj_avg,
       me_2nd_subj_avg,
       me_3rd_subj_avg,
       wkpd_sep_pay
FROM   apps.pay_kr_sep_result_slip_v
WHERE  assignment_id = :p_assignment_id;

The view is used to produce the Korean separation result slip, to reconcile severance balances against the ME_SUBJ_AVG results, and to feed downstream extracts. Because the values are resolved through PAY_KR_REPORT_PKG at query time, performance is affected by the number of assignment actions returned, and the /*+RULE*/ hint indicates the optimizer is directed to use rule-based evaluation. Filtering by assignment_action_id or effective_date range is recommended for large payroll runs.