883: hr_utility.raise_error;
884: elsif p_date_from > p_date_to then
885: hr_utility.set_message(8302,'PQH_INVALID_END_DT');
886: /* Commented and added as a part of Bug#10239077 Starts
887: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from));
888: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to)); */
889: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from, calendar_aware => FND_DATE.calendar_aware_alt));
890: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to, calendar_aware => FND_DATE.calendar_aware_alt));
891: /* Commented and added as a part of Bug#10239077 Ends */
884: elsif p_date_from > p_date_to then
885: hr_utility.set_message(8302,'PQH_INVALID_END_DT');
886: /* Commented and added as a part of Bug#10239077 Starts
887: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from));
888: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to)); */
889: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from, calendar_aware => FND_DATE.calendar_aware_alt));
890: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to, calendar_aware => FND_DATE.calendar_aware_alt));
891: /* Commented and added as a part of Bug#10239077 Ends */
892: hr_utility.raise_error;
885: hr_utility.set_message(8302,'PQH_INVALID_END_DT');
886: /* Commented and added as a part of Bug#10239077 Starts
887: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from));
888: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to)); */
889: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from, calendar_aware => FND_DATE.calendar_aware_alt));
890: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to, calendar_aware => FND_DATE.calendar_aware_alt));
891: /* Commented and added as a part of Bug#10239077 Ends */
892: hr_utility.raise_error;
893: end if;
886: /* Commented and added as a part of Bug#10239077 Starts
887: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from));
888: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to)); */
889: hr_utility.set_message_token('STARTDATE',fnd_date.date_to_chardate(p_date_from, calendar_aware => FND_DATE.calendar_aware_alt));
890: hr_utility.set_message_token('ENDDATE',fnd_date.date_to_chardate(p_date_to, calendar_aware => FND_DATE.calendar_aware_alt));
891: /* Commented and added as a part of Bug#10239077 Ends */
892: hr_utility.raise_error;
893: end if;
894: -- we are here to correct a existing version or checking for the new version to be entered.