Search Results proc_for_custom_llca




Overview

ARP_LOCKBOX_HOOK_PVT is a private PL/SQL package in the APPS schema that supports the Oracle Receivables Automatic Lockbox process. Lockbox is the mechanism by which bank transmissions (BAI, BAI2, lockbox, or other formats) are imported, parsed, and applied to customer receipts in Oracle EBS. The public package ARP_LOCKBOX_HOOK drives the validation lifecycle of a lockbox transmission and delegates the individual validation phases to ARP_LOCKBOX_HOOK_PVT. The "PVT" suffix indicates that the package is internal: it is not intended as a public API and is invoked exclusively by the ARP_LOCKBOX_HOOK public package and by its own body.

The package's business purpose is to provide user-definable hook points during lockbox validation. Because customers frequently require custom validation logic — such as checking customer account relationships, remittance format compliance, or transmission-level controls — these hooks allow extensions to run before and after the standard validation processing without modifying Oracle-owned code. The package exposes four documented procedures that correspond to distinct phases in the lockbox validation cycle.

Key Procedures and Functions

  • PROC_BEFORE_VALIDATION — Executes at the start of the lockbox validation cycle, before standard Oracle validation logic is applied. It is the earliest hook point where transmission and record-level checks can be performed.
  • PROC_AFTER_VALIDATION — Executes after the first pass of standard validation. This hook is used for additional validation or processing on records that have already been evaluated once by the standard logic.
  • PROC_AFTER_SECOND_VALIDATION — Executes following a second validation pass. This supports scenarios in which records require re-evaluation, for example when dependent data changes between passes.
  • PROC_FOR_CUSTOM_LLCA — Supports custom logic related to the lockbox customer account assignment ("LLCA"). It provides an extension point for customer-specific processing of lockbox-to-customer-account matching.

The documented metadata does not disclose parameter lists, so no signatures are asserted here. The package body also contains private helper logic that is not separately documented; it is referenced only by itself and by ARP_LOCKBOX_HOOK.

Tables Accessed

ARP_LOCKBOX_HOOK_PVT reads and writes the core Receivables lockbox and payments interface tables. AR_PAYMENTS_INTERFACE_ALL and AR_PAYMENTS_INTERFACE (with its synonym and sequence AR_PAYMENTS_INTERFACE_S) hold the receipt interface rows generated from the bank transmission; AR_PMTS_INTERFACE_LINE_DETAILS holds associated line-level remittance detail. AR_LOCKBOXES and AR_LOCKBOXES_ALL define the lockbox configurations. AR_TRANSMISSIONS_ALL maintains transmission headers, while AR_TRANSMISSION_FORMATS, AR_TRANS_FIELD_FORMATS, and AR_TRANS_RECORD_FORMATS describe how records and fields within each format are parsed and interpreted.

Customer and setup tables include HZ_CUST_ACCOUNTS and HZ_CUST_ACCT_RELATE, used to validate and match customer accounts and account relationships; AR_PAYMENT_SCHEDULES, used to evaluate open installments against incoming receipts; AR_SYSTEM_PARAMETERS, used to read Receivables and lockbox system options; and FND_CURRENCIES, used for currency validation and conversion checks. Collectively, these tables support transmission interpretation, record validation, customer matching, and interface population.

Usage Notes

ARP_LOCKBOX_HOOK_PVT is not intended to be called directly. It is invoked by ARP_LOCKBOX_HOOK, the public interface that the Automatic Lockbox concurrent program and related Receivables processing call during validation. Customers who need to extend or customize lockbox validation typically create a custom package or procedure and reference it from the hook mechanisms configured for Receivables, rather than coding against ARP_LOCKBOX_HOOK_PVT directly. Because the package is classified as PVT, no compatibility guarantee exists for its internal procedures across releases. Any customizations should be built against supported extension mechanisms, and the documented status of VALID confirms that the package compiles successfully in the target release, but does not imply it is a supported public API.