Search Results header_post_update




Overview

ARP_PROCESS_COMMITMENT is an Oracle Receivables PL/SQL package owned by the APPS schema. It forms part of the internal transaction-processing infrastructure that supports commitment handling and related header maintenance for customer transactions. The package is classified as an "OTHER" API in the ETRM metadata rather than as a public or open interface, indicating that it is intended primarily for internal use by other Oracle Receivables components rather than as a documented integration point for external callers. Its principal role is to manage the lifecycle of commitment records associated with transaction headers, performing validation and consistency work before and after insert, update, and delete operations against the underlying Receivables transaction tables. Because it is a supporting package, it is not exposed directly to end users; instead it is invoked by higher-level Receivables packages such as ARP_PROCESS_HEADER, ARP_REVERSE_RECEIPT, ARW_CM_COVER, AR_INVOICE_API_PUB, and ARP_TEST_TAX.

Key Procedures and Functions

The documented package exposes six procedures that map to standard pre- and post-DML event hooks:

  • HEADER_PRE_INSERT — Performs validation and preparation logic immediately before a commitment header record is inserted, ensuring required values and derived attributes are set.
  • HEADER_POST_INSERT — Executes follow-on processing after the header insert commits, such as updating dependent records or reconciling commitment balances.
  • HEADER_PRE_UPDATE — Validates and prepares data before changes are applied to an existing commitment header.
  • HEADER_POST_UPDATE — Carries out downstream adjustments after the header update, including dependent distribution or currency-related processing.
  • HEADER_PRE_DELETE — Enforces deletion rules and performs cleanup checks before a commitment header is removed.
  • SET_TO_DUMMY — A utility routine used to substitute or neutralize a value, commonly to disable a processing path or provide a placeholder during controlled execution.

No parameter lists are documented in the ETRM metadata; the procedures are referenced by name only.

Tables Accessed

The package references the following tables through APPS synonyms:

  • FND_CURRENCIES — Currency validation and conversion attributes used when processing commitment amounts.
  • RA_CUSTOMER_TRX — The Receivables transaction header table, central to header insert, update, and delete logic.
  • RA_CUSTOMER_TRX_LINES — Transaction line detail supporting line-level validation and consistency checks.
  • RA_CUST_TRX_LINE_GL_DIST — Accounting distribution records associated with transaction lines.
  • RA_CUST_TRX_LINE_SALESREPS — Salesperson assignments linked to transaction lines.
  • RA_CUST_TRX_TYPES — Transaction type definitions that govern valid header attributes.

These accesses confirm that the package operates within the core AutoInvoice/Transactions data model rather than against isolated commitment tables alone.

Usage Notes

ARP_PROCESS_COMMITMENT is not invoked directly by end users. It is called from other Receivables packages, as evidenced by the seven dependents listed in the metadata, including ARP_PROCESS_HEADER, ARP_PROCESS_HEADER_INSRT_COVER, ARP_PROCESS_HEADER_UPDTE_COVER, ARP_REVERSE_RECEIPT, ARP_TEST_TAX, ARW_CM_COVER, and AR_INVOICE_API_PUB. Because AR_INVOICE_API_PUB is itself a public API used for invoice creation and adjustment, custom code that relies on that API may trigger this package indirectly. Customers should not modify the package, and any customization should be confined to supported extension points. The package is version-valid in both 12.1.1 and 12.2.2, though internal logic may vary between releases; review the specific instance's package body before diagnosing behavior.