DBA Data[Home] [Help]

APPS.WSH_TRANSACTIONS_UTIL dependencies on WF_ENGINE

Line 1713: l_user_id := wf_engine.GetItemAttrNumber(

1709:
1710: IF(funcmode = 'RUN') THEN
1711: Resultout := 'COMPLETE';
1712: ELSIF(funcmode = 'SET_CTX') THEN
1713: l_user_id := wf_engine.GetItemAttrNumber(
1714: 'WSHSUPI',
1715: Item_key,
1716: 'USER_ID');
1717: l_resp_appl_id := wf_engine.GetItemAttrNumber(

Line 1717: l_resp_appl_id := wf_engine.GetItemAttrNumber(

1713: l_user_id := wf_engine.GetItemAttrNumber(
1714: 'WSHSUPI',
1715: Item_key,
1716: 'USER_ID');
1717: l_resp_appl_id := wf_engine.GetItemAttrNumber(
1718: 'WSHSUPI',
1719: Item_key,
1720: 'APPLICATION_ID');
1721:

Line 1722: l_resp_id := wf_engine.GetItemAttrNumber(

1718: 'WSHSUPI',
1719: Item_key,
1720: 'APPLICATION_ID');
1721:
1722: l_resp_id := wf_engine.GetItemAttrNumber(
1723: 'WSHSUPI',
1724: Item_key,
1725: 'RESPONSIBILITY_ID');
1726:

Line 1737: l_user_id := wf_engine.GetItemAttrNumber( 'WSHSUPI',

1733: ELSIF(funcmode = 'TEST_CTX') THEN
1734: -- Bugfix: 8501373
1735: -- Check to verify if current session user is same as user who initiated WSHSUPI workflow
1736: -- This is done since shipping is not dependent on ORG_ID (Oper Unit)
1737: l_user_id := wf_engine.GetItemAttrNumber( 'WSHSUPI',
1738: Item_key,
1739: 'USER_ID'
1740: );
1741:

Line 1943: wsh_debug_sv.logmsg(l_module_name, 'calling program WF_ENGINE.ItemStatus',WSH_DEBUG_SV.C_PROC_LEVEL);

1939: CLOSE c_get_event_key;
1940:
1941: IF l_debug_on THEN
1942: wsh_debug_sv.log(l_module_name, 'l_event_key',l_event_key);
1943: wsh_debug_sv.logmsg(l_module_name, 'calling program WF_ENGINE.ItemStatus',WSH_DEBUG_SV.C_PROC_LEVEL);
1944: END IF;
1945: WF_ENGINE.ItemStatus(
1946: itemtype => 'WSHSUPI',
1947: itemkey => l_event_key,

Line 1945: WF_ENGINE.ItemStatus(

1941: IF l_debug_on THEN
1942: wsh_debug_sv.log(l_module_name, 'l_event_key',l_event_key);
1943: wsh_debug_sv.logmsg(l_module_name, 'calling program WF_ENGINE.ItemStatus',WSH_DEBUG_SV.C_PROC_LEVEL);
1944: END IF;
1945: WF_ENGINE.ItemStatus(
1946: itemtype => 'WSHSUPI',
1947: itemkey => l_event_key,
1948: status => l_wf_status,
1949: result => l_result

Line 2411: wsh_debug_sv.logmsg(l_module_name, 'Calling wf_engine.setItemAttribute');

2407: CLOSE c_get_del_status;
2408:
2409: IF l_status IN ('CO','IT','CL','SA') THEN --{
2410: IF l_debug_on THEN
2411: wsh_debug_sv.logmsg(l_module_name, 'Calling wf_engine.setItemAttribute');
2412: END IF;
2413: wf_engine.setItemAttrText
2414: (
2415: itemType => item_type,

Line 2413: wf_engine.setItemAttrText

2409: IF l_status IN ('CO','IT','CL','SA') THEN --{
2410: IF l_debug_on THEN
2411: wsh_debug_sv.logmsg(l_module_name, 'Calling wf_engine.setItemAttribute');
2412: END IF;
2413: wf_engine.setItemAttrText
2414: (
2415: itemType => item_type,
2416: itemKey => item_key,
2417: aname => 'PARAMETER6',

Line 2464: l_cbod_status := wf_engine.GetItemAttrText(

2460: wsh_debug_sv.log(l_module_name,'l_del_interface_id',
2461: l_del_interface_id);
2462: END IF;
2463:
2464: l_cbod_status := wf_engine.GetItemAttrText(
2465: 'WSHSUPI',
2466: Item_key,
2467: 'PARAMETER6');
2468: IF l_debug_on THEN

Line 2522: wf_engine.handleError(

2518: ELSE --}{ rejection
2519: IF l_sa_exist THEN --{
2520: IF l_transaction_status = 'ER' THEN --{
2521:
2522: wf_engine.handleError(
2523: itemType => l_sr_hist_record.item_type,
2524: itemKey => l_sr_hist_record.event_key,
2525: activity => 'WSH_SUPPLIER_WF:WSH_PROCESS_DELIVERY',
2526: command => 'RETRY',

Line 2532: wf_engine.completeActivity (

2528: );
2529:
2530: ELSIF l_transaction_status = 'AP' THEN --}{
2531:
2532: wf_engine.completeActivity (
2533: itemtype => l_sr_hist_record.item_type,
2534: itemkey => l_sr_hist_record.event_key,
2535: activity => 'WSH_SUPPLIER_WF:CONTINUE_SHIPMENT_ADVICE',
2536: result => l_result_code);

Line 2627: l_resultout := wf_engine.eng_null;

2623: --
2624: IF l_debug_on IS NULL THEN
2625: l_debug_on := WSH_DEBUG_SV.is_debug_enabled;
2626: END IF;
2627: l_resultout := wf_engine.eng_null;
2628: --
2629: IF l_debug_on THEN
2630: wsh_debug_sv.push(l_module_name);
2631: wsh_debug_sv.log(l_module_name, 'itemtype',itemtype);