DBA Data[Home] [Help]

APPS.WSH_WF_STD dependencies on WF_EVENT

Line 1104: WF_EVENT.AddParameterToList (p_name => p_entity_type || '_ID',

1100: IF (p_parameters IS NOT NULL) THEN
1101: l_parameters := p_parameters;
1102: END IF;
1103:
1104: WF_EVENT.AddParameterToList (p_name => p_entity_type || '_ID',
1105: p_value => p_entity_id,
1106: p_parameterlist => l_parameters);
1107: WF_EVENT.AddParameterToList (p_name => 'SEND_DATE',
1108: p_value => p_send_date,

Line 1107: WF_EVENT.AddParameterToList (p_name => 'SEND_DATE',

1103:
1104: WF_EVENT.AddParameterToList (p_name => p_entity_type || '_ID',
1105: p_value => p_entity_id,
1106: p_parameterlist => l_parameters);
1107: WF_EVENT.AddParameterToList (p_name => 'SEND_DATE',
1108: p_value => p_send_date,
1109: p_parameterlist => l_parameters);
1110:
1111: WF_EVENT.raise(

Line 1111: WF_EVENT.raise(

1107: WF_EVENT.AddParameterToList (p_name => 'SEND_DATE',
1108: p_value => p_send_date,
1109: p_parameterlist => l_parameters);
1110:
1111: WF_EVENT.raise(
1112: p_event_name => p_event,
1113: p_event_key => p_entity_id,
1114: p_event_data => p_event_data,
1115: p_parameters => l_parameters,

Line 1959: p_event in out nocopy WF_EVENT_T) return

1955: -- This function is introduced as part of bugfix 8706771 and this is replacement
1956: -- for function wsh_wf_std.instance_default_rule
1957: --========================================================================================
1958: FUNCTION WF_ENGINE_EVENT (p_subscription_guid in raw,
1959: p_event in out nocopy WF_EVENT_T) return
1960: VARCHAR2 is
1961: l_eventname VARCHAR2(240);
1962: l_wf_pr_name VARCHAR2(30);
1963: l_eventkey VARCHAR2(240);

Line 2116: WF_EVENT.setErrorInfo(p_event, 'ERROR');

2112:
2113: EXCEPTION
2114: WHEN e_entityid_notfound THEN
2115: WF_CORE.CONTEXT('WSH_WF_STD', 'WF_ENGINE_EVENT',p_event.getEventName( ), p_subscription_guid);
2116: WF_EVENT.setErrorInfo(p_event, 'ERROR');
2117:
2118: IF l_debug_on THEN
2119: WSH_DEBUG_SV.logmsg(l_module_name,'Associated Entity Id not found. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_EXCEP_LEVEL);
2120: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:E_ENTITYID_NOTFOUND');

Line 2127: WF_EVENT.setErrorInfo(p_event, 'ERROR');

2123: RETURN 'ERROR';
2124:
2125: WHEN e_event_error THEN
2126: WF_CORE.CONTEXT('WSH_WF_STD', 'WF_ENGINE_EVENT',p_event.getEventName( ), p_subscription_guid);
2127: WF_EVENT.setErrorInfo(p_event, 'ERROR');
2128:
2129: IF l_debug_on THEN
2130: WSH_DEBUG_SV.logmsg(l_module_name,'Some Entities had errors while raising events. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_EXCEP_LEVEL);
2131: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:E_EVENT_ERROR');

Line 2138: WF_EVENT.setErrorInfo(p_event, 'ERROR');

2134: RETURN 'ERROR';
2135:
2136: WHEN others THEN
2137: WF_CORE.CONTEXT('WSH_WF_STD', 'WF_ENGINE_EVENT',p_event.getEventName( ), p_subscription_guid);
2138: WF_EVENT.setErrorInfo(p_event, 'ERROR');
2139:
2140: IF l_debug_on THEN
2141: WSH_DEBUG_SV.logmsg(l_module_name,'Unexpected error has occured. Oracle error message is '|| SQLERRM,WSH_DEBUG_SV.C_UNEXPEC_ERR_LEVEL);
2142: WSH_DEBUG_SV.pop(l_module_name,'EXCEPTION:OTHERS');

Line 2150: p_event in out nocopy WF_EVENT_T) return

2146: END WF_ENGINE_EVENT;
2147:
2148: ---------------------------------------------------------------------------------------
2149: FUNCTION Instance_Default_Rule (p_subscription_guid in raw,
2150: p_event in out nocopy WF_EVENT_T) return
2151: VARCHAR2 is
2152: --performance bug 5220516: make this API as efficient as possible
2153: -- by commenting the unnecessary assignment; this variable is
2154: -- used only in the code that is currently commented.