DBA Data[Home] [Help]

APPS.JTF_TASK_WF_UTIL dependencies on FND_MSG_PUB

Line 223: fnd_msg_pub.ADD;

219: include_role(p_role_name => l_role_name);
220: ELSE
221: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
222: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
223: fnd_msg_pub.ADD;
224: END IF;
225: ELSIF p_resource_type_code IN('RS_GROUP', 'RS_TEAM') THEN
226: -- group or team resource
227: IF l_members = 'Y' THEN

Line 240: fnd_msg_pub.ADD;

236: include_role(p_role_name => l_role_name);
237: ELSE
238: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
239: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
240: fnd_msg_pub.ADD;
241: END IF;
242: ELSIF l_group_rec.resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN
243: get_party_details(
244: p_resource_id => l_group_rec.resource_id

Line 254: fnd_msg_pub.ADD;

250: include_role(p_role_name => l_role_name);
251: ELSE
252: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
253: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
254: fnd_msg_pub.ADD;
255: END IF;
256: ELSE
257: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
258: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));

Line 259: fnd_msg_pub.ADD;

255: END IF;
256: ELSE
257: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
258: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
259: fnd_msg_pub.ADD;
260: END IF;
261: END LOOP;
262: ELSIF p_resource_type_code = 'RS_TEAM' THEN
263: FOR l_team_rec IN c_team_members(p_resource_id) LOOP

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_team_rec.resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN
276: get_party_details(
277: p_resource_id => l_team_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: ELSE
296: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');

Line 298: fnd_msg_pub.ADD;

294: END LOOP;
295: ELSE
296: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
297: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
298: fnd_msg_pub.ADD;
299: END IF;
300: ELSE
301: IF p_resource_type_code = 'RS_GROUP' THEN
302: OPEN c_group_team_role('JRES_GRP', p_resource_id);

Line 311: fnd_msg_pub.add;

307: include_role(p_role_name => l_role_name);
308: ELSE
309: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
310: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
311: fnd_msg_pub.add;
312: END IF;
313: ELSIF p_resource_type_code = 'RS_TEAM' THEN
314: OPEN c_group_team_role('JRES_TEAM', p_resource_id);
315: FETCH c_group_team_role INTO l_role_name;

Line 323: fnd_msg_pub.add;

319: include_role(p_role_name => l_role_name);
320: ELSE
321: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
322: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id) );
323: fnd_msg_pub.add;
324: END IF;
325: END IF;
326: END IF;
327: ELSIF p_resource_type_code IN('RS_SUPPLIER_CONTACT', 'RS_PARTNER', 'RS_PARTY', 'PARTY_PERSON') THEN

Line 339: fnd_msg_pub.ADD;

335: include_role(p_role_name => l_role_name);
336: ELSE
337: fnd_message.set_name('JTF', 'JTF_RS_ROLE_NOTFOUND');
338: fnd_message.set_token('P_RESOURCE_NAME', get_resource_name(p_resource_type_code, p_resource_id));
339: fnd_msg_pub.ADD;
340: END IF;
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));

Line 344: fnd_msg_pub.ADD;

340: END IF;
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: END find_role;
347:
348: PROCEDURE set_text_attr(

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

1001: SET workflow_process_id = l_wf_process_id
1002: WHERE task_id = p_task_id;
1003: EXCEPTION
1004: WHEN fnd_api.g_exc_unexpected_error THEN
1005: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1006: WHEN OTHERS THEN
1007: x_return_status := fnd_api.g_ret_sts_unexp_error;
1008: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1009: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');

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

1004: WHEN fnd_api.g_exc_unexpected_error THEN
1005: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1006: WHEN OTHERS THEN
1007: x_return_status := fnd_api.g_ret_sts_unexp_error;
1008: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1009: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1010: END IF;
1011: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1012: END create_notification;

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

1005: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1006: WHEN OTHERS THEN
1007: x_return_status := fnd_api.g_ret_sts_unexp_error;
1008: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1009: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1010: END IF;
1011: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1012: END create_notification;
1013:

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

1007: x_return_status := fnd_api.g_ret_sts_unexp_error;
1008: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1009: fnd_msg_pub.add_exc_msg(g_pkg_name, 'CREATE_NOTIFICATION');
1010: END IF;
1011: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1012: END create_notification;
1013:
1014: PROCEDURE set_notif_message(
1015: itemtype IN VARCHAR2