Search Results validate_workitem
Overview
XDP_OA_UTIL is a utility PL/SQL package owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the Oracle Advanced Supply Chain Planning / order fulfillment family of packages (the XDP_ prefix) and is classified in the ETRM repository as an API utility. Its principal responsibility is to support the integration between Oracle Order Management order lines and the work item processing model used by fulfillment and provisioning flows. The package creates and maintains work items, links them to order lines and order headers, resolves order relationships, and exposes lookup routines that return order, line, and work item records to calling programs.
A distinguishing characteristic of this package is that it is declared with AUTHID CURRENT_USER, meaning its unqualified references to database objects resolve against the privilege set of the invoking user rather than against the APPS schema owner. Callers must therefore have appropriate grants, typically through APPS synonyms, on the underlying XDP tables. The package header carries a version marker of 11.5, indicating that its interface has been stable across multiple EBS releases.
Key Procedures and Functions
The documented API surface comprises sixteen procedures and functions. The Add_WI_toLine function is overloaded: one variant accepts a work item name and version, the other accepts a numeric work item ID. Both attach a work item to a specific order line, create the associated work item parameter list in the database from order line information, and return the runtime work item instance ID. Optional arguments cover provisioning date and sequence, priority, due date, and customer required date.
- VALIDATE_WORKITEM — verifies that a given work item definition is valid for use before it is attached to an order line.
- SET_ORDER_RELATIONSHIPS — establishes relationships between order headers, such as parent-child or dependency links.
- SET_WORKITEM_RELATIONSHIPS — records dependencies between work items, enabling sequencing of fulfillment activity.
- GET_ORDER_HEADER — retrieves header-level order attributes.
- GET_ORDER_LINES — returns the set of lines belonging to an order.
- GET_LINEREC — returns a single line record for a supplied line identifier.
- GET_WORKITEMREC — returns the attributes of a single work item instance.
- GET_ORDER_WORKITEMS — returns all work items associated with an order.
- FIND_ORDERS — the routine most commonly located by keyword searches; performs a search for orders matching supplied criteria and is typically used to locate an order before lines or work items are queried.
- FIND_LINES — parallel search over order lines.
- FIND_WORKITEMS — parallel search over work item instances.
- COPY_LINE — duplicates an existing order line, including its associated work item linkage.
Tables Accessed
The package reads and writes the core XDP fulfillment data model. XDP_ORDER_HEADERS and XDP_ORDER_LINE_ITEMS store the order and line entities, supported by XDP_ORDER_LINEITEM_DETS for detailed line attributes and XDP_ORDER_RELATIONSHIPS for inter-order links. Work items reside in XDP_WORKITEMS, with parameters in XDP_WI_PARAMETERS and inter-work-item dependencies in XDP_WI_RELATIONSHIPS. XDP_FULFILL_WORKLIST and its _S sequence object are used to allocate worklist runtime identifiers. DUAL and DBMS_SQL are referenced for scalar and dynamic SQL operations, and PLITBLM supplies the PL/SQL indexed table type used by the find and get routines to return result sets. Three other packages in the APPS schema call XDP_OA_UTIL.
Usage Notes
XDP_OA_UTIL is an internal utility rather than a public, supported API. It is normally invoked indirectly from Oracle Order Management forms, from fulfillment-related concurrent programs, or from custom PL/SQL that extends order-to-work-item provisioning. Because it runs AUTHID CURRENT_USER, direct invocation from custom code should be done as APPS or from a schema with equivalent grants. The find routines are the entry points for locating orders, lines, or work items, after which the corresponding get routines and the Add_WI_toLine or Copy_Line functions are used to modify the data. Callers should treat the interface as release-sensitive between 12.1.1 and 12.2.2 and validate behavior through testing before relying on it in custom extensions.
-
PACKAGE: APPS.XDP_OA_UTIL
12.2.2
-
PACKAGE: APPS.XDP_OA_UTIL
12.1.1
-
PACKAGE BODY: APPS.XDP_OA_UTIL
12.2.2
-
PACKAGE BODY: APPS.XDP_OA_UTIL
12.1.1
-
PACKAGE BODY: APPS.XDP_ORDER
12.1.1
-
PACKAGE BODY: APPS.XDP_ORDER
12.2.2
-
APPS.XDP_ORDER dependencies on XDP_ORDER
12.2.2
-
APPS.XDP_ORDER dependencies on XDP_ORDER
12.1.1
-
APPS.XDP_ORDER dependencies on FND_LOG
12.2.2
-
APPS.XDP_ORDER dependencies on FND_LOG
12.1.1