Search Results ar_refunds_pvt
Overview
AR_REFUNDS_PVT is an internal private PL/SQL package in the Oracle Receivables (AR) module of Oracle E-Business Suite, owned by the APPS schema and classified as a PVT (private) API. It encapsulates the core business logic that governs customer refund processing, one of the mandatory credit management functions within the Order to Cash cycle. A refund in Receivables represents the return of customer funds that were previously received as an unapplied or on-account cash receipt, or that arise from overpayment against an invoice. The package provides the procedural foundation for creating a refund against an existing receipt and for cancelling a previously created refund when the business decision is reversed.
As a private package, AR_REFUNDS_PVT is not intended to be called directly by external integrations or custom code. It is invoked by the public Receivables APIs and by the refund-related forms and concurrent processes that present the user-facing transaction. The package status is VALID in the documented ETRM metadata for both 12.1.1 and 12.2.2, confirming it as an active component of the Receivables codebase.
Key Procedures and Functions
Two documented procedures constitute the public surface of this package:
- CREATE_REFUND — Validates and processes the creation of a customer refund. It applies the requisite validation logic against the source cash receipt, determines the refundable amount, and writes the resulting refund transaction records, including the corresponding payable invoice interface records used to remit funds to the customer or payee.
- CANCEL_REFUND — Reverses a previously created refund. It restores the status of the associated payment, reverses the accounting impact of the original refund transaction, and returns the source receipt to its prior applied or unapplied balance state.
The package is referenced by AR_REFUNDS_PVT itself (recursive internal calls), ARP_REVERSE_RECEIPT, AR_CM_APPLICATION_PUB, and AR_RECEIPT_API_PUB, meaning public receipt APIs and reversal logic delegate refund activity to this private layer rather than manipulating refund tables directly.
Tables Accessed
Documented table references (via APPS synonyms) reflect the cross-module nature of refund processing:
- AR_CASH_RECEIPTS — the source receipt from which refundable funds are derived and whose status is updated on creation or cancellation.
- AR_RECEIVABLE_APPLICATIONS — applied amounts that determine the refundable balance and are reversed when a refund is cancelled.
- AP_INVOICES and AP_INVOICES_INTERFACE (including AP_INVOICES_INTERFACE_S and AP_INVOICE_LINES_INTERFACE_S) — refunds are disbursed through Payables, so the package writes interface records that create the payable invoice to the payee.
- HZ_PARTIES and HZ_PARTY_SITES — source the customer or payee party and the remit-to site information for the refund.
- FND_CURRENCIES and FND_LOOKUPS — currency validation and lookup-driven validation of refund attributes.
- GL_CODE_COMBINATIONS and AP_PRODUCT_SETUP — accounting flexfield and Payables setup validation.
- FND_NEW_MESSAGES, DUAL, and PLITBLM — message retrieval, scalar expressions, and the PL/SQL index-by table of messages used for error reporting.
Usage Notes
AR_REFUNDS_PVT should never be called directly in custom code. It is normally entered through the Receipts workbench when a user creates a refund against an existing receipt, through the AR_RECEIPT_API_PUB public API for programmatic receipt and refund processing, and through AR_CM_APPLICATION_PUB and ARP_REVERSE_RECEIPT when receipts are reversed. Customizations requiring refund functionality should target the supported public APIs that internally invoke this package. Direct modification of the underlying refund and cash receipt tables is not supported and bypasses the validation and accounting logic centralised here.
-
PACKAGE: APPS.AR_REFUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AR_REFUNDS_PVT, status:VALID,
-
PACKAGE: APPS.AR_REFUNDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AR_REFUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AR_REFUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_REFUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AR_REFUNDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_REFUNDS_PVT, status:VALID,
-
PACKAGE: APPS.AR_REFUNDS_PVT
12.1.1
-
PACKAGE: APPS.AR_REFUNDS_PVT
12.2.2
-
PACKAGE: APPS.AP_INVOICE_LINES_INTERFACE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICE_LINES_INTERFACE_PKG, status:VALID,
-
PACKAGE: APPS.AP_INVOICE_LINES_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICE_LINES_INTERFACE_PKG, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_INTERFACE_PKG, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_INTERFACE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_INTERFACE_PKG, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_INTERFACE, status:VALID,
-
PACKAGE: APPS.ARP_APP_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_APP_PKG, status:VALID,
-
PACKAGE: APPS.AP_CANCEL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_CANCEL_PKG, status:VALID,
-
PACKAGE: APPS.ARP_APP_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_APP_PKG, status:VALID,
-
PACKAGE BODY: APPS.AR_CM_APPLICATION_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_CM_APPLICATION_PUB, status:VALID,
-
SYNONYM: APPS.AP_PRODUCT_SETUP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_PRODUCT_SETUP, status:VALID,
-
PACKAGE: APPS.AP_CANCEL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_CANCEL_PKG, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_INTERFACE_S, status:VALID,
-
PACKAGE: APPS.IBY_DISBURSEMENT_SETUP_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IBY_DISBURSEMENT_SETUP_PUB, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_LINES_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_LINES_INTERFACE_S, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_INTERFACE_S, status:VALID,
-
PACKAGE: APPS.AP_IMPORT_INVOICES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_IMPORT_INVOICES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AR_CM_APPLICATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_CM_APPLICATION_PUB, status:VALID,
-
PACKAGE: APPS.AP_IMPORT_INVOICES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_IMPORT_INVOICES_PKG, status:VALID,
-
PACKAGE: APPS.IBY_DISBURSEMENT_SETUP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IBY_DISBURSEMENT_SETUP_PUB, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_LINES_INTERFACE_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_LINES_INTERFACE_S, status:VALID,
-
PACKAGE BODY: APPS.ARP_REVERSE_RECEIPT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_REVERSE_RECEIPT, status:VALID,
-
PACKAGE BODY: APPS.ARP_REVERSE_RECEIPT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_REVERSE_RECEIPT, status:VALID,
-
PACKAGE: APPS.IBY_FNDCPT_SETUP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IBY_FNDCPT_SETUP_PUB, status:VALID,
-
PACKAGE BODY: APPS.AR_RECEIPT_API_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_RECEIPT_API_PUB, status:VALID,
-
SYNONYM: APPS.AR_RECEIVABLES_TRX
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLES_TRX, status:VALID,
-
PACKAGE BODY: APPS.AR_RECEIPT_API_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_RECEIPT_API_PUB, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AP_INVOICES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS, status:VALID,
-
SYNONYM: APPS.AP_INVOICES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AR_CASH_RECEIPTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_RECEIPTS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.AR_RECEIVABLE_APPLICATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_RECEIVABLE_APPLICATIONS, status:VALID,
-
PACKAGE: APPS.IBY_FNDCPT_COMMON_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IBY_FNDCPT_COMMON_PUB, status:VALID,
-
PACKAGE BODY: APPS.AR_REFUNDS_PVT
12.1.1
-
PACKAGE BODY: APPS.AR_REFUNDS_PVT
12.2.2
-
APPS.AR_RECEIPT_API_PUB dependencies on AR_REFUNDS_PVT
12.1.1
-
APPS.ARP_REVERSE_RECEIPT dependencies on AR_REFUNDS_PVT
12.1.1
-
APPS.AR_REFUNDS_PVT dependencies on AR_REFUNDS_PVT
12.1.1
-
APPS.AR_REFUNDS_PVT dependencies on AR_REFUNDS_PVT
12.2.2
-
APPS.AR_CM_APPLICATION_PUB dependencies on AR_REFUNDS_PVT
12.1.1