Results for “cancel_staged_reservation”
10 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
WSH_USA_INV_PVT is a private (PVT) PL/SQL package in the APPS schema that belongs to the Oracle Warehouse Management and Shipping (WSH) "USA" family of packages — the set of modules prefixed WSH_USA_ that support material handling, putaway, picking, and inventory reservation processing within Oracle E-Business Suite shipping and receiving flows. The package name indicates its focus: "INV" denotes inventory/reservation interaction, while "USA" anchors it to the WSH Unified Shipping Architecture (USA) framework used for in-transit and inbound/outbound staging operations.
The package's primary business function is to manage inventory reservations tied to delivery details and pick lists. It mediates between WSH delivery/pick-list structures and Oracle Inventory reservation APIs, allowing the shipping application to create, query, update, split, and cancel reservations without directly calling the Inventory reservation global layer. It also supports putaway-related logic and serial number inventory updates for staged goods.
Key Procedures and Functions
The package exposes a documented set of 15 procedures and functions. Their purposes are:
- HANDLES – Returns a flag indicating whether the package handles a given operation or context, used by the WSH USA action dispatcher.
- GET_TOTAL_RESERVED_QUANTITY – Returns the total quantity currently reserved for a delivery detail or item.
- QUERY_RESERVATIONS – Retrieves reservation records for a specified inventory/delivery context.
- CREATE_RESERVATION / UPDATE_RESERVATION / DELETE_RESERVATION – Manage the reservation lifecycle against Inventory.
- CHECK_ALLOCATIONS – Validates whether allocations exist or are valid before proceeding with reservation changes.
- CANCEL_STAGED_RESERVATION / CANCEL_NONSTAGED_RESERVATION – Cancel reservations depending on whether goods are in a staged location.
- SPLIT_RESERVATION – Splits an existing reservation across quantities or locations.
- UPDATE_SERIAL_NUMBERS – Updates serial number associations for reserved/staged inventory.
- UPDATE_INVENTORY_INFO – Refreshes inventory-related information tied to a reservation or delivery detail.
- GET_DETAILED_QUANTITY – Returns detailed quantity breakdowns for a reservation context.
- IS_MO_TYPE_PUTAWAY – Determines whether the current operation is a manufacturing-order-type putaway.
- GET_PUTAWAY_DETAIL_ID – Resolves the putaway detail identifier used in putaway processing.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- WSH_DELIVERY_DETAILS – The central WSH delivery line table; reservation quantities and status are linked here.
- MTL_MATERIAL_TRANSACTIONS_TEMP – Used by Inventory to stage material transactions generated during reservation/putaway changes.
- MTL_SYSTEM_ITEMS – Provides item attribute validation (reservable, serial-controlled).
- OE_ORDER_LINES_ALL / OE_SETS – Source order data for reservations created against sales order demand.
- WSH_NEW_DELIVERIES – Delivery header context for reservations and pick lists.
- PLITBLM – A WSH PL/SQL table type used for in-memory collection of line identifiers.
Usage Notes
WSH_USA_INV_PVT is an internal/private package and is not intended for direct customer invocation. It is called by six higher-level WSH packages, including WSH_DELIVERY_DETAILS_ACTIONS, WSH_INTERFACE, WSH_PICK_LIST, WSH_USA_ACTIONS_PVT, WSH_USA_CATEGORIES_PVT, and WSH_USA_QUANTITY_PVT, and by itself recursively. It depends on FND_API for the standard API error-handling framework and on INV_RESERVATION_GLOBAL for the actual Inventory reservation calls.
Invocation typically occurs indirectly through shipping execution forms (pick release, ship confirm, manage delivery), through WSH interface/concurrent programs that process delivery and trip data, and through WSH USA action-processing logic. Customizations should call the public WSH or INV APIs rather than this package directly, since its signature is unsupported and subject to change between 12.1.1 and 12.2.2.