DBA Data[Home] [Help]

APPS.JTF_TASK_WF_UTIL dependencies on FND_MSG_PUB

Line 256: fnd_msg_pub.ADD;

252: include_role(p_role_name => l_role_name);
253: ELSE
254: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
255: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
256: fnd_msg_pub.ADD;
257: END IF;
258: ELSIF p_resource_type_code IN('RS_GROUP', 'RS_TEAM') THEN
259: -- group or team resource
260: IF l_members = 'Y' THEN

Line 273: fnd_msg_pub.ADD;

269: include_role(p_role_name => l_role_name);
270: ELSE
271: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
272: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
273: fnd_msg_pub.ADD;
274: END IF;
275: ELSIF l_group_rec.resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN
276: get_party_details(
277: p_resource_id => l_group_rec.resource_id

Line 287: fnd_msg_pub.ADD;

283: include_role(p_role_name => l_role_name);
284: ELSE
285: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
286: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
287: fnd_msg_pub.ADD;
288: END IF;
289: ELSE
290: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
291: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));

Line 292: fnd_msg_pub.ADD;

288: END IF;
289: ELSE
290: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
291: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
292: fnd_msg_pub.ADD;
293: END IF;
294: END LOOP;
295: ELSIF p_resource_type_code = 'RS_TEAM' THEN
296: FOR l_team_rec IN c_team_members(p_resource_id) LOOP

Line 306: fnd_msg_pub.ADD;

302: include_role(p_role_name => l_role_name);
303: ELSE
304: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
305: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
306: fnd_msg_pub.ADD;
307: END IF;
308: ELSIF l_team_rec.resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN
309: get_party_details(
310: p_resource_id => l_team_rec.resource_id

Line 320: fnd_msg_pub.ADD;

316: include_role(p_role_name => l_role_name);
317: ELSE
318: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
319: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
320: fnd_msg_pub.ADD;
321: END IF;
322: ELSE
323: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
324: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));

Line 325: fnd_msg_pub.ADD;

321: END IF;
322: ELSE
323: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
324: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
325: fnd_msg_pub.ADD;
326: END IF;
327: END LOOP;
328: ELSE
329: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');

Line 331: fnd_msg_pub.ADD;

327: END LOOP;
328: ELSE
329: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
330: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
331: fnd_msg_pub.ADD;
332: END IF;
333: ELSE
334: IF p_resource_type_code = 'RS_GROUP' THEN
335: OPEN c_group_team_role('JRES_GRP', p_resource_id);

Line 344: fnd_msg_pub.add;

340: include_role(p_role_name => l_role_name);
341: ELSE
342: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
343: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
344: fnd_msg_pub.add;
345: END IF;
346: ELSIF p_resource_type_code = 'RS_TEAM' THEN
347: OPEN c_group_team_role('JRES_TEAM', p_resource_id);
348: FETCH c_group_team_role INTO l_role_name;

Line 356: fnd_msg_pub.add;

352: include_role(p_role_name => l_role_name);
353: ELSE
354: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
355: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id) );
356: fnd_msg_pub.add;
357: END IF;
358: END IF;
359: END IF;
360: ELSIF p_resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN

Line 372: fnd_msg_pub.ADD;

368: include_role(p_role_name => l_role_name);
369: ELSE
370: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
371: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
372: fnd_msg_pub.ADD;
373: END IF;
374: ELSE
375: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
376: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));

Line 377: fnd_msg_pub.ADD;

373: END IF;
374: ELSE
375: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
376: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
377: fnd_msg_pub.ADD;
378: END IF;
379: END find_role;
380:
381: PROCEDURE set_text_attr(

Line 1039: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1035: SET workflow_process_id = l_wf_process_id
1036: WHERE task_id = p_task_id;
1037: EXCEPTION
1038: WHEN fnd_api.g_exc_unexpected_error THEN
1039: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1040: WHEN OTHERS THEN
1041: x_return_status := fnd_api.g_ret_sts_unexp_error;
1042: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1043: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');

Line 1042: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1038: WHEN fnd_api.g_exc_unexpected_error THEN
1039: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1040: WHEN OTHERS THEN
1041: x_return_status := fnd_api.g_ret_sts_unexp_error;
1042: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1043: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1044: END IF;
1045: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1046: END create_notification;

Line 1043: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');

1039: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1040: WHEN OTHERS THEN
1041: x_return_status := fnd_api.g_ret_sts_unexp_error;
1042: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1043: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1044: END IF;
1045: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1046: END create_notification;
1047:

Line 1045: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1041: x_return_status := fnd_api.g_ret_sts_unexp_error;
1042: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1043: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1044: END IF;
1045: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1046: END create_notification;
1047:
1048: PROCEDURE set_notif_message(
1049: itemtype IN VARCHAR2