Search Results oe_rma_wf
Overview
OE_RMA_WF is a PL/SQL package in the APPS schema that provides the workflow integration layer for Oracle Order Management's Return Material Authorization (RMA) process. In Oracle EBS 12.1.1 and 12.2.2, RMA transactions are driven by Oracle Workflow, which coordinates the sequence of activities a return passes through — from authorization, through receipt of goods, to closure. OE_RMA_WF supplies the programmatic plumbing that connects Order Management's RMA data model to the Workflow engine, allowing RMA process activities to create shipments, evaluate line-level eligibility conditions, wait on receiving events, and update flow status codes as processing succeeds, fails, or encounters mixed results. The package is classified as an OTHER API rather than a formal public interfaces API, indicating that it is an internal support package intended for use by seeded RMA workflow definitions and related Order Management components rather than as a contract for external customer extensions.
Key Procedures and Functions
The documented package exposes six procedures and functions, each aligned to a distinct step or decision point in the RMA workflow:
- CREATE_OUTBOUND_SHIPMENT — Creates the outbound shipment required when an RMA is being fulfilled by shipping replacement or exchange goods back to the customer. Workflow invokes this activity to generate the delivery associated with the return line.
- IS_RETURN_LINE — A condition-style function used by workflow decision branches to determine whether the line under process is a return line, directing execution down the appropriate RMA path.
- IS_LINE_RECEIVABLE — Evaluates whether a given return line is eligible to be received, supporting workflow branching that distinguishes lines requiring physical receipt from those that do not.
- WAIT_FOR_RECEIVING — Pauses the workflow until the receiving transaction for the return is completed, keeping the RMA process synchronized with Oracle Receiving activity.
- UPD_FLOW_STATUS_CODE_REJ — Updates the workflow/flow status code to reflect a rejected outcome, recording the result of a failed or rejected processing step on the RMA.
- UPD_FLOW_STATUS_CODE_MIX_REJ — Updates the flow status code to represent a mixed rejected outcome, used when some but not all lines in a processing group are rejected.
Tables Accessed
The package reads and writes a focused set of Order Management and Workflow tables through APPS synonyms:
- MTL_SYSTEM_ITEMS — Referenced to validate item attributes such as returnable and receivable flags that influence RMA line processing.
- OE_ORDER_LINES and OE_ORDER_LINES_ALL — The core RMA line data, used to identify return lines, determine receivable status, and drive shipment creation.
- WF_ITEM_ACTIVITY_STATUSES — Stores the per-activity status of the workflow item, and is updated by the flow status code procedures and read when waiting on activities.
- WF_PROCESS_ACTIVITIES — Provides the workflow activity definitions against which RMA process steps and their outcomes are tracked.
Usage Notes
OE_RMA_WF is invoked indirectly through the seeded RMA order workflow rather than called directly by end users. The workflow engine executes its procedures and functions as activity and condition functions when an RMA order is processed through Order Management. CREATE_OUTBOUND_SHIPMENT and WAIT_FOR_RECEIVING run as workflow activities, while IS_RETURN_LINE and IS_LINE_RECEIVABLE act as branching conditions. The two flow status update routines are called as result-handling steps. The ETRM record notes that the object is VALID and that no other packages reference it, confirming that it is a leaf-level implementation package behind the RMA workflow. Because it is not a formally published API, customizations should avoid direct invocation; extensions to RMA behavior are more safely implemented through supported Order Management APIs, workflow attribute configuration, or custom workflow activities rather than by modifying or calling OE_RMA_WF directly. In upgrade and testing contexts, understanding this package helps diagnose why an RMA workflow item stalls — for example, at WA_FOR_RECEIVING — or why a flow status code indicates rejection after mixed-line processing.
-
PACKAGE: APPS.OE_RMA_WF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_RMA_WF, status:VALID,
-
PACKAGE: APPS.OE_RMA_WF
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_RMA_WF, status:VALID,
-
PACKAGE BODY: APPS.OE_RMA_WF
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_RMA_WF, status:VALID,
-
PACKAGE BODY: APPS.OE_RMA_WF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_RMA_WF, status:VALID,
-
PACKAGE: APPS.OE_RMA_WF
12.2.2
-
PACKAGE: APPS.OE_RMA_WF
12.1.1
-
PACKAGE BODY: APPS.OE_RMA_WF
12.1.1
-
PACKAGE BODY: APPS.OE_RMA_WF
12.2.2
-
PACKAGE: APPS.OE_ORDER_WF_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_WF_UTIL, status:VALID,
-
PACKAGE: APPS.OE_ORDER_WF_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_WF_UTIL, status:VALID,
-
PACKAGE: APPS.OE_STANDARD_WF
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_STANDARD_WF, status:VALID,
-
PACKAGE: APPS.OE_STANDARD_WF
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_STANDARD_WF, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PVT, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PVT, status:VALID,
-
PACKAGE: APPS.OE_LINE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_UTIL, status:VALID,
-
PACKAGE: APPS.OE_LINE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_LINE_UTIL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES, status:VALID,
-
APPS.OE_RMA_WF dependencies on OE_RMA_WF
12.1.1
-
APPS.OE_RMA_WF dependencies on OE_RMA_WF
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OE_GLOBALS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_GLOBALS, status:VALID,
-
SYNONYM: APPS.WF_PROCESS_ACTIVITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_PROCESS_ACTIVITIES, status:VALID,
-
PACKAGE: APPS.OE_GLOBALS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_GLOBALS, status:VALID,
-
SYNONYM: APPS.WF_ITEM_ACTIVITY_STATUSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WF_ITEM_ACTIVITY_STATUSES, status:VALID,
-
PACKAGE: APPS.OE_ORDER_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
APPS.OE_RMA_WF dependencies on WF_CORE
12.2.2
-
PACKAGE: APPS.OE_ORDER_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_ORDER_PUB, status:VALID,
-
APPS.OE_RMA_WF dependencies on WF_CORE
12.1.1
-
PACKAGE: APPS.OE_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
PACKAGE: APPS.OE_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_DEBUG_PUB, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES_ALL, status:VALID,
-
APPS.OE_RMA_WF dependencies on OE_STANDARD_WF
12.2.2
-
APPS.OE_RMA_WF dependencies on STANDARD
12.2.2
-
PACKAGE: APPS.WF_CORE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_CORE, status:VALID,
-
PACKAGE: APPS.WF_CORE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_CORE, status:VALID,
-
PACKAGE: APPS.WF_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_ENGINE, status:VALID,
-
PACKAGE: APPS.WF_ENGINE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_ENGINE, status:VALID,
-
APPS.OE_RMA_WF dependencies on OE_STANDARD_WF
12.1.1
-
APPS.OE_RMA_WF dependencies on STANDARD
12.1.1
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1