DBA Data[Home] [Help]

APPS.CS_SR_SECURITY_UTIL dependencies on WF_EVENT

Line 282: p_event IN OUT NOCOPY WF_EVENT_T )

278: -- event
279:
280: FUNCTION SECURE_SR_TASK_ASSIGN (
281: p_subscription_guid IN RAW,
282: p_event IN OUT NOCOPY WF_EVENT_T )
283: RETURN VARCHAR2
284: IS
285: -- cursor to fetch the task id for which the assignment is created or
286: -- updated

Line 401: wf_event.addparametertolist(

397: -- since this is a business event, need to set the value of the return
398: -- status on the busines event's parameter list. The jtf API that raised
399: -- the event will retrieve the return status from the parameter list
400:
401: wf_event.addparametertolist(
402: p_name => 'X_RETURN_STATUS',
403: p_value => 'ERROR',
404: p_parameterlist => p_event.parameter_list );
405:

Line 412: wf_event.addparametertolist(

408: fnd_msg_pub.add;
409: else
410: -- resource assigned to the task has access to the SR type and can be
411: -- assigned to the task. Return back a sucess status
412: wf_event.addparametertolist(
413: p_name => 'X_RETURN_STATUS',
414: p_value => 'SUCCESS',
415: p_parameterlist => p_event.parameter_list );
416: end if;

Line 422: wf_event.addparametertolist(

418: else
419: -- resource assigned to the task is not an individual resource and hence has access to the SR
420: -- type and can be assigned to the task. Return back a sucess status
421:
422: wf_event.addparametertolist(
423: p_name => 'X_RETURN_STATUS',
424: p_value => 'SUCCESS',
425: p_parameterlist => p_event.parameter_list );
426:

Line 439: wf_event.addparametertolist(

435: WHEN OTHERS THEN
436: fnd_message.set_name ('CS', 'CS_API_SR_UNKNOWN_ERROR');
437: fnd_message.set_token ('P_TEXT',l_api_name_full||'-'||SQLERRM );
438: fnd_msg_pub.ADD;
439: wf_event.addparametertolist(
440: p_name => 'X_RETURN_STATUS',
441: p_value => 'ERROR',
442: p_parameterlist => p_event.parameter_list );
443: RETURN 'ERROR';

Line 451: p_event IN OUT NOCOPY WF_EVENT_T )

447: -- Subscription function to the JTF task create and update event
448:
449: FUNCTION SECURE_SR_TASK_OWNER (
450: p_subscription_guid IN RAW,
451: p_event IN OUT NOCOPY WF_EVENT_T )
452: RETURN VARCHAR2
453: IS
454: -- cursor to fetch the resource, source object id and type for the task
455: cursor get_tasks ( c_task_id IN NUMBER ) is

Line 537: wf_event.addparametertolist(

533: -- return an error status to the JTF tasks event api.
534: -- since this is a business event, need to set the value of the return
535: -- status on the busines event's parameter list. The jtf API that raised
536: -- the event will retrieve the return status from the parameter list
537: wf_event.addparametertolist(
538: p_name => 'X_RETURN_STATUS',
539: p_value => 'ERROR',
540: p_parameterlist => p_event.parameter_list );
541:

Line 548: wf_event.addparametertolist(

544: fnd_msg_pub.add;
545: else
546: -- resource assigned to the task has access to the SR type and can be
547: -- assigned to the task. Return back a sucess status
548: wf_event.addparametertolist(
549: p_name => 'X_RETURN_STATUS',
550: p_value => 'SUCCESS',
551: p_parameterlist => p_event.parameter_list );
552: end if;

Line 557: wf_event.addparametertolist(

553: else
554: -- resource assigned to the task is not an inidividual resource and hence has access to the SR
555: -- type and can be assigned to the task. Return back a sucess status
556:
557: wf_event.addparametertolist(
558: p_name => 'X_RETURN_STATUS',
559: p_value => 'SUCCESS',
560: p_parameterlist => p_event.parameter_list );
561: end if; -- if ( l_source_type = 'SR' )

Line 573: wf_event.addparametertolist(

569: WHEN OTHERS THEN
570: fnd_message.set_name ('CS', 'CS_API_SR_UNKNOWN_ERROR');
571: fnd_message.set_token ('P_TEXT',l_api_name_full||'-'||SQLERRM );
572: fnd_msg_pub.ADD;
573: wf_event.addparametertolist(
574: p_name => 'X_RETURN_STATUS',
575: p_value => 'ERROR',
576: p_parameterlist => p_event.parameter_list );
577: RETURN 'ERROR';