Search Results rcv_wsh_interface_pkg
Overview
APPS.RCV_WSH_INTERFACE_PKG is a PL/SQL package in Oracle E-Business Suite Receiving (RCV) and Shipping Execution (WSH) that coordinates the movement of shipping and receiving data between the Warehouse Management / Shipping tables and the Receiving open interface. Its principal responsibility is to convert confirmed shipping transaction data—delivery details, shipped quantities, lot and serial information—into receiving interface records so that receipt transactions can be processed by the standard Receiving Open Interface (ROI) while preserving shipment-receipt traceability.
The package is declared AUTHID CURRENT_USER, which means it executes under the privileges of the calling user rather than the package owner. This design supports direct invocation from concurrent programs, forms, and back-end processes running as APPS. It is referenced by one other package, indicating it is part of a controlled call hierarchy rather than a standalone user-facing API.
Key Procedures and Functions
The package exposes eleven documented procedures. Each is summarized below.
- CREATE_DELIVERY_DETAILS — Populates delivery detail records in preparation for creating receiving interface rows. Inputs include the return organization, interface transaction identifier, lot and serial usage flags, ship-to identifier, and site-use identifier.
- INTERFACE_TO_RCV — Transfers shipment data for a given delivery into the receiving interface, returning a status through the
p_return_statusoutput parameter. - INVOKE_RTP — Invokes the Receiving Transaction Processor (RTP) for a specific interface group, returning a processing status.
- PROCESS_TXN — The procedure most commonly searched for. It drives processing for a given header identifier and returns a status. It functions as the orchestrating entry point that ties together the interface population and RTP invocation steps for a shipment header.
- LOAD_MTL_INTERFACES — Loads inventory open interface rows derived from delivery detail and header information.
- LOAD_RCV_INTERFACES — Loads receiving interface rows for a delivery against a given interface group.
- LOAD_LOT_SERIAL_INTERFACES — Loads lot and serial number interface records, keyed by source, delivery detail, and parent identifier.
- PERFORM_POST_TM_UPDATES — Executes post-transaction updates for a given Transportation Management source and delivery.
- ADJUST_RCV_QUANTITIES — Reconciles receiving quantities against shipped quantities, unit of measure codes, and backup return-to-vendor identifiers used by the RTV project phase 2 logic.
- CLEAN_UP_AFTER_RTP — Removes residual staging data for a delivery and interface group once the Receiving Transaction Processor has completed.
- CANCEL_RTV_LINES — Cancels return-to-vendor interface lines using a collection of interface transaction identifiers declared with the
RTI_id_tblindex-by table type.
Tables Accessed
The package reads from and writes to a broad set of Receiving, Shipping, Inventory, and Purchasing tables, all through APPS synonyms:
- WSH_DELIVERY_DETAILS — Source of shipped delivery detail rows driving interface creation.
- RCV_TRANSACTIONS_INTERFACE and MTL_TRANSACTIONS_INTERFACE — Target open-interface staging tables populated for processing.
- MTL_MATERIAL_TRANSACTIONS and MTL_MATERIAL_TRANSACTIONS_S — Inventory transaction results and their sequence source.
- MTL_TRANSACTION_LOTS_INTERFACE, MTL_TRANSACTION_LOTS_TEMP, MTL_SERIAL_NUMBERS, MTL_SERIAL_NUMBERS_INTERFACE, and MTL_SERIAL_NUMBERS_TEMP — Lot and serial control staging and validation.
- MTL_SYSTEM_ITEMS, MTL_PARAMETERS, and MTL_UNITS_OF_MEASURE — Master data for item validation, organization defaults, and UOM conversion.
- AP_SUPPLIER_SITES_ALL and PO_LINES_ALL — Supplier site and purchase order line context for receipt and RTV processing.
Usage Notes
RCV_WSH_INTERFACE_PKG is typically invoked indirectly. In standard shipping flows, shipment confirmation triggers the creation of receiving records for in-transit shipments; the RTP concurrent program then processes the staged rows. Custom code and extensions should call PROCESS_TXN when synchronizing a shipment header into receiving, and INVOKE_RTP when an interface group must be submitted programmatically.
Because the package uses AUTHID CURRENT_USER, the calling session must have the appropriate APPS-privileged grants on the referenced synonyms. The g_asn_debug package-level variable, initialized from asn_debug.is_debug_on, indicates that debug logging is governed by the ASN debugging utility, which should be enabled during troubleshooting. Callers should always inspect the returned p_return_status before committing, since these procedures stage data rather than commit it, leaving transaction control to the caller or the concurrent manager.
-
PACKAGE: APPS.RCV_WSH_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:RCV_WSH_INTERFACE_PKG, status:VALID,
-
SYNONYM: APPS.RCV_SERIALS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_SERIALS_INTERFACE, status:VALID,
-
PACKAGE BODY: APPS.RCV_WSH_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:RCV_WSH_INTERFACE_PKG, status:VALID,
-
PACKAGE: APPS.RCV_WSH_INTERFACE_PKG
12.2.2
-
PACKAGE: APPS.ASN_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ASN_DEBUG, status:VALID,
-
SYNONYM: APPS.RCV_LOTS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_LOTS_INTERFACE, status:VALID,
-
PACKAGE: APPS.INV_TRX_RELIEF_C_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_TRX_RELIEF_C_PVT, status:VALID,
-
PACKAGE: APPS.WMS_RETURN_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_RETURN_SV, status:VALID,
-
PACKAGE: APPS.INV_CYC_LOVS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_CYC_LOVS, status:VALID,
-
SYNONYM: APPS.WSH_SERIAL_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_SERIAL_NUMBERS, status:VALID,
-
PACKAGE: APPS.FND_TRANSACTION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_TRANSACTION, status:VALID,
-
PACKAGE: APPS.INV_TRANSACTION_FLOW_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_TRANSACTION_FLOW_PUB, status:VALID,
-
PACKAGE: APPS.WSH_CONTAINER_ACTIONS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_CONTAINER_ACTIONS, status:VALID,
-
PACKAGE: APPS.INV_TXN_MANAGER_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_TXN_MANAGER_PUB, status:VALID,
-
SYNONYM: APPS.MTL_SERIAL_NUMBERS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SERIAL_NUMBERS_INTERFACE, status:VALID,
-
PACKAGE: APPS.WSH_INTERFACE_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_INTERFACE_GRP, status:VALID,
-
SYNONYM: APPS.RCV_INTERFACE_GROUPS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_INTERFACE_GROUPS_S, status:VALID,
-
SYNONYM: APPS.RCV_TRANSACTIONS_INTERFACE_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_TRANSACTIONS_INTERFACE_S, status:VALID,
-
PACKAGE: APPS.WSH_INTEGRATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_INTEGRATION, status:VALID,
-
PACKAGE BODY: APPS.WSH_SHIP_CONFIRM_ACTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_SHIP_CONFIRM_ACTIONS, status:VALID,
-
PACKAGE: APPS.WSH_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_INTERFACE, status:VALID,
-
PACKAGE: APPS.PO_UOM_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_UOM_S, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTION_LOTS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTION_LOTS_INTERFACE, status:VALID,
-
PACKAGE: APPS.INV_RESERVATION_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_RESERVATION_PUB, status:VALID,
-
PACKAGE: APPS.WSH_WV_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_WV_UTILS, status:VALID,
-
SYNONYM: APPS.RCV_TRANSACTIONS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_TRANSACTIONS_INTERFACE, status:VALID,
-
VIEW: APPS.CST_ORGANIZATION_DEFINITIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BOM.CST_ORGANIZATION_DEFINITIONS, object_name:CST_ORGANIZATION_DEFINITIONS, status:VALID,
-
PACKAGE: APPS.INV_QUANTITY_TREE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PUB, status:VALID,
-
PACKAGE: APPS.WSH_GLBL_VAR_STRCT_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_GLBL_VAR_STRCT_GRP, status:VALID,
-
PACKAGE: APPS.INV_CACHE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_CACHE, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_LEGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_LEGS, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTIONS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTIONS_INTERFACE, status:VALID,
-
SYNONYM: APPS.MTL_SERIAL_NUMBERS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SERIAL_NUMBERS_TEMP, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.AP_SUPPLIER_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SUPPLIER_SITES_ALL, status:VALID,
-
SYNONYM: APPS.WSH_DELIVERY_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_DELIVERY_DETAILS, status:VALID,
-
SYNONYM: APPS.WSH_TRIP_STOPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_TRIP_STOPS, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTION_LOTS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTION_LOTS_TEMP, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS_S, status:VALID,
-
PACKAGE: APPS.INV_RESERVATION_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_RESERVATION_GLOBAL, status:VALID,
-
SYNONYM: APPS.WMS_LICENSE_PLATE_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WMS_LICENSE_PLATE_NUMBERS, status:VALID,
-
PACKAGE: APPS.PO_CORE_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_CORE_S, status:VALID,
-
SYNONYM: APPS.WSH_NEW_DELIVERIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WSH_NEW_DELIVERIES, status:VALID,
-
SYNONYM: APPS.MTL_SERIAL_NUMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SERIAL_NUMBERS, status:VALID,
-
APPS.RCV_WSH_INTERFACE_PKG dependencies on RCV_WSH_INTERFACE_PKG
12.2.2
-
APPS.WSH_SHIP_CONFIRM_ACTIONS dependencies on RCV_WSH_INTERFACE_PKG
12.2.2
-
PACKAGE: APPS.PO_MESSAGE_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_MESSAGE_S, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.RCV_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_TRANSACTIONS, status:VALID,
-
PACKAGE: APPS.WSH_UTIL_CORE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WSH_UTIL_CORE, status:VALID,