Search Results ar_payments_interface_s




Overview

The APPS.ARP_LOCKBOX_HOOK_PVT package body implements the private customization hook framework used by Oracle Receivables (AR) during Automatic Lockbox processing in Oracle E-Business Suite 12.1.1 and 12.2.2. Lockbox is the mechanism by which customer remittance data transmitted by a bank is loaded into the AR_PAYMENTS_INTERFACE tables, validated, and ultimately applied to open receivables. The standard Lockbox concurrent program chain performs transmission formatting, interface import, validation, and application.

Because customers frequently require site-specific logic — such as injecting additional validation rules, defaulting values, or transforming records before they are applied — Oracle exposes a set of predefined hook points. ARP_LOCKBOX_HOOK_PVT is the private (PVT) package that provides the default, no-op implementations of these hook procedures. Customers are expected to copy or extend these procedures in a custom wrapper so that their logic is invoked at the correct moment in the Lockbox flow without modifying Oracle seeded code. This object is classified as a PVT API, meaning it is internal and subject to change; it is not intended for direct invocation by external code but rather as a template and dispatch point for customer extensions.

Key Procedures and Functions

ETRM documents four hook procedures within this package body:

  • PROC_BEFORE_VALIDATION — Invoked prior to the standard Lockbox validation step. Serves as the extension point for pre-validation logic, such as header or record-level edits, truncation checks, or enrichment of interface records before Oracle's rules execute.
  • PROC_AFTER_VALIDATION — Called after the primary validation pass. Permits custom post-validation processing, for example flagging records that fail supplemental business rules or populating derived attributes.
  • PROC_AFTER_SECOND_VALIDATION — Executed following the secondary validation stage of Lockbox processing. Provides a further extension point for logic that must run once all standard validation has completed.
  • PROC_FOR_CUSTOM_LLCA — A hook associated with custom Lockbox application (LLCA) processing, allowing customer-specific handling during the apply phase of lockbox receipts.

The procedures are deliberately thin in their default form, acting as placeholders that the Lockbox engine calls conditionally. Parameter lists are not documented here and should be confirmed against the live package source in each release.

Tables Accessed

The package body references a broad set of AR and common tables. Principal among these are AR_PAYMENTS_INTERFACE, AR_PAYMENTS_INTERFACE_ALL, and the sequence AR_PAYMENTS_INTERFACE_S, which together hold the imported Lockbox payment and remittance lines and their surrogate keys. Validation and apply logic touch AR_PAYMENT_SCHEDULES and AR_PMTS_INTERFACE_LINE_DETAILS to reconcile receipts to open transactions.

Configuration and control data are read from AR_LOCKBOXES, AR_LOCKBOXES_ALL, AR_TRANSMISSIONS_ALL, AR_TRANSMISSION_FORMATS, AR_TRANS_FIELD_FORMATS, and AR_TRANS_RECORD_FORMATS, which define how bank files are parsed and mapped. Customer and currency context is supplied via HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_RELATE, and AR_PAYING_RELATIONSHIPS_V, with FND_CURRENCIES and AR_SYSTEM_PARAMETERS providing currency and system defaults. Utility packages such as ARP_UTIL, ARP_GLOBAL, ARP_STANDARD, and ARP_PROCESS_LOCKBOX supply shared helpers and orchestration.

Usage Notes

ARP_LOCKBOX_HOOK_PVT is invoked indirectly by the Receivables Lockbox concurrent programs and by ARP_PROCESS_LOCKBOX at the defined hook points. It is not exposed through a form. Custom code should not call it directly; instead, developers extend behavior by overriding or wrapping the hook procedures and registering them so the Lockbox engine dispatches to the custom implementation. Because the package is PVT and Oracle proprietary, any customization must be validated after patching, and the current source should be reviewed to confirm hook signatures in the target release (12.1.1 versus 12.2.2). The reference to AR_PAYMENTS_INTERFACE_S confirms this package participates in generating interface identifiers during Lockbox import.