DBA Data[Home] [Help]

APPS.WF_RULE dependencies on WF_EVENT_FUNCTIONS_PKG

Line 157: msg := WF_EVENT_FUNCTIONS_PKG.SUBSCRIPTIONPARAMETERS(l_parameters, 'ERROR_MESSAGE');

153: msg varchar2(4000);
154: l_parameters varchar2(4000);
155: begin
156: l_parameters := upper(wf_rule.get_sub_parameters(p_subscription_guid));
157: msg := WF_EVENT_FUNCTIONS_PKG.SUBSCRIPTIONPARAMETERS(l_parameters, 'ERROR_MESSAGE');
158: wf_event.setErrorInfo(p_event, 'ERROR');
159: p_event.setErrorMessage(wf_core.substitute('WFERR', msg));
160:
161: return 'ERROR';

Line 174: msg := WF_EVENT_FUNCTIONS_PKG.SUBSCRIPTIONPARAMETERS(l_parameters, 'ERROR_MESSAGE');

170: msg varchar2(4000);
171: l_parameters varchar2(4000);
172: begin
173: l_parameters := upper(wf_rule.get_sub_parameters(p_subscription_guid));
174: msg := WF_EVENT_FUNCTIONS_PKG.SUBSCRIPTIONPARAMETERS(l_parameters, 'ERROR_MESSAGE');
175: wf_event.setErrorInfo(p_event, 'WARNING');
176: p_event.setErrorMessage(wf_core.substitute('WFERR', msg));
177:
178: return 'WARNING';

Line 222: if (wf_event_functions_pkg.subscriptionparameters(p_string=>subparams

218: where guid = p_subscription_guid;
219:
220: -- Check if need to generate Unique Correlation Id
221: if subparams is not null then
222: if (wf_event_functions_pkg.subscriptionparameters(p_string=>subparams
223: ,p_key=>'CORRELATION_ID') = 'UNIQUE') then
224: select wf_error_processes_s.nextval
225: into lcorrid
226: from dual;

Line 315: if (WF_EVENT_FUNCTIONS_PKG.SubParamInEvent(p_subscription_guid, p_event)) then

311: FUNCTION default_rule2(p_subscription_guid in raw,
312: p_event in out nocopy wf_event_t)
313: return varchar2 is
314: begin
315: if (WF_EVENT_FUNCTIONS_PKG.SubParamInEvent(p_subscription_guid, p_event)) then
316: return (default_rule(p_subscription_guid, p_event));
317:
318: else
319: return 'SUCCESS';

Line 368: ackreq := wf_event_functions_pkg.subscriptionparameters

364: sndack := 'N';
365: end if;
366:
367: -- Does the new message require acknowledgement
368: ackreq := wf_event_functions_pkg.subscriptionparameters
369: (param, 'ACKREQ');
370:
371: p_event.addParameterToList('ACKREQ', nvl(ackreq,'N'));
372: p_event.addParameterToList('SNDACK', nvl(sndack,'N'));

Line 806: if (WF_EVENT_FUNCTIONS_PKG.SubParamInEvent(p_subscription_guid, p_event,'ANY')) then

802: p_event in out nocopy wf_event_t)
803: return varchar2 is
804: begin
805:
806: if (WF_EVENT_FUNCTIONS_PKG.SubParamInEvent(p_subscription_guid, p_event,'ANY')) then
807: return (default_rule(p_subscription_guid, p_event));
808:
809:
810: else