Results for “pa_proj_ap_inv_distributions”

50+ results




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

Overview

PA_PROJ_AP_INV_DISTRIBUTIONS is a Projects (PA) module view owned by the APPS schema. As documented in the ETRM 12.2.2 metadata, its purpose is to expose project-related Oracle Payables invoice distributions that have not yet been transferred into Oracle Projects. In other words, the view acts as a staging or reconciliation surface between Oracle Payables (AP) and Oracle Projects (PA): it lists AP distribution lines that reference a project but for which no corresponding project expenditure has yet been interfaced. This makes it a key diagnostic object for the Payables-to-Projects integration, commonly used to identify "uncosted" or "untransferred" invoice lines.

Because it is a view rather than a table, it presents no stored data. Its usefulness lies in the derived columns it computes — approval status, commitment information, cash-basis flags, currency conversion and quantity handling — that would otherwise require complex joins or PL/SQL calls. Valid in both 12.1.1 and 12.2.2, the object is central to period-end reconciliation and to troubleshooting invoices that fail to appear in Project Costing or Expenditure Inquiry.

Underlying Base Objects

The view is defined across a wide set of documented base objects, reflecting the depth of the AP–PO–PA relationship. The core sources are:

Several PL/SQL packages are invoked directly in the view definition, notably AP_INVOICES_PKG.GET_APPROVAL_STATUS for the approval flag, PA_CMT_UTILS (GET_INV_CMT and GET_INV_VAR) for commitment and variance derivation, plus PA_TASK_UTILS, PA_UTILS4, HR_GENERAL, HR_SECURITY and FND_PROFILE for task, security and profile-dependent logic. This mixture of relational joins and function calls explains the view's complexity and its dependence on the AP and PA object stacks.

Key Columns

Common Use Cases and Queries

Typical uses include identifying approved but untransferred project invoice distributions, reconciling AP to PA during period close, and investigating why an invoice line is missing from Project Expenditure Inquiry.

  • List untransferred, approved distributions for a project:
    SELECT invoice_num, distribution_line_number, amount, project_id
    FROM   pa_proj_ap_inv_distributions
    WHERE  project_id = :project_id
    AND    approved_flag = 'Y';
  • Find posted versus unposted lines: filter on posted_flag.
  • Review commitment/variance detail for a specific invoice by invoice_num and currency_code.

Because the view calls PL/SQL functions per row, queries should be filtered tightly to avoid performance issues.