935: -- IF the number of messaages is 1 then fetch the message code from the stack
936: -- and return its text
937: x_msg_count := FND_MSG_PUB.Count_Msg;
938: IF x_msg_count = 1 THEN
939: pa_interface_utils_pub.get_messages ( p_encoded => FND_API.G_TRUE
940: ,p_msg_index => 1
941: ,p_data => x_msg_data
942: ,p_msg_index_out => l_msg_index_out
943: );
1304: -- IF the number of messages is 1 then fetch the message code from the stack
1305: -- and return its text
1306: x_msg_count := FND_MSG_PUB.Count_Msg;
1307: IF x_msg_count = 1 THEN
1308: pa_interface_utils_pub.get_messages ( p_encoded => FND_API.G_TRUE
1309: ,p_msg_index => 1
1310: ,p_data => x_msg_data
1311: ,p_msg_index_out => l_msg_index_out
1312: );