Search Results df_validate_flex
Overview
APPS.OM_REPORTS_COMMON_PKG is a shared PL/SQL utility package in the Oracle Order Management module of Oracle E-Business Suite. As its name indicates, the package consolidates reusable logic consumed by Order Management reports, concurrent programs, and inquiry screens rather than by transactional APIs. It has no single business process owner; instead it provides a library of small helper functions that report developers invoke to resolve derived values consistently across multiple report definitions.
The package belongs to the "OTHER" API classification in the ETRM 12.2.2 inventory, meaning Oracle does not publish it as a supported public interface with compatibility guarantees. It is nonetheless widely referenced inside the application, and the documented metadata records that it is invoked by at least one other package in the same schema. The header comment in the body carries a version string dated 2003, indicating that the core logic has been stable since the 11i era and was carried forward largely unchanged into 12.1.1 and 12.2.2.
The eight documented program units fall into three functional groups: Order Management reporting helpers, descriptive flexfield (DFF) report utilities, and inventory attribute lookups. The user search term "CLEAR ANS" is unrelated to any exported program unit in the package; no procedure or function by that name exists in the documented interface.
Key Procedures and Functions
- OEXOEORS_GET_WORKFLOW_DATE — Returns a date derived from Oracle Workflow activity status records for an order line. It queries the workflow tables for the RMA_WAIT_FOR_INSPECTION activity on item type OEOL and returns the activity end date, defaulting to the system date when no row exists or an error occurs. This supports return-authorization reporting where the inspection completion date is required but may not yet be recorded.
- OEXOESOS_LINE_AMOUNT_TOTAL — Computes the total selling value of the lines belonging to a given order header. Return-category lines are multiplied by negative one so that credits reduce the displayed total, and lines already represented in the sales credits table are excluded to avoid double counting.
- OEXCRDIS_GET_LOT_SERIAL_CTL — Returns a numeric code describing the lot and serial control configuration of an inventory item in a specific organization. The encoding distinguishes the combinations of lot control, serial control, both, or neither, allowing reports to branch on a single value instead of querying item attributes repeatedly.
- DF_VALIDATE_FLEX, DF_SET_CONTEXT, DF_SET_COLUMN_VALUE, DF_CONCATENATED_VALUES, DF_CONCATENATED_DESCRIPTIONS — The descriptive flexfield utility set. These routines validate a flexfield structure, establish the flexfield context, populate individual segment column values, and assemble concatenated segment values or concatenated segment descriptions for display in report output.
Tables Accessed
- WF_ITEM_ACTIVITY_STATUSES and WF_PROCESS_ACTIVITIES — joined to resolve the item key, item type, and activity name to an activity end date for the RMA inspection wait activity.
- OE_ORDER_LINES_ALL — read to obtain ordered quantity, unit selling price, and line category code for header-level value aggregation.
- OE_SALES_CREDITS — used as a subquery filter so that lines already credited are omitted from the line amount total.
- MTL_SYSTEM_ITEMS — read to retrieve lot control code and serial number control code for an item and organization combination.
Usage Notes
The package is typically invoked from Order Management report and concurrent program logic, from inquiry forms that require derived totals or workflow dates, and from custom report code in the APPS schema. Because all of these programs are functions, they can be called directly inside SQL statements or PL/SQL blocks. The Workflow date and lot/serial control functions include exception handlers that substitute safe default values rather than propagating errors, so callers receive a usable result even when the underlying data is absent. Customers should treat the package as internal rather than a supported extension point and confirm behavior against their specific patch level before depending on it in custom code.
-
PACKAGE BODY: APPS.OM_REPORTS_COMMON_PKG
12.1.1
-
PACKAGE: APPS.OM_REPORTS_COMMON_PKG
12.2.2
-
PACKAGE: APPS.OM_REPORTS_COMMON_PKG
12.1.1
-
PACKAGE BODY: APPS.OM_REPORTS_COMMON_PKG
12.2.2
-
APPS.OM_REPORTS_COMMON_PKG dependencies on FND_FLEX_DESCVAL
12.1.1
-
APPS.OM_REPORTS_COMMON_PKG dependencies on FND_FLEX_DESCVAL
12.2.2