Search Results record_proof_of_delivery




Overview

The APPS.AR_DEFERRAL_REASONS_GRP package is a Group API (classified as GRP in the ETRM repository) within the Oracle Receivables module of Oracle E-Business Suite. Its primary business function is to manage the recording and assignment of deferral reasons associated with revenue deferral processing on receivable transactions. Deferral reasons describe why a given transaction line has been deferred — for example, pending customer acceptance, pending proof of delivery, or other contractual conditions — and this group package encapsulates the logic required to capture those reasons against the appropriate Receivables interface and transaction lines. It is closely tied to the Receivables deferred revenue recognition feature set, which allows revenue on a transaction line to be postponed until a specific triggering event occurs. This package exposes a public record type, line_flex_rec, and three documented procedures, making it a reusable programmatic entry point for applications and integrations that must communicate deferral status updates to Oracle Receivables. The header indicates the package body was last revised in 2005 and is marked "noship," though it remains a documented object in the 12.2.2 ETRM repository and is also present in the 12.1.1 code base.

Key Procedures and Functions

The package declares one public data type and three documented procedures.

  • line_flex_rec (Record Type) — A PL/SQL record designed to carry descriptive flexfield context and attribute values for an interface line. It holds a context column and fifteen interface_line_attribute columns, allowing callers to pass fully qualified flexfield data along with a deferral request.
  • default_reasons — Assigns default deferral reasons. Its p_mode parameter governs the scope of the defaulting operation (for example, processing all applicable lines versus a narrower set), and it follows the standard API parameter pattern of API version, message list initialization, commit control, and return status/message outputs.
  • record_acceptance — Records that customer acceptance has occurred for one or more deferred lines. When a deferral reason is "pending acceptance," this procedure signals Receivables to consider the acceptance condition met, enabling the deferral event to be evaluated. It accepts the line flexfield record as input and returns API status and message information.
  • record_proof_of_delivery — Records that proof of delivery has been received. This supports deferral reasons tied to delivery confirmation, typically integrated with shipping and delivery data, and mirrors the acceptance procedure in its parameter conventions.

Tables Accessed

The package reads and writes the following documented tables through APPS synonyms:

  • AR_DEFERRAL_REASONS and AR_DEFERRED_LINES — Store the deferral reason definitions and the lines to which deferrals apply; central to defaulting and updating reason status.
  • AR_INTERFACE_CONTS and RA_INTERFACE_LINES — The Receivables interface tables that stage inbound transaction data before validation and import into the base transaction tables.
  • RA_CUSTOMER_TRX_LINES — The base Receivables transaction line table, where deferral indicators are ultimately maintained.
  • RA_RULES — Revenue recognition rules used to determine how a line's revenue should be scheduled.
  • WSH_DELIVERY_ASSIGNMENTS and WSH_DELIVERY_DETAILS — Shipping execution tables consulted to confirm delivery and support proof-of-delivery processing.

Usage Notes

AR_DEFERRAL_REASONS_GRP is invoked programmatically rather than through a standard Oracle Forms screen. It is referenced by five other packages in the ETRM repository, indicating it serves as a shared utility layer for deferral processing. Typical call patterns include custom concurrent programs that reconcile acceptance or delivery events, integration code that imports customer acceptance notifications from external systems, and extensions or workflow components that must update deferred revenue statuses. Because its procedures follow the FND_API convention, callers should initialize the message list, inspect x_return_status, and honor the commit flag rather than issuing their own commits. As with all documented Receivables group APIs, customers should avoid modifying the package and should rely on the supported public procedures.