Search Results insert_line_history




Overview

APPS.AP_IAW_PKG is the core PL/SQL package that implements Invoice Approval Workflow (IAW) processing within Oracle Payables. IAW is the framework that routes invoices through a configurable approval hierarchy before they can be paid, and this package encapsulates the business logic that drives that routing, evaluates approval requirements, records approver decisions, and maintains the approval audit trail. The package is classified as an "OTHER" API, meaning it is internal infrastructure rather than a formally published open interface, and it operates within the APPS schema against a set of Payables approval tables.

Functionally, AP_IAW_PKG sits between the Invoice Approval Workflow engine and the underlying Payables data model. It determines whether a given invoice header or line requires approval, identifies the appropriate approver (or list of approvers), dispatches and responds to workflow notifications, raises workflow events, and persists approval and rejection history. Because invoice approval is a mandatory control in most Payables implementations, this package participates directly in the invoice validation lifecycle and in the audit trail that supports segregation-of-duties and compliance requirements.

Key Procedures and Functions

The package exposes 53 documented procedures and functions. The most significant are grouped below by purpose.

Tables Accessed

Via APPS synonyms, the package reads and writes the following tables.

Usage Notes

AP_IAW_PKG is invoked indirectly rather than directly by end users. It is driven by the Invoice Approval Workflow, Oracle Workflow's notification and event infrastructure, and the AME engine during invoice validation and approval cycles. It is also triggered from concurrent processing and from the invoice entry forms when an invoice is submitted, cancelled, or subjected to a hold change.

Because the package is documented as an internal package with zero dependent packages, customers and integrators should not call its procedures directly in custom code. Extensions to approval behavior are implemented through supported AME rule configuration and approved workflow customization, not by wrapping these procedures. Any direct modification risks corrupting the approval history tables, which are audit-sensitive, and is unsupported. The package is listed as VALID in the ETRM metadata and is present in both 12.1.1 and 12.2.2 environments.