Results for “inventory”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.PO_WF_PO_CHARGE_ACC package is a PL/SQL workflow utility that supports the Oracle Purchasing approval and document management flow in Oracle E-Business Suite 12.1.1 and 12.2.2. Its primary business function is to determine and validate the charge account that will be applied to a purchasing document line or distribution during workflow processing. Depending on the destination type of the transaction, the package builds the appropriate charge account for expense, inventory, or shop floor (WIP) destinations, and validates that the resulting accounting flexfield combination is valid before the workflow proceeds.

The package is declared with AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user and relies on APPS synonyms to access the underlying tables. The header comment (POXWPCAS.pls, 120.4) and the original authorship note (Imran Ali, 1997) confirm this is a long-standing, core Purchasing component that has been maintained across multiple EBS releases.

Key Procedures and Functions

The package exposes 18 documented procedures and functions. The central routines include:

Tables Accessed

The package references the following tables through APPS synonyms:

Usage Notes

PO_WF_PO_CHARGE_ACC is invoked as part of the Oracle Purchasing workflow, specifically during activities that require a charge account to be derived and validated before an order can be approved or processed. The procedures are designed to be called as workflow function activities, receiving itemtype, itemkey, actid, and funcmode parameters and returning a result value such as EXPENSE, INVENTORY, SHOP_FLOOR, SUCCESS, or FAILURE. Two other packages reference this package, indicating it is a shared dependency within the Purchasing workflow framework. Customizations that modify charge account derivation should account for the package's reliance on item attributes and system parameters, and the DEBUG_ON/DEBUG_OFF routines are useful when diagnosing account generation failures.