DBA Data[Home] [Help]

APPS.JTF_TASK_WF_SUBSCRIBE_PVT dependencies on JTF_TASK_WF_UTIL

Line 20: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

16: l_source_object_type_code := wf_event.getvalueforparameter('SOURCE_OBJECT_TYPE_CODE', p_event.parameter_list);
17:
18: IF (l_source_object_type_code <> 'APPOINTMENT') THEN
19: IF (l_enable_workflow = 'Y') THEN
20: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
21: jtf_task_wf_util.create_notification(
22: p_event => 'CREATE_TASK'
23: , p_task_id => l_task_id
24: , p_abort_workflow => l_abort_workflow

Line 21: jtf_task_wf_util.create_notification(

17:
18: IF (l_source_object_type_code <> 'APPOINTMENT') THEN
19: IF (l_enable_workflow = 'Y') THEN
20: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
21: jtf_task_wf_util.create_notification(
22: p_event => 'CREATE_TASK'
23: , p_task_id => l_task_id
24: , p_abort_workflow => l_abort_workflow
25: , x_return_status => x_return_status

Line 114: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

110: OR compare_old_new_param(rec_task.new_scheduled_end_date, rec_task.old_scheduled_end_date)
111: OR compare_old_new_param(rec_task.new_actual_start_date, rec_task.old_actual_start_date)
112: OR compare_old_new_param(rec_task.new_actual_end_date, rec_task.old_actual_end_date)
113: THEN
114: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
115: jtf_task_wf_util.create_notification(
116: p_event => 'CHANGE_TASK_DETAILS'
117: , p_task_id => l_task_id
118: , p_old_type => rec_task.old_task_type_id

Line 115: jtf_task_wf_util.create_notification(

111: OR compare_old_new_param(rec_task.new_actual_start_date, rec_task.old_actual_start_date)
112: OR compare_old_new_param(rec_task.new_actual_end_date, rec_task.old_actual_end_date)
113: THEN
114: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
115: jtf_task_wf_util.create_notification(
116: p_event => 'CHANGE_TASK_DETAILS'
117: , p_task_id => l_task_id
118: , p_old_type => rec_task.old_task_type_id
119: , p_old_priority => rec_task.old_task_priority_id

Line 171: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

167: l_source_object_type_code := wf_event.getvalueforparameter('SOURCE_OBJECT_TYPE_CODE', p_event.parameter_list);
168:
169: IF (l_source_object_type_code <> 'APPOINTMENT') THEN
170: IF (l_enable_workflow = 'Y') THEN
171: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
172: jtf_task_wf_util.create_notification(
173: p_event => 'DELETE_TASK'
174: , p_task_id => l_task_id
175: , p_abort_workflow => l_abort_workflow

Line 172: jtf_task_wf_util.create_notification(

168:
169: IF (l_source_object_type_code <> 'APPOINTMENT') THEN
170: IF (l_enable_workflow = 'Y') THEN
171: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
172: jtf_task_wf_util.create_notification(
173: p_event => 'DELETE_TASK'
174: , p_task_id => l_task_id
175: , p_abort_workflow => l_abort_workflow
176: , x_return_status => x_return_status

Line 218: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

214: l_abort_workflow := wf_event.getvalueforparameter('ABORT_WORKFLOW', p_event.parameter_list);
215: l_assignee_role := wf_event.getvalueforparameter('ASSIGNEE_ROLE', p_event.parameter_list);
216:
217: IF (l_assignee_role <> 'OWNER') AND(l_enable_workflow = 'Y') THEN
218: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
219: jtf_task_wf_util.create_notification(
220: p_event => 'ADD_ASSIGNEE'
221: , p_task_id => l_task_id
222: , p_new_assignee_id => l_resource_id

Line 219: jtf_task_wf_util.create_notification(

215: l_assignee_role := wf_event.getvalueforparameter('ASSIGNEE_ROLE', p_event.parameter_list);
216:
217: IF (l_assignee_role <> 'OWNER') AND(l_enable_workflow = 'Y') THEN
218: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
219: jtf_task_wf_util.create_notification(
220: p_event => 'ADD_ASSIGNEE'
221: , p_task_id => l_task_id
222: , p_new_assignee_id => l_resource_id
223: , p_new_assignee_code => l_resource_type_code

Line 279: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

275: IF (l_assignee_role_db IS NOT NULL) THEN
276: IF (l_enable_workflow = 'Y') THEN
277: IF (NVL(l_resource_id, 0) <> fnd_api.g_miss_num AND NVL(l_resource_id, 0) <> NVL(l_orig_resource_id, 0))
278: OR (NVL(l_resource_type_code, fnd_api.g_miss_char) <> NVL(l_orig_resource_type_code, fnd_api.g_miss_char)) THEN
279: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
280: IF (l_assignee_role_db = 'OWNER') THEN
281: jtf_task_wf_util.create_notification(
282: p_event => 'CHANGE_OWNER'
283: , p_task_id => l_task_id

Line 281: jtf_task_wf_util.create_notification(

277: IF (NVL(l_resource_id, 0) <> fnd_api.g_miss_num AND NVL(l_resource_id, 0) <> NVL(l_orig_resource_id, 0))
278: OR (NVL(l_resource_type_code, fnd_api.g_miss_char) <> NVL(l_orig_resource_type_code, fnd_api.g_miss_char)) THEN
279: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
280: IF (l_assignee_role_db = 'OWNER') THEN
281: jtf_task_wf_util.create_notification(
282: p_event => 'CHANGE_OWNER'
283: , p_task_id => l_task_id
284: , p_old_owner_id => l_orig_resource_id
285: , p_old_owner_code => l_orig_resource_type_code

Line 292: jtf_task_wf_util.create_notification(

288: , x_msg_count => x_msg_count
289: , x_msg_data => x_msg_data
290: );
291: ELSE
292: jtf_task_wf_util.create_notification(
293: p_event => 'CHANGE_ASSIGNEE'
294: , p_task_id => l_task_id
295: , p_old_assignee_id => l_orig_resource_id
296: , p_old_assignee_code => l_orig_resource_type_code

Line 346: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN

342: l_abort_workflow := wf_event.getvalueforparameter('ABORT_WORKFLOW', p_event.parameter_list);
343: l_assignee_role := wf_event.getvalueforparameter('ASSIGNEE_ROLE', p_event.parameter_list);
344:
345: IF (l_assignee_role <> 'OWNER') AND(l_enable_workflow = 'Y') THEN
346: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
347: jtf_task_wf_util.create_notification(
348: p_event => 'DELETE_ASSIGNEE'
349: , p_task_id => l_task_id
350: , p_old_assignee_id => l_resource_id

Line 347: jtf_task_wf_util.create_notification(

343: l_assignee_role := wf_event.getvalueforparameter('ASSIGNEE_ROLE', p_event.parameter_list);
344:
345: IF (l_assignee_role <> 'OWNER') AND(l_enable_workflow = 'Y') THEN
346: IF (jtf_task_wf_util.do_notification(l_task_id)) THEN
347: jtf_task_wf_util.create_notification(
348: p_event => 'DELETE_ASSIGNEE'
349: , p_task_id => l_task_id
350: , p_old_assignee_id => l_resource_id
351: , p_old_assignee_code => l_resource_type_code