Results for “element_information12”

50+ results




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

Overview

PAY_CA_SOE_EARN_BALANCES_V is an APPS-owned database view in the Oracle E-Business Suite Payroll (PAY) product, delivered and valid in both EBS 12.1.1 and 12.2.2. The name indicates its purpose: it exposes Statement of Earnings (SOE) related earnings and balance information for Canadian payroll, sourced from assignment actions, payroll actions, element types, and balance types. It is a reporting and integration object rather than a transactional table, and it is populated entirely at query time by joining payroll setup and run-time entities and by invoking PL/SQL balance functions.

The view is significant because it surfaces run-time balance values that are not persisted in a single base table. The projected balance column is computed by calling PAY_CA_BALANCE_PKG.CALL_CA_BALANCE_GET_VALUE, with the retrieval mode selected by the payroll action type: 'R' (regular run) and 'Q' (quick pay) request the 'RUN' value, while 'P' (process) and 'U' request the 'CURRENT' value. Each call passes the balance name, the assignment action and assignment identifiers, the tax unit, and the business group.

Crucially for the search term "report_level", the view reads a session variable through PAY_CA_BALANCE_VIEW_PKG.GET_SESSION_VAR('REPORT_LEVEL') and passes it as the balance retrieval level on every call. It similarly reads 'JURISDICTION_CODE'. These session variables, not columns, govern the aggregation granularity and jurisdiction context of the returned balance, which is why report_level effectively controls what the view returns.

Underlying Base Objects

The documented referenced objects are HR_BALANCES (package), PAY_ASSIGNMENT_ACTIONS, PAY_BALANCE_TYPES, PAY_CA_BALANCE_PKG, PAY_CA_BALANCE_VIEW_PKG, PAY_ELEMENT_CLASSIFICATIONS, PAY_ELEMENT_TYPES_F, PAY_ELEMENT_TYPES_F_TL, PAY_PAYROLL_ACTIONS, and PAY_RUN_RESULTS.

  • PAY_ASSIGNMENT_ACTIONS and PAY_PAYROLL_ACTIONS supply the assignment action and payroll action context, including ACTION_TYPE which drives the balance retrieval mode.
  • PAY_ELEMENT_TYPES_F, PAY_ELEMENT_TYPES_F_TL, and PAY_ELEMENT_CLASSIFICATIONS provide element identity, translation, reporting name, and classification data.
  • PAY_BALANCE_TYPES (aliased twice, PBT and PBT1) supplies balance type identity and names.
  • HR_BALANCES supplies the DECODE_BALANCE function used to resolve balance type display values.
  • PAY_CA_BALANCE_PKG and PAY_CA_BALANCE_VIEW_PKG supply the balance value and session variable logic.
  • PAY_RUN_RESULTS appears among referenced objects, consistent with run-time payroll values underlying the balance calls.

The view text carries a hint block forcing ORDERED with nested-loop joins and named indexes, reflecting its design for targeted per-assignment retrieval.

Key Columns

Common Use Cases and Queries

Typical uses include Canadian Statement of Earnings reporting, earnings and deduction reconciliation, and feeds that require run-time balance values per assignment action. Because REPORT_LEVEL is a session variable, callers must set it before querying.

  • Set the session context, then query by assignment action:

SELECT assignment_action_id, assignment_id, element_name, reporting_name, balance_type_id FROM apps.pay_ca_soe_earn_balances_v WHERE assignment_action_id = :p_action_id;

  • Retrieve by element classification:

SELECT assignment_id, classification_name, reporting_name FROM apps.pay_ca_soe_earn_balances_v WHERE classification_name = :p_classification;

  • Join to PAY_ASSIGNMENT_ACTIONS to filter by payroll action and action type.

Report level should be initialized via the appropriate PAY_CA_BALANCE_VIEW_PKG session-setting routine before execution to obtain the intended aggregation.