Search Results call_workflow
Overview
The APPS.WMS_WCS_DEVICE_GRP package body is a Warehouse Management System (WMS) Warehouse Control System (WCS) integration package that manages the interaction between Oracle E-Business Suite and material handling equipment such as RF devices, scanners, and automated conveyor controllers. Classified as a GRP (group) API in ETRM 12.2.2, it encapsulates the device-level transaction logic required to sign devices on and off, validate device authorization, dispatch requests to the WCS layer, and translate WCS responses back into EBS state changes. The package is owned by APPS and resides in the WMS schema family, operating alongside the WMS_Task_Dispatch_Device API, which it calls to resolve device metadata.
Key Procedures and Functions
- DEVICE_SIGN_ON — Validates a device against
WMS_Task_Dispatch_Device.get_device_info. If the device is already signed on, the procedure raises the errorWMS_DEVICE_ALREADY_SIGNEDand sets the open APIx_return_statustoE. If the device is valid (S), it invokesWMS_Task_Dispatch_Device.insert_deviceand returns a success status. The procedure is declared withPRAGMA AUTONOMOUS_TRANSACTIONand supports debug logging via theINV_DEBUG_TRACEprofile option. - DEVICE_SIGN_OFF — Terminates an active device session, releasing the device for reuse and appropriately updating the device request state.
- SINGLE_DEVICE_SIGN_OFF — Performs sign-off for a single identified device, typically invoked to force-release a device from a session without affecting other devices in the group.
- DEVICE_REQUEST — Submits a request to the WCS, creating or updating a record in
WMS_DEVICE_REQUESTSthat represents the unit of work the device must process. - IS_WCS_ENABLED — Returns whether WCS integration is active for the current operating context, allowing callers to short-circuit WCS logic when the feature is disabled.
- PROCESS_RESPONSE — Consumes a WCS response message (
MSG_COMPONENT_LOOKUP_TYPE) and applies the resulting state transition. This procedure is the counterpart invoked aftercall_workflowfor asynchronous response handling. - call_workflow — Accepts a device identifier and a response record, and dispatches the WCS workflow processing for that device. This is the entry point most commonly referenced by callers searching for the
call_workflowtoken.
Tables Accessed
- WMS_DEVICE_REQUESTS — The primary transactional table. Reads and writes here track outstanding work dispatched to devices and their completion status, driving sign-on/sign-off and request lifecycle logic.
- MTL_TRANSACTION_REASONS — Referenced for reason code validation, ensuring device-driven inventory transactions carry a legitimate reason identifier prior to posting.
Usage Notes
The package is invoked from WMS mobile/RF forms, WCS integration concurrent programs, and custom code that requires direct device session control. It is referenced by four other packages in the ETRM inventory, indicating it is a shared service layer rather than a standalone entry point. Because DEVICE_SIGN_ON declares PRAGMA AUTONOMOUS_TRANSACTION, callers must commit or roll back sign-on work explicitly; the autonomous transaction insulates sign-on state from the surrounding transaction context. Standard Oracle EBS open API conventions apply: inspect x_return_status, then x_msg_count and x_msg_data for error detail. When integrating custom code, invoke IS_WCS_ENABLED first to avoid unnecessary WCS calls in non-WCS installations. Debug tracing can be enabled by setting the INV_DEBUG_TRACE profile option, which routes messages through the package's LOG procedure.
-
APPS.WMS_WCS_DEVICE_GRP SQL Statements
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP SQL Statements
12.2.2
-
PACKAGE BODY: APPS.WMS_WCS_DEVICE_GRP
12.2.2
-
PACKAGE BODY: APPS.WMS_WCS_DEVICE_GRP
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP dependencies on FND_MSG_PUB
12.2.2
-
PACKAGE: APPS.GHR_PDI_API
12.2.2
-
PACKAGE: APPS.GHR_PDI_API
12.1.1
-
APPS.GHR_API dependencies on GHR_PA_ROUTING_HISTORY
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP dependencies on FND_MSG_PUB
12.1.1
-
APPS.GHR_API dependencies on GHR_PA_ROUTING_HISTORY
12.2.2
-
APPS.GHR_API dependencies on GHR_PA_ROUTING_HISTORY
12.2.2
-
PACKAGE BODY: APPS.GHR_PDI_API
12.1.1
-
PACKAGE BODY: APPS.GHR_PDI_API
12.2.2
-
APPS.GHR_API dependencies on GHR_PA_ROUTING_HISTORY
12.1.1
-
PACKAGE: APPS.QA_SS_CORE
12.1.1
-
PACKAGE: APPS.QA_SS_CORE
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_PDI_API
12.1.1
-
APPS.GHR_PDI_API dependencies on GHR_PDI_API
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_WF_PD_PKG
12.1.1
-
APPS.GHR_PDI_API dependencies on GHR_PD_ROUTING_HISTORY
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_WF_PD_PKG
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_PD_ROUTING_HISTORY
12.1.1
-
APPS.GHR_API dependencies on GHR_PA_REQUESTS
12.1.1
-
APPS.GHR_API dependencies on GHR_PA_REQUESTS
12.2.2
-
APPS.GHR_API dependencies on GHR_PA_REQUESTS
12.2.2
-
APPS.GHR_API dependencies on GHR_PA_REQUESTS
12.1.1
-
PACKAGE: APPS.GHR_API
12.2.2
-
PACKAGE BODY: APPS.GHR_API
12.1.1
-
PACKAGE BODY: APPS.GHR_API
12.2.2
-
APPS.WMS_WCS_DEVICE_GRP dependencies on WMS_TASK_DISPATCH_DEVICE
12.2.2
-
PACKAGE: APPS.GHR_API
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP dependencies on WMS_TASK_DISPATCH_DEVICE
12.1.1
-
PACKAGE BODY: APPS.WMS_TASK_DISPATCH_GEN
12.1.1
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on WMS_REPLENISHMENT_PVT
12.1.1
-
PACKAGE BODY: APPS.WMS_TASK_DISPATCH_GEN
12.2.2
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on WMS_REPLENISHMENT_PVT
12.2.2
-
APPS.QA_SS_CORE dependencies on QA_SS_CORE
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP dependencies on FND_API
12.1.1
-
APPS.WMS_WCS_DEVICE_GRP dependencies on FND_API
12.2.2
-
APPS.QA_SS_CORE dependencies on QA_SS_CORE
12.2.2
-
PACKAGE BODY: APPS.QA_SS_CORE
12.2.2
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on FND_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.QA_SS_CORE
12.1.1
-
APPS.GHR_PDI_API dependencies on GHR_POSITION_DESCRIPTIONS
12.1.1
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on FND_MESSAGE
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_POSITION_DESCRIPTIONS
12.2.2
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on FND_API
12.2.2
-
APPS.GHR_PDI_API dependencies on GHR_POSITION_DESCRIPTIONS
12.1.1
-
APPS.GHR_PDI_API dependencies on GHR_POSITION_DESCRIPTIONS
12.2.2
-
APPS.WMS_TASK_DISPATCH_GEN dependencies on FND_MSG_PUB
12.2.2