Search Results ap_rct_amt_match_pkg




Overview

AP_RCT_AMT_MATCH_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite Payables. It supports the amount-matching and receipt-matching functionality that validates invoice amounts against the quantities and amounts recorded for associated receipts, purchase orders, and distributions. The package forms part of the internal matching infrastructure that Payables uses when invoices are created, matched, or validated through the Invoice Workbench, Quick Credit, or automatic matching routines.

The package is classified as OTHER (rather than a formal public API) and holds a status of VALID. It is tightly coupled with AP_MATCHING_PKG, which it references, and it exposes two documented procedures: AP_AMT_MATCH and AMOUNT_CORRECT_INV_RCV. Its dependency graph confirms that it is invoked by AP_MATCHING_UTILS_PKG, AP_QUICK_CREDIT_PKG, and recursively by itself, indicating a supporting role within the broader matching engine rather than a standalone user-facing API.

Key Procedures and Functions

  • AP_AMT_MATCH — Drives the amount-matching logic for invoices against receipt and distribution data. It evaluates invoice line amounts against matched quantities and amounts and determines whether the invoice should be treated as fully matched, partially matched, or requiring correction.
  • AMOUNT_CORRECT_INV_RCV — Performs the amount correction routine applied to invoice and receipt records so that the invoice amount aligns with the underlying receipt and distribution values. This is typically required when a mismatch is detected during validation or matching.

The two public entry points indicate a narrow, specialized purpose: detecting and correcting amount discrepancies between invoices and their receipt or distribution references. Parameter lists are not part of the documented metadata and are not reproduced here.

Tables Accessed

The package reads and writes a number of Payables core tables accessed through APPS synonyms:

Usage Notes

Because the package is classified as OTHER, it is not intended for direct invocation by external applications. It is called internally by AP_MATCHING_UTILS_PKG, AP_QUICK_CREDIT_PKG, and other members of the AP matching family during invoice matching, validation, and credit processing. The primary user-facing path is the Payables Invoice Workbench (APXINWKB) and the Quick Credit form, where corrections to invoice amounts against receipts are triggered automatically. Concurrent programs such as invoice validation also drive the matching routines that ultimately reach this package. Customizations should avoid calling these procedures directly unless the matching flow and side effects on invoice distributions are fully understood; extending or wrapping the supplied matching packages is the safer approach.