Results for “pay_fr_net_calc_rules_v”

34 results




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

Overview

PAY_FR_NET_CALC_RULES_V is a French localization reporting view owned by the APPS schema in Oracle E-Business Suite Payroll (PAY). The view is documented by ETRM as valid across 12.1.1 and 12.2.2 and is described as being used in the View Accruals form to display French-specific accrual calculation details. Its role is to expose the net calculation rules that govern how an accrual plan derives its net accrual input values from element entry input values, presenting that information in a flattened, form-friendly format that the OAF-based View Accruals page can render directly.

This is a read-only reporting view rather than a transactional entity. No data is stored in it; all content is derived at runtime by joining element entry input values, element types, element links, and accrual plan definitions. Because the view targets a single localization (France), it is relevant primarily to customers running French payroll legislation and configuring accrual plans (for example, CP - Congés Payés) with country-specific net calculation rules.

Underlying Base Objects

The view is defined over the following documented base objects, all referenced through APPS synonyms except the two PL/SQL packages and FND_SESSIONS:

  • PAY_ELEMENT_ENTRY_VALUES_F — supplies the input value rows for the accrual element entries, appearing twice in the FROM clause (aliased PEEV and PEEV1) to obtain both the add/subtract indicator and the summed input value in a single row.
  • PAY_ELEMENT_ENTRIES_F — the element entry header that links each set of input values to an assignment and effective date.
  • PAY_ELEMENT_LINKS_F — the element link defining which element is available to which payroll, used to constrain entries to valid element configurations.
  • PAY_INPUT_VALUES_F — the input value definitions providing the input value identifiers referenced by the rule.
  • PAY_ELEMENT_TYPES_F and PAY_ELEMENT_TYPES_F_TL — the element definition and its translated name; the TL table supplies ELEMENT_TYPE_NAME.
  • PAY_ACCRUAL_PLANS — the accrual plan header, whose INFORMATION8 through INFORMATION25 columns store the French-specific input value identifiers used by the net calculation rules.
  • FND_SESSIONS — the session table, joined to scope results to the current runtime session context.
  • FND_DATE (package) — used via FND_DATE.DATE_TO_DISPLAYDATE to format the effective start date as a display date.
  • HR_GENERAL (package) — used via HR_GENERAL.DECODE_LOOKUP to translate the accrual units of measure code into its lookup meaning.
  • PER_ABSENCE_ATTENDANCES — documented as a referenced object, supporting the absence-related accrual context typical of French leave plans.

The relationships are driven by the accrual plan's INFORMATION columns, which hold the numeric input value IDs. The join conditions match PEEV.INPUT_VALUE_ID against INFORMATION23–25 (the add or subtract rule) and PEEV1.INPUT_VALUE_ID against INFORMATION8–19 (the rule's contributing input values), with both aliases tied back to the same element entry and element type.

Key Columns

Common Use Cases and Queries

Typical usage is diagnostic: verifying how a French accrual plan has been configured, auditing which input values feed a net calculation rule, or troubleshooting accrual balances that do not match expectations. The following query lists the rules for a given accrual plan, showing the element, direction, and units:

SELECT net_calculation_rule_id, accrual_plan_id, element_type_name, input_value_name, add_or_subtract_name, accrual_units_of_measure_name FROM apps.pay_fr_net_calc_rules_v WHERE accrual_plan_id = :p_plan_id ORDER BY element_type_name, input_value_name;

To inspect the rules attached to one assignment's accrual element entries:

SELECT element_type_name, input_value_name, add_or_subtract_name FROM apps.pay_fr_net_calc_rules_v WHERE net_calculation_rule_id = :p_assignment_id;

Because the view depends on FND_SESSIONS and only assembles rows for the session's active element entries, results are best obtained within the EBS runtime (for example, from the View Accruals form or a concurrent program) rather than from an external SQL client outside a valid EBS session. Treat the view strictly as read-only; the underlying configuration is maintained through the Element and Accrual Plan setup forms and the PAY_ACCRUAL_PLANS.INFORMATION columns.