Search Results arp_acct_main
Overview
ARP_ADJUSTMENTS_MAIN is an internal PL/SQL package in the Oracle E-Business Suite Receivables (AR) module, owned by the APPS schema and classified as an "OTHER" API rather than a formally published public interface. Its business purpose is to process and account for manual adjustments applied to receivables transactions and payment schedules — for example, write-offs, credit adjustments, and other receivable-level corrections that change the amount due on a transaction.
The package is tightly coupled with ARP_ACCT_MAIN, the central accounting engine in Receivables that creates distribution records. The ETRM dependency metadata confirms a bidirectional reference: ARP_ADJUSTMENTS_MAIN references ARP_ACCT_MAIN, and ARP_ADJUSTMENTS_MAIN is itself referenced by ARP_ACCT_MAIN. This mutual relationship indicates that adjustment processing both drives accounting entries and is invoked by the accounting engine when adjustments must be reflected in the distribution set. The package is also documented as being referenced by one other package and as referencing the SYS.STANDARD package.
Key Procedures and Functions
The 12.2.2 metadata documents two procedures/functions within the package:
- EXECUTE — The main entry point for processing an adjustment. It orchestrates the validation of the adjustment, applies the change against the payment schedule, and drives the accounting impact through the ARP_ACCT_MAIN accounting engine. It is the routine most likely invoked when an adjustment must be persisted and accounted.
- DELETE_ACCT — Handles the removal or reversal of accounting distributions associated with an adjustment. It is used when an adjustment is deleted or unaccounted, ensuring that the corresponding AR_DISTRIBUTIONS records and related accounting residue are cleaned up consistently.
No parameter lists are documented in the metadata, and none should be assumed; the procedures are typically called from within the Receivables adjustment processing and accounting flows rather than directly by end users.
Tables Accessed
The package reads and writes a broad set of Receivables base tables via APPS synonyms, consistent with its adjustment and accounting role:
- AR_ADJUSTMENTS — the adjustment header/detail records themselves.
- AR_PAYMENT_SCHEDULES — updated to reflect the reduced or changed amount due after the adjustment.
- AR_DISTRIBUTIONS and RA_CUST_TRX_LINE_GL_DIST — the accounting distribution rows created or removed by EXECUTE and DELETE_ACCT.
- AR_RECEIVABLE_APPLICATIONS and AR_REC_TRX_LE_DETAILS — application and line-level detail supporting the transaction.
- RA_CUSTOMER_TRX and RA_CUSTOMER_TRX_LINES — the parent transaction and its lines.
- AR_RECEIVABLES_TRX — drives Receivables activity and adjustment type behavior.
- AR_SYSTEM_PARAMETERS, AR_TRANSACTION_HISTORY, AR_LOCATION_ACCOUNTS, AR_VAT_TAX, and ZX_SCO_RATES — configuration, audit history, account derivation, and tax/rate context.
- DBMS_SQL — used for dynamic SQL construction, underscoring that the package builds some statements at runtime rather than statically.
Usage Notes
ARP_ADJUSTMENTS_MAIN is not a supported public API. It is invoked internally by standard Receivables functionality — adjustment entry and approval flows, the AutoAdjustment and adjustment accounting processes, and the post-adjustment accounting engine (ARP_ACCT_MAIN). In EBS 12.1.1 and 12.2.2 the underlying logic is materially the same, though 12.2 introduces the Online Patching (ADOP) editioning model, so the package body exists in multiple editions.
Because it is classified as OTHER and forms part of Oracle's internal adjustment-to-accounting chain, custom code should not call EXECUTE or DELETE_ACCT directly; the supported path is through the Receivables forms, concurrent programs, or the documented adjustment APIs. Its principal reference is ARP_ACCT_MAIN, which shares the accounting distribution logic, and it is listed as a dependency for one further package in the APPS schema.
-
PACKAGE: APPS.ARP_ADJUSTMENTS_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ADJUSTMENTS_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_BILLS_RECEIVABLE_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_BILLS_RECEIVABLE_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_BILLS_RECEIVABLE_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_BILLS_RECEIVABLE_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_RECEIPTS_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_RECEIPTS_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_ACCT_HOOK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ACCT_HOOK, status:VALID,
-
PACKAGE: APPS.ARP_ADJUSTMENTS_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ADJUSTMENTS_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_RECEIPTS_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_RECEIPTS_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_ACCT_HOOK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ACCT_HOOK, status:VALID,
-
PACKAGE: APPS.ARP_ALLOCATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ALLOCATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_ACCT_MAIN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ACCT_MAIN, status:VALID,
-
PACKAGE BODY: APPS.ARP_ACCT_MAIN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ACCT_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_ACCT_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_ACCT_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_ACCT_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ACCT_MAIN, status:VALID,
-
PACKAGE: APPS.ARP_RECONCILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_RECONCILE, status:VALID,
-
PACKAGE: APPS.ARP_AUTO_ACCOUNTING_BR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_AUTO_ACCOUNTING_BR, status:VALID,
-
SYNONYM: APPS.AR_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_DISTRIBUTIONS, status:VALID,
-
PACKAGE: APPS.ARP_BR_ALLOC_WRAPPER_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_BR_ALLOC_WRAPPER_PKG, status:VALID,
-
PACKAGE: APPS.ARP_AUTO_ACCOUNTING_BR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_AUTO_ACCOUNTING_BR, status:VALID,
-
PACKAGE BODY: APPS.ARP_BR_ALLOC_WRAPPER_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_BR_ALLOC_WRAPPER_PKG, status:VALID,
-
PACKAGE: APPS.ARP_RECONCILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_RECONCILE, status:VALID,
-
PACKAGE BODY: APPS.ARP_ACCT_HOOK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ACCT_HOOK, status:VALID,
-
SYNONYM: APPS.AR_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_DISTRIBUTIONS, status:VALID,
-
PACKAGE BODY: APPS.ARP_ACCT_HOOK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_ACCT_HOOK, status:VALID,
-
SYNONYM: APPS.AR_CASH_BASIS_DISTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CASH_BASIS_DISTS_ALL, status:VALID,
-
PACKAGE: APPS.ARP_ALLOCATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_ALLOCATION_PKG, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_DET_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_DET_PKG, status:VALID,
-
PACKAGE: APPS.ARP_PROCESS_DET_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_PROCESS_DET_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_APPLICATION2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_APPLICATION2, status:VALID,
-
PACKAGE BODY: APPS.ARP_RECONCILE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_RECONCILE, status:VALID,
-
PACKAGE: APPS.ARP_BR_ALLOC_WRAPPER_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_BR_ALLOC_WRAPPER_PKG, status:VALID,
-
PACKAGE BODY: APPS.AR_UNPOSTED_ITEM_UPG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AR_UNPOSTED_ITEM_UPG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROC_TRANSACTION_HISTORY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROC_TRANSACTION_HISTORY, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_BR_HEADER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_BR_HEADER, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_DIST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_DIST, status:VALID,
-
PACKAGE BODY: APPS.ARP_LLCA_ADJUST_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_LLCA_ADJUST_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_BR_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_BR_HEADER, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_LINES_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_LINES_GT, status:VALID,
-
PACKAGE: APPS.ARP_DISTRIBUTIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_DISTRIBUTIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AR_UNPOSTED_ITEM_UPG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AR_UNPOSTED_ITEM_UPG, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROC_RECEIPTS2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROC_RECEIPTS2, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_MISC_RECEIPTS2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_MISC_RECEIPTS2, status:VALID,
-
PACKAGE BODY: APPS.ARP_RECONCILE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_RECONCILE, status:VALID,
-
PACKAGE BODY: APPS.ARP_BR_ALLOC_WRAPPER_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_BR_ALLOC_WRAPPER_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_BILLS_RECEIVABLE_MAIN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_BILLS_RECEIVABLE_MAIN, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_DIST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_DIST, status:VALID,
-
SYNONYM: APPS.RA_INTERFACE_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_INTERFACE_ERRORS, status:VALID,
-
PACKAGE BODY: APPS.ARP_PROCESS_APPLICATION2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_PROCESS_APPLICATION2, status:VALID,
-
PACKAGE: APPS.ARP_DISTRIBUTIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_DISTRIBUTIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.ARP_LLCA_ADJUST_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_LLCA_ADJUST_PKG, status:VALID,
-
PACKAGE: APPS.ARP_DET_DIST_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_DET_DIST_PKG, status:VALID,