655: fnd_message.raise_error;
656: end if;
657: end if;
658: --
659: p_return_status := fnd_api.G_RET_STS_SUCCESS;
660: --
661: if l_debug then
662: hr_utility.set_location('Leaving:' || l_proc, 25);
663: end if;
673: --
674: -- Handle errors according to the specified mechanism.
675: --
676: if p_multi_message then
677: p_return_status := fnd_api.G_RET_STS_ERROR;
678: fnd_msg_pub.add;
679: fnd_msg_pub.count_and_get
680: (p_count => p_msg_count
681: ,p_data => p_msg_data