Results for “pay_kr_asg_elements_v”

50+ results




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

Overview

PAY_KR_ASG_ELEMENTS_V is an APPS-owned database view within the Oracle E-Business Suite Payroll (PAY) product family. It consolidates finalized payroll run results for the Korean (KR) legislative jurisdiction, presenting assignment-level element amounts and hours in a single, reporting-friendly structure. The view filters exclusively on business groups whose LEGISLATION_CODE is 'KR', making it a country-specific reporting object rather than a generic payroll view.

The view's central role is to normalize element classifications into the two broad groupings used in Korean payroll reporting: EARNINGS and DEDUCTIONS. Rather than exposing the raw classification name, the view text uses DECODE and INSTR logic to map classifications containing 'EARNINGS', the 'DIRECT_PAYMENTS' classification, the 'BASE_SALARY' classification, and the 'KR NORMAL HOURS' element into the EARNINGS bucket, while classifications containing 'DEDUCTIONS' map to DEDUCTIONS. This derivation is significant for users searching on "base_salary": the BASE_SALARY element classification is explicitly recast as EARNINGS in the CLASSIFICATION_NAME output column, so a query looking for base salary data must reference either the AMOUNT column under a CLASSIFICATION_NAME of 'EARNINGS' or the underlying ELEMENT_REPORTING_NAME.

Because the view aggregates with SUM(AMOUNT) and SUM(HOURS) and groups at the assignment action level, it behaves as a summarized reporting layer rather than a transactional extraction. It is primarily consumed by Korean payroll reporting, statutory extracts, and downstream integrations that require consolidated earnings and deduction totals per assignment action.

Underlying Base Objects

The view is defined over a join across payroll run, action, and HR assignment entities. Documented base objects include the synonyms PAY_ACTION_INTERLOCKS, PAY_ASSIGNMENT_ACTIONS, PAY_ELEMENT_CLASSIFICATIONS, PAY_ELEMENT_TYPES_F, PAY_ELEMENT_TYPES_F_TL, PAY_INPUT_VALUES_F, PAY_PAYROLL_ACTIONS, PAY_RUN_RESULTS, and PAY_RUN_RESULT_VALUES, together with the views PER_ASSIGNMENTS_F, PER_BUSINESS_GROUPS_PERF, and PER_PEOPLE_F. Package dependencies include HR_GENERAL, HR_PERSON_NAME, and HR_SECURITY.

The core chain links PAY_ASSIGNMENT_ACTIONS (both the primary and the interlocks-related instance) to PAY_PAYROLL_ACTIONS, PAY_RUN_RESULTS, and PAY_RUN_RESULT_VALUES, while PAY_INPUT_VALUES_F supplies the unit of measure (UOM) that determines whether a result value is treated as AMOUNT or HOURS. PER_ASSIGNMENTS_F and PER_PEOPLE_F join assignments to persons, and PER_BUSINESS_GROUPS_PERF enforces the Korean legislation filter. Element metadata is retrieved from PAY_ELEMENT_TYPES_F and its translation table PAY_ELEMENT_TYPES_F_TL via NVL(PETL.REPORTING_NAME, PETL.ELEMENT_NAME), and classification is sourced from PAY_ELEMENT_CLASSIFICATIONS.

Filtering is restrictive: only completed payroll actions (ACTION_STATUS = 'C') of action type 'R' or 'Q' are included, and only completed assignment actions. This ensures the view reflects only finalized payroll.

Key Columns

  • ASSIGNMENT_ACTION_ID — The assignment action identifier; the principal grouping key for the aggregated output.
  • ELEMENT_REPORTING_NAME — The element's reporting name, defaulting to the element name where no reporting name is defined. For base salary analysis, this column identifies the specific element.
  • CLASSIFICATION_NAME — The derived classification, restricted to 'EARNINGS' or 'DEDUCTIONS'. BASE_SALARY elements appear here as 'EARNINGS'.
  • PROCESSING_PRIORITY — The element's processing priority, carried through for ordering.
  • AMOUNT — The summed result value where the input value UOM denotes a monetary (P-type) unit.
  • HOURS — The summed result value where the UOM denotes an hours (H-type) unit.

Common Use Cases and Queries

Typical scenarios include reconciling Korean payroll earnings versus deductions per assignment action, extracting base salary and normal hours totals, and feeding statutory or third-party reporting. Because BASE_SALARY rolls into 'EARNINGS', the following pattern retrieves base salary element totals:

SELECT assignment_action_id, element_reporting_name, amount, hours
FROM apps.pay_kr_asg_elements_v
WHERE classification_name = 'EARNINGS'
AND element_reporting_name LIKE '%BASE%';

A broader earnings/deductions summary per assignment action is obtained with:

SELECT assignment_action_id, classification_name, SUM(amount) total_amount, SUM(hours) total_hours
FROM apps.pay_kr_asg_elements_v
GROUP BY assignment_action_id, classification_name;

Users should note that since BASE_SALARY is not exposed as a distinct CLASSIFICATION_NAME, base salary reporting depends on the ELEMENT_REPORTING_NAME or on joining back to the underlying PAY_RUN_RESULTS and PAY_ELEMENT_CLASSIFICATIONS tables for finer granularity.