Search Results find_approval_list




Overview

PO_APPROVAL_LIST_WF1S is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that provides the workflow callback procedures supporting the requisition and purchase order approval list processing within the Web Requisition and Purchasing approval workflows. Its header, POXWAL1S.pls, dates to the original Web Requisition 4.0 approval extension, and the package remains a standard component in both EBS 12.1.1 and 12.2.2. The package is declared AUTHID CURRENT_USER, so its unqualified references to workflow and purchasing objects resolve through the invoking user's privileges and APPS synonyms.

Functionally, the package determines whether a preparer-defined approval list exists for a document, locates and assigns that list to the workflow item, constructs a default routing list when none exists, and rebuilds lists whenever the approval path must be recalculated. It also maintains the approval action history and resolves the next approver and final approval response. Because the procedures are designed as Standard Oracle Workflow function activities rather than as general-purpose APIs, each accepts the workflow standard signature of itemtype, itemkey, actid, and funcmode, and returns a result value consumed by the workflow engine to direct the process branch.

Key Procedures and Functions

The documented interface exposes twenty procedures and functions organized around four concerns.

Tables Accessed

The package reads and writes the following objects through APPS synonyms.

  • PO_DOCUMENT_TYPES — supplies document type attributes used to qualify the approval routing.
  • WF_ITEMS and WF_ACTIVITIES — provide workflow item state and activity definitions driving callback execution.
  • WF_NOTIFICATIONS — records the approval notifications sent to approvers and their responses.
  • WF_PROCESS_ACTIVITIES — supports process-level activity lookup during list rebuilds.
  • PLITBLM — the PL/SQL index-by table type used for in-memory collections passed between the package and its callers.

Usage Notes

PO_APPROVAL_LIST_WF1S is invoked by the Oracle Workflow engine as function activities within the requisition and purchasing approval workflows, not directly from forms or concurrent programs. The workflow process definition references each procedure by name; the engine passes itemtype, itemkey, actid, and funcmode, and interprets the returned result to select the next branch. The package is referenced by one other package, and customization should be limited to wrapping or extending the documented entry points, since the procedures depend on the workflow item context being established before they are called. Direct invocation from custom code is possible only when the identical workflow parameters and item context are supplied.