17:
18: PROCEDURE Clear_Message IS
19: BEGIN
20:
21: FOR i IN 1..(fnd_msg_pub.count_msg-1) LOOP
22: IF fnd_msg_pub.count_msg <> 1 THEN
23: fnd_msg_pub.delete_MSG(p_msg_index => 1);
24: END IF;
25: END LOOP;
18: PROCEDURE Clear_Message IS
19: BEGIN
20:
21: FOR i IN 1..(fnd_msg_pub.count_msg-1) LOOP
22: IF fnd_msg_pub.count_msg <> 1 THEN
23: fnd_msg_pub.delete_MSG(p_msg_index => 1);
24: END IF;
25: END LOOP;
26:
19: BEGIN
20:
21: FOR i IN 1..(fnd_msg_pub.count_msg-1) LOOP
22: IF fnd_msg_pub.count_msg <> 1 THEN
23: fnd_msg_pub.delete_MSG(p_msg_index => 1);
24: END IF;
25: END LOOP;
26:
27: END Clear_Message;
258: -- Added by kthiruva on 26-Sep-2003 Bug No.3126403
259: -- To get the warning messages in message stack incase of warnings
260:
261: IF l_overall_status = G_WARNING_STATUS THEN
262: FOR i IN 1..fnd_msg_pub.count_msg LOOP
263: fnd_msg_pub.get(
264: p_msg_index => i,
265: p_encoded => fnd_api.g_false,
266: p_data => l_msg_data,
259: -- To get the warning messages in message stack incase of warnings
260:
261: IF l_overall_status = G_WARNING_STATUS THEN
262: FOR i IN 1..fnd_msg_pub.count_msg LOOP
263: fnd_msg_pub.get(
264: p_msg_index => i,
265: p_encoded => fnd_api.g_false,
266: p_data => l_msg_data,
267: p_msg_index_out => l_msg_count);