Search Results call_custom_api
Overview
The APPS.WSH_ITM_POST_PROCESS_HANDLER package body is a component of the Oracle E-Business Suite Shipping Execution (WSH) module, specifically within the In-Transit Inventory Management (ITM) subsystem. Its principal business function is to coordinate post-processing activities that occur after a request has been submitted, either synchronously through Java-based ITM code or asynchronously through the XML Gateway (ECX) in the Advanced Supply Chain Planning and Order Management integration flows. The package determines whether outstanding requests remain to be processed within a given request set and, when appropriate, dispatches a custom API to complete the workflow. It is a critical orchestration layer that ensures all child requests in a request set reach a terminal processing state before downstream logic is triggered.
Key Procedures and Functions
- CHECK_PENDING_CALL_API — Performs the primary decision logic of the package. It accepts identifiers for the request control, request set, and application, along with a
p_sourceflag indicating the invocation origin. Thep_sourceparameter distinguishes betweenECX(XML Gateway asynchronous mode) andITM(ITM Java code synchronous mode). The procedure queries theWSH_ITM_REQUEST_CONTROLtable to count records where the process flag indicates outstanding work. If no pending requests remain, it logs a diagnostic message through the WSH debug utilities and invokesCALL_CUSTOM_APIto continue processing. - CALL_CUSTOM_API — Invoked internally by
CHECK_PENDING_CALL_APIonce all requests in a set have completed. It serves as the extension point where customer-specific or downstream business logic is executed for the completed request set. Its documented purpose is to carry forward the request set and application context to the custom API layer.
Both procedures are exposed with an OTHER API classification in the ETRM, indicating they are not classified as standard open interfaces but are called from within the WSH processing chain. The package relies on WSH_DEBUG_INTERFACE and WSH_DEBUG_SV for conditional diagnostic logging governed by the l_debug_on flag.
Tables Accessed
- WSH_ITM_REQUEST_CONTROL — The central operational table.
CHECK_PENDING_CALL_APIreadsREQUEST_CONTROL_ID,REQUEST_SET_ID, andPROCESS_FLAGto determine whether any request in the set remains unprocessed. A count of zero pending rows signals readiness for the custom API call. - FND_APPLICATION — Referenced to resolve application context, typically for validation or logging of the calling application.
- UTL_FILE — Used indirectly for file-based logging or output in the post-processing flow.
Usage Notes
This package is typically invoked from the WSH ITM concurrent program chain or directly by the ITM Java layer rather than from a standard Oracle Forms-based UI. In synchronous mode the caller passes p_source = 'ITM', while asynchronous XML Gateway submissions pass ECX. The ETRM records that this package is referenced by one other package, confirming it operates as an internal utility rather than a public entry point. Because the p_source parameter drives debug behavior and processing context, integrators customizing ITM post-processing should preserve its expected values and extend only the CALL_CUSTOM_API logic.
-
PACKAGE BODY: APPS.WSH_ITM_POST_PROCESS_HANDLER
12.2.2
-
PACKAGE BODY: APPS.WSH_ITM_POST_PROCESS_HANDLER
12.1.1
-
PACKAGE: APPS.WSH_ITM_POST_PROCESS_HANDLER
12.2.2
-
PACKAGE: APPS.WSH_ITM_POST_PROCESS_HANDLER
12.1.1
-
PACKAGE BODY: APPS.WSH_ITM_OVERRIDE
12.2.2
-
PACKAGE BODY: APPS.WSH_ITM_OVERRIDE
12.1.1
-
PACKAGE: APPS.WSH_ITM_OVERRIDE
12.1.1
-
PACKAGE: APPS.WSH_ITM_OVERRIDE
12.2.2
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_DEBUG_SV
12.2.2
-
APPS.WSH_ITM_OVERRIDE dependencies on WSH_UTIL_CORE
12.2.2
-
APPS.WSH_ITM_OVERRIDE dependencies on FND_API
12.1.1
-
APPS.WSH_ITM_OVERRIDE dependencies on FND_API
12.2.2
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_DEBUG_SV
12.1.1
-
APPS.WSH_ITM_OVERRIDE dependencies on WSH_UTIL_CORE
12.1.1
-
APPS.WSH_ITM_OVERRIDE dependencies on WSH_ITM_OVERRIDE
12.1.1
-
APPS.WSH_ITM_OVERRIDE dependencies on WSH_ITM_OVERRIDE
12.2.2
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_UTIL_CORE
12.2.2
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_UTIL_CORE
12.1.1
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_DEBUG_INTERFACE
12.1.1
-
APPS.WSH_ITM_POST_PROCESS_HANDLER dependencies on WSH_DEBUG_INTERFACE
12.2.2