Search Results quantity_financed




Overview

The APPS.AP_PO_DISTRIBUTIONS_AP2_V view is a retrofitted Payables (AP) object that exposes purchase order distribution data with Payables-specific derivations applied on top of the underlying purchasing distribution records. Within Oracle EBS 12.1.1 and 12.2.2 the view serves as a reporting and integration layer over PO_DISTRIBUTIONS, resolving the account context and descriptive attributes required by AP accounting, encumbrance, and funds-check processing.

The most significant behavioral difference between the view and its base synonym is the conditional resolution of CODE_COMBINATION_ID. Rather than exposing the raw column, the view applies a DECODE that inspects DESTINATION_TYPE_CODE and ACCRUE_ON_RECEIPT_FLAG, returning ACCRUAL_ACCOUNT_ID or the original CODE_COMBINATION_ID depending on whether the distribution represents expense accrual accounting. This makes the view suitable for downstream logic that must mirror the accounting entry Payables would actually generate.

Because the view retains columns such as FAILED_FUNDS_LOOKUP_CODE, it is frequently located by users investigating failed funds reservations and budget-check outcomes, particularly in encumbrance-enabled environments.

Underlying Base Objects

The view is defined in the APPS schema and is documented as referencing the following objects in ETRM 12.2.2:

The dependence on HR and PA packages means the view respects organization security and project expenditure rules rather than exposing unfiltered purchasing data.

Key Columns

Common Use Cases and Queries

Typical usage targets funds-check failures, encumbrance reconciliation, and account derivation validation.

  • Identifying distributions with failed funds reservations by filtering on FAILED_FUNDS_LOOKUP_CODE IS NOT NULL.
  • Reconciling encumbered amounts against GL encumbrance periods.
  • Verifying which account Payables would use, given accrual flags.

Sample query returning failed-funds distributions with their derived account and organization:

SELECT row_id,
       distribution_num,
       code_combination_id,
       failed_funds_lookup_code,
       encumbered_amount,
       expenditure_organization,
       destination_type_code
  FROM apps.ap_po_distributions_ap2_v
 WHERE failed_funds_lookup_code IS NOT NULL
 ORDER BY distribution_num;

Because the view joins HR security and PA structures, queries should be executed within an appropriately initialized APPS session to avoid unexpected row suppression.