Results for “arp_chargeback_cover”

48 results




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

Overview

ARP_CHARGEBACK_COVER is an Oracle Receivables public package body owned by the APPS schema. It provides the core entry point for creating chargebacks in Oracle EBS Release 12.1.1 and 12.2.2. A chargeback is a receivable created when a customer disputes all or part of an invoice or a receipt application, and the disputed amount is transferred from the original transaction to a new debit memo assigned to the customer. The package encapsulates the validation, defaulting, and transactional logic required to generate that chargeback correctly, insulating callers from the underlying table structure and business rules.

The header comment documents the evolution of the package from its creation in October 2001 through the Release 12 legal entity uptake in May 2005. Notable changes include support for chargebacks against both receipts and transactions, the introduction of bill-to site use validation (Bugs 2465176, 2474471, 2516618), the handling of internal notes (Bug 2751910), and the passing of legal_entity_id to the handler as part of the R12 architecture. The package is also referenced by one other package, indicating that it is consumed programmatically rather than exclusively through direct calls.

Key Procedures and Functions

The ETRM metadata documents a single procedure: CREATE_CHARGEBACK. It is described as the entry point for full chargeback creation. The procedure accepts a chargeback record structure defined in the package specification (Chargeback_Rec_Type) and an initialization message list flag. Its responsibilities include validating the customer, the bill-to site use, and the relationship between the bill-to site and the customer on the originating invoice when the chargeback relates to an invoice. Where a bill-to location is not supplied and the receipt’s bill-to site use identifier is also absent, the procedure returns an error rather than defaulting silently. The procedure then orchestrates the creation of the chargeback transaction and any required application records, returning status through the standard Oracle EBS message list convention.

No other procedures or functions are documented for this package body, although the internal comment block references a handler to which the legal entity identifier is passed during R12 processing.

Tables Accessed

The package reads and writes across the principal Receivables and Trading Community tables via APPS synonyms:

Usage Notes

ARP_CHARGEBACK_COVER is typically invoked from the Receivables Chargebacks window, from the Applications workbench when a user disputes an amount, and from concurrent or custom PL/SQL programs that need to generate chargebacks programmatically. Because it is a covered (public) API, it is the supported integration point for external and custom code; callers should populate the chargeback record structure in the package specification rather than manipulating Receivables tables directly. All calls should respect the standard message list and return status conventions, and in Release 12 the legal entity context must be supplied to the downstream handler through the same invocation.