Search Results arp_process_credit
Overview
The APPS.ARP_PROCESS_CREDIT package is a core AutoInvoice processing package within Oracle Receivables, responsible for the creation and maintenance of credit memo transaction records during the AutoInvoice import cycle. When AutoInvoice processes interface data originating from external feeder systems, order management, or other modules, credit memos and on-account credits must be validated and written into the Receivables transaction schema. This package encapsulates that persistence logic, handling header-level and line-level inserts and updates against the RA_CUSTOMER_TRX and RA_CUSTOMER_TRX_LINES tables, applying currency conversion context from FND_CURRENCIES, resolving transaction types, and distributing accounting flexfield amounts to the lines' general ledger distributions.
The package is registered in ETRM as VALID under the APPS schema and is classified as an internal "OTHER" API rather than a public open interface. As such, it is not intended for direct invocation by external integrations; it forms part of the internal processing engine invoked by AutoInvoice's master driver logic. The package is tightly coupled to the credit memo workflow and complements packages such as ARP_PROCESS_FREIGHT and the coverage packages ARP_PROCESS_CREDIT_INS_COVER and ARP_PROCESS_CREDIT_UPD_COVER, which were generated to provide instrumentation and code-coverage verification over the insert and update paths respectively.
Key Procedures and Functions
The documented interface of the package exposes six procedures, each addressing a distinct stage of credit processing:
- INSERT_HEADER — Creates the credit memo header record in the Receivables transaction tables, establishing the transaction identity, currency, transaction type, and customer linkage required before line processing can proceed.
- UPDATE_HEADER — Applies corrections or enrichment to an existing credit memo header, typically used when AutoInvoice re-processes or adjusts a previously created credit.
- INSERT_LINE — Inserts individual credit memo lines, associating each line with its parent transaction and populating the line-level accounting distribution rows in the GL distribution table.
- UPDATE_LINE — Modifies existing credit memo lines to reflect amended quantities, amounts, or accounting attributes flagged during validation.
- FREIGHT_POST_UPDATE — Performs post-processing adjustments to freight-related amounts on credit memos after the primary line records have been written, ensuring freight charges are correctly reflected in the credit.
- INIT — Initializes the package session state, establishing the working variables and context needed by the subsequent header and line procedures.
Tables Accessed
The package operates against a defined set of Receivables and shared tables. RA_CUSTOMER_TRX and RA_CUSTOMER_TRX_LINES hold the credit memo header and line records. RA_CUST_TRX_LINE_GL_DIST receives the accounting distributions generated for each line. RA_CUST_TRX_TYPES provides the transaction type definition that governs credit memo behavior, while RA_CUST_TRX_LINE_SALESREPS and RA_SALESREPS supply salesperson assignment and commission context. AR_MEMO_LINES supports memo-line reconciliation, and FND_CURRENCIES supplies currency precision and conversion attributes. Additional documented references include AR_ADJUSTMENTS, AR_PAYMENT_SCHEDULES, AR_SYSTEM_PARAMETERS, and the Subledger Accounting tables XLA_EVENTS and XLA_TRANSACTION_ENTITIES_UPG, indicating that the package also participates in the creation of accounting events for the created credits. The dependency listing confirms direct references to AR_MEMO_LINES, FND_CURRENCIES, RA_CUSTOMER_TRX, RA_CUSTOMER_TRX_LINES, RA_CUST_TRX_LINE_GL_DIST, RA_CUST_TRX_TYPES, and RA_SALESREPS.
Usage Notes
ARP_PROCESS_CREDIT is an internal engine package and should not be called directly from custom code or concurrent program registrations. It is referenced by ARP_CACHE_UTIL, ARP_PROCESS_CREDIT itself (recursive internal calls), the coverage packages ARP_PROCESS_CREDIT_INS_COVER and ARP_PROCESS_CREDIT_UPD_COVER, and ARP_PROCESS_FREIGHT, with five dependent packages in total.
In EBS 12.1.1 and 12.2.2 the package is invoked implicitly during AutoInvoice execution whenever a credit memo or on-account credit transaction is imported. Functional users trigger this work through the AutoInvoice Master Program and its associated validation and import programs. Because the package writes directly to core Receivables tables, any customization should target the AutoInvoice interface tables (RA_INTERFACE_LINES_ALL and related interface tables) rather than attempting to bypass the engine. The presence of XLA references confirms that in R12 the package participates in Subledger Accounting event creation, so integrators should expect corresponding accounting entries to be generated as a by-product of credit processing.
-
PACKAGE: APPS.ARP_PROCESS_CREDIT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_CREDIT, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_CREDIT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_CREDIT, status:VALID,
-
SYNONYM: APPS.AR_MEMO_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_MEMO_LINES, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT, status:VALID,
-
SYNONYM: APPS.AR_MEMO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_MEMO_LINES, status:VALID,
-
PACKAGE: APPS.ARP_CMA_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_CMA_PKG, status:VALID,
-
PACKAGE: APPS.ARP_CMA_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CMA_PKG, status:VALID,
-
PACKAGE: APPS.ARP_CREDIT_MEMO_MODULE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_CREDIT_MEMO_MODULE, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_FREIGHT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_FREIGHT, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_FREIGHT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_FREIGHT, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT_INS_COVER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT_INS_COVER, status:VALID,
-
PACKAGE: APPS.ARP_CREDIT_MEMO_MODULE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CREDIT_MEMO_MODULE, status:VALID,
-
PACKAGE: APPS.ARP_CTLS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CTLS_PKG, status:VALID,
-
PACKAGE: APPS.ARP_CTLS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_CTLS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_FREIGHT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_FREIGHT, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_FREIGHT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_FREIGHT, status:VALID,
-
PACKAGE: APPS.ARP_ETAX_SERVICES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ETAX_SERVICES_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT_INS_COVER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT_INS_COVER, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT_UPD_COVER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT_UPD_COVER, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_CREDIT_UPD_COVER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_CREDIT_UPD_COVER, status:VALID,
-
PACKAGE BODY: APPS.ARW_CM_COVER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARW_CM_COVER, status:VALID,
-
PACKAGE: APPS.ARP_ETAX_SERVICES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ETAX_SERVICES_PKG, status:VALID,
-
PACKAGE: APPS.ARP_CTLGD_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_CTLGD_PKG, status:VALID,
-
PACKAGE: APPS.ARP_ETAX_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ETAX_UTIL, status:VALID,
-
SYNONYM: APPS.XLA_TRANSACTION_ENTITIES_UPG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_TRANSACTION_ENTITIES_UPG, status:VALID,
-
PACKAGE BODY: APPS.ARW_CM_COVER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARW_CM_COVER, status:VALID,
-
VIEW: APPS.AR_NET_REVENUE_AMOUNT
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_NET_REVENUE_AMOUNT, object_name:AR_NET_REVENUE_AMOUNT, status:VALID,
-
PACKAGE: APPS.ARP_AUTO_ACCOUNTING
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_AUTO_ACCOUNTING, status:VALID,
-
PACKAGE: APPS.ARP_CTL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CTL_PKG, status:VALID,
-
PACKAGE: APPS.ARP_CTLGD_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CTLGD_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_CACHE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CACHE_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_TRX_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_CREDIT
12.1.1
-
PACKAGE: APPS.ARP_ETAX_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ETAX_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_TRX_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_AUTO_ACCOUNTING
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_AUTO_ACCOUNTING, status:VALID,
-
VIEW: APPS.AR_NET_REVENUE_AMOUNT
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_NET_REVENUE_AMOUNT, object_name:AR_NET_REVENUE_AMOUNT, status:VALID,
-
PACKAGE: APPS.ARP_CTL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_CTL_PKG, status:VALID,
-
PACKAGE: APPS.ARP_TRX_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_VALIDATE, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_SALESREPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_SALESREPS, status:VALID,
-
PACKAGE BODY: APPS.ARP_CACHE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_CACHE_UTIL, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_CREDIT
12.2.2
-
PACKAGE: APPS.ARP_XLA_EVENTS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_XLA_EVENTS, status:VALID,
-
PACKAGE: APPS.ARP_TRX_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_GLOBAL, status:VALID,
-
SYNONYM: APPS.XLA_TRANSACTION_ENTITIES_UPG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_TRANSACTION_ENTITIES_UPG, status:VALID,
-
PACKAGE: APPS.ARP_TRX_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_TRX_VALIDATE, status:VALID,
-
VIEW: APPS.RA_SALESREPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.RA_SALESREPS, object_name:RA_SALESREPS, status:VALID,
-
PACKAGE: APPS.ARP_XLA_EVENTS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_XLA_EVENTS, status:VALID,
-
PACKAGE: APPS.ARP_CT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_CT_PKG, status:VALID,