Results for “context_description”

6 results




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

Overview

PAY_EMEA_USR_ELE_ACTION_INFO_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite, defined within the PAY (Payroll) product family. It exists to present consolidated, human-readable information about EMEA element definition activity as it flows through payroll action processing. The view joins two usages of PAY_ACTION_INFORMATION — one aliased PAI1 carrying the "EMEA ELEMENT DEFINITION" action information category (context type 'PA'), and one aliased PAI2 carrying the "EMEA ELEMENT INFO" action information category (context type 'AAP') — and reconciles them through assignment actions, action interlocks, and payroll actions. Its purpose is to translate the low-level, generic ACTION_INFORMATION1 through ACTION_INFORMATION9 slots into meaningful report columns such as NARRATIVE, CONTEXT, CONTEXT_DESCRIPTION, and AMOUNT. Because the underlying PAY_ACTION_INFORMATION table is a generic key-flex structure, this view gives functional meaning to what would otherwise be opaque numbered attributes, making it directly usable for EMEA legislative reporting and element-level payroll analysis. The search term "action_information3" is directly relevant: that underlying column is surfaced by this view as the CONTEXT column, and is also part of the join predicate that links the PAI1 and PAI2 rows.

Underlying Base Objects

The view is defined over five documented base objects. Four are synonyms resolving to core Payroll tables, and one is a package used for date conversion. A two-pass self-join on PAY_ACTION_INFORMATION (PAI1 and PAI2) supplies the element definition and element info payloads. PAY_ASSIGNMENT_ACTIONS is referenced twice (aliased APAA and PPAA), first to associate the AAP action context with its assignment action, and again to trace the locked action back to its payroll action. PAY_ACTION_INTERLOCKS links the source assignment action to the action it locked, establishing the processing chain. PAY_PAYROLL_ACTIONS filters the result to actions of type 'P' (Payroll Run) and 'U' (Reversal), and ties the payroll action to the element definition context. The FND_DATE package is invoked to convert canonical dates into a display format when ACTION_INFORMATION6 in the PAI1 row equals 'D', indicating the amount field actually holds a date.

  • PAY_ACTION_INFORMATION — supplies both the element definition (PAI1) and element info (PAI2) rows.
  • PAY_ASSIGNMENT_ACTIONS — links assignment actions to payroll actions and interlocks.
  • PAY_ACTION_INTERLOCKS — provides the locking_action_id / locked_action_id chain.
  • PAY_PAYROLL_ACTIONS — constrains action types to 'P' and 'U'.
  • FND_DATE — converts canonical dates for display output.

Key Columns

The view exposes seven columns. ACTION_CONTEXT_ID derives from PAI2.ACTION_CONTEXT_ID and identifies the assignment action context. NARRATIVE combines the PAI1 ACTION_INFORMATION4 value with the parenthetical PAI2 ACTION_INFORMATION8 value when it exists, producing the element description label. CONTEXT maps directly to PAI2.ACTION_INFORMATION3 and represents the coded element context. CONTEXT_DESCRIPTION maps to PAI2.ACTION_INFORMATION9 and gives the descriptive form of that context. AMOUNT resolves to PAI2.ACTION_INFORMATION4, formatted as a display date when the PAI1 ACTION_INFORMATION6 flag is 'D'. MAIN_SEQ, MULTI_SEQ, and COLUMN_SEQ derive from PAI2 ACTION_INFORMATION5, 6, and 7 respectively and control ordering and grouping. Note that the documented column list includes the truncated name CONTEXT_DESCRIPTIO; the full logical name is CONTEXT_DESCRIPTION.

Common Use Cases and Queries

This view is typically consumed in EMEA payroll element reports, where a developer needs to display element definitions alongside the assignment-level element information that was captured during a payroll run or reversal. The internal ordering clause sorts by descending ACTION_INFORMATION8 cast to a number, then by MAIN_SEQ, MULTI_SEQ, and COLUMN_SEQ, so results arrive in the sequence expected by reporting layouts without additional ORDER BY logic.

SELECT action_context_id,
       narrative,
       context,
       context_description,
       amount,
       main_seq
FROM   apps.pay_emea_usr_ele_action_info_v
WHERE  action_context_id = :assignment_action_id
ORDER  BY main_seq;

A second common pattern joins the view back to PAY_PAYROLL_ACTIONS to report element activity for a specific payroll run, filtering on the payroll action identifier associated with the context. Because the view already restricts processing to payroll action types 'P' and 'U', it is unsuitable for ad-hoc queries against non-payroll action types. When troubleshooting, querying CONTEXT alone — the view representation of ACTION_INFORMATION3 — is the fastest way to verify that element contexts are aligning with the intended EMEA definition rows.