Search Results wms_rule_15
Overview
APPS.WMS_RULE_15 is a server-side PL/SQL package within the Oracle Warehouse Management (WMS) module of Oracle E-Business Suite. It is classified under the ETRM as an OTHER API, meaning it is not part of Oracle's published, supported public interface set; it functions as an internal helper package that supports the rule-based logic used by the WMS picking and allocation engine. Its documented dependent, WMS_RULE_PVT, is the private implementation package that underpins the WMS Rules Engine, and WMS_RULE_15 is one of the numbered rule packages that cooperate with that core engine. Rather than defining business policy, the package exposes a generic cursor-management contract — opening, iterating over, and closing result sets — that the rules engine uses to evaluate candidate material and return qualifying rows for downstream allocation logic.
Key Procedures and Functions
- OPEN_CURS — Opens and initialises a cursor handle used in subsequent row-by-row retrieval. It establishes the context in which the rule query is executed against the referenced WMS and inventory tables.
- FETCH_ONE_ROW — Retrieves a single row from the previously opened cursor, allowing the calling process to evaluate one candidate record at a time before deciding whether to continue.
- CLOSE_CURS — Closes the active cursor and releases the associated session resources. Consistent use of this procedure prevents cursor leakage in long-running rule evaluations.
- FETCH_AVAILABLE_ROWS — Bulk-fetches the set of rows that satisfy the rule's availability criteria. This is the primary retrieval entry point for the rule and is the procedure most relevant to downstream consumers.
All four procedures are procedural steps only; no parameter lists are documented in the ETRM metadata, and none should be assumed.
Tables Accessed
The package references seven tables through APPS synonyms, all read-oriented in the context of rule evaluation:
- MTL_ITEM_LOCATIONS — Supplies locator information (subinventory, row, rack, bin) for candidate inventory positions.
- MTL_ONHAND_QUANTITIES_DETAIL — The core on-hand source used to confirm availability before a row is returned to the rules engine.
- MTL_LOT_NUMBERS and MTL_SERIAL_NUMBERS — Provide lot and serial control attributes so the rule can respect lot/serial-based restrictions.
- MTL_SECONDARY_INVENTORIES — Identifies the subinventory attributes (including picking and material status rules) relevant to the candidate rows.
- PJM_PROJECT_PARAMETERS — Supports project, task or contract-related filtering where inventory is project-referenced.
- PLITBLM — A WMS internal PL/SQL table type used to buffer or pass result sets within the rules engine.
Usage Notes
WMS_RULE_15 is invoked almost exclusively through the numbered rule architecture: it is referenced by itself (recursively, via overloaded entry points) and by WMS_RULE_PICK_PKG1, which is the rule pick package that drives the selection of inventory during picking. It is not intended to be called directly from Oracle Forms or from custom concurrent programs, and because it is classified as an OTHER API, Oracle does not guarantee its signature or behaviour across patch levels. Custom code should therefore call the supported WMS public APIs rather than WMS_RULE_15. Given that the package is documented as VALID and includes a package body, it is fully compiled and active in both EBS 12.1.1 and 12.2.2. Developers performing diagnostics on unexpected picking, allocation, or rule-ordering behaviour may review its dependency chain — WMS_RULE_PVT upstream and WMS_RULE_PICK_PKG1 downstream — to trace how candidate inventory rows are assembled and returned.
-
PACKAGE: APPS.WMS_RULE_15
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_RULE_15, status:VALID,
-
PACKAGE: APPS.WMS_RULE_15
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WMS_RULE_15, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_15
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_RULE_15, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_15
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_RULE_15, status:VALID,
-
PACKAGE: APPS.WMS_RULE_15
12.2.2
-
PACKAGE: APPS.WMS_RULE_15
12.1.1
-
PACKAGE: APPS.WMS_RULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_RULE_PVT, status:VALID,
-
PACKAGE: APPS.WMS_RULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WMS_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_PICK_PKG1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_RULE_PICK_PKG1, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_PICK_PKG1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WMS_RULE_PICK_PKG1, status:VALID,
-
PACKAGE: APPS.INV_DETAIL_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_DETAIL_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.INV_DETAIL_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_DETAIL_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.WMS_SEARCH_ORDER_GLOBALS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WMS_SEARCH_ORDER_GLOBALS_PVT, status:VALID,
-
PACKAGE: APPS.WMS_SEARCH_ORDER_GLOBALS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_SEARCH_ORDER_GLOBALS_PVT, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_STATUSES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_STATUSES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.PJM_PROJECT_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJM_PROJECT_PARAMETERS, status:VALID,
-
SYNONYM: APPS.PJM_PROJECT_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PJM_PROJECT_PARAMETERS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.PJM_PROJECTS_ORG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PJM.PJM_PROJECTS_ORG_V, object_name:PJM_PROJECTS_ORG_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.PJM_PROJECTS_ORG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PJM.PJM_PROJECTS_ORG_V, object_name:PJM_PROJECTS_ORG_V, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_PICK_PKG1
12.2.2
-
PACKAGE BODY: APPS.WMS_RULE_PICK_PKG1
12.1.1
-
SYNONYM: APPS.MTL_ONHAND_QUANTITIES_DETAIL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_ONHAND_QUANTITIES_DETAIL, status:VALID,
-
VIEW: APPS.WMS_TRX_DETAILS_TMP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WMS.WMS_TRX_DETAILS_TMP_V, object_name:WMS_TRX_DETAILS_TMP_V, status:VALID,
-
SYNONYM: APPS.MTL_ONHAND_QUANTITIES_DETAIL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_ONHAND_QUANTITIES_DETAIL, status:VALID,
-
VIEW: APPS.WMS_TRX_DETAILS_TMP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WMS.WMS_TRX_DETAILS_TMP_V, object_name:WMS_TRX_DETAILS_TMP_V, status:VALID,
-
SYNONYM: APPS.MTL_ITEM_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_ITEM_LOCATIONS, status:VALID,
-
SYNONYM: APPS.MTL_ITEM_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_ITEM_LOCATIONS, status:VALID,
-
SYNONYM: APPS.MTL_LOT_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_LOT_NUMBERS, status:VALID,
-
SYNONYM: APPS.MTL_LOT_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_LOT_NUMBERS, status:VALID,
-
APPS.WMS_RULE_15 dependencies on WMS_RULE_15
12.2.2
-
SYNONYM: APPS.MTL_SERIAL_NUMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SERIAL_NUMBERS, status:VALID,
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_15
12.2.2
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_15
12.1.1
-
APPS.WMS_RULE_15 dependencies on WMS_RULE_15
12.1.1
-
SYNONYM: APPS.MTL_SERIAL_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SERIAL_NUMBERS, status:VALID,
-
PACKAGE BODY: APPS.WMS_RULE_15
12.2.2
-
PACKAGE BODY: APPS.WMS_RULE_15
12.1.1
-
SYNONYM: APPS.MTL_SECONDARY_INVENTORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SECONDARY_INVENTORIES, status:VALID,
-
SYNONYM: APPS.MTL_SECONDARY_INVENTORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SECONDARY_INVENTORIES, status:VALID,
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_1
12.1.1
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_1
12.2.2
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_14
12.1.1
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_6
12.1.1
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_14
12.2.2
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_6
12.2.2
-
APPS.WMS_RULE_PICK_PKG1 dependencies on WMS_RULE_16
12.1.1