127: ,p_effective_date =>p_effective_date
128: ,p_vehicle_allocation_id => p_vehicle_allocation_id);
129: hr_utility.set_location('Purge delete status:'||l_return_status,2);
130: IF l_return_status = -1 THEN
131: fnd_message.set_name('PQP', 'PQP_230724_DEL_ALLOC_RESTRICT');
132: fnd_message.raise_error;
133: END IF;
134: /*Commented for Bug No. 3745749*/
135: /* ELSIF p_datetrack_mode = 'DELETE' THEN
128: ,p_vehicle_allocation_id => p_vehicle_allocation_id);
129: hr_utility.set_location('Purge delete status:'||l_return_status,2);
130: IF l_return_status = -1 THEN
131: fnd_message.set_name('PQP', 'PQP_230724_DEL_ALLOC_RESTRICT');
132: fnd_message.raise_error;
133: END IF;
134: /*Commented for Bug No. 3745749*/
135: /* ELSIF p_datetrack_mode = 'DELETE' THEN
136: --This is for enddate
138: ( p_assignment_id => p_assignment_id_o
139: ,p_effective_date =>p_effective_date);
140: hr_utility.set_location('End date delete status :'||l_return_status,3);
141: IF l_return_status = -1 THEN
142: fnd_message.set_name('PQP', 'PQP_230700_CANCEL_INFO');
143: fnd_message.raise_error;
144: END IF;*/
145: END IF;
146: END IF;
139: ,p_effective_date =>p_effective_date);
140: hr_utility.set_location('End date delete status :'||l_return_status,3);
141: IF l_return_status = -1 THEN
142: fnd_message.set_name('PQP', 'PQP_230700_CANCEL_INFO');
143: fnd_message.raise_error;
144: END IF;*/
145: END IF;
146: END IF;
147: hr_utility.set_location(' Leaving:'||l_proc,4);