DBA Data[Home] [Help]

APPS.AME_ATU_SHD dependencies on HR_API

Line 232: hr_api.mandatory_arg_error(p_api_name => l_proc

228: hr_utility.set_location('Entering:'||l_proc, 5);
229: --
230: -- Ensure that all the mandatory arguments are not null
231: --
232: hr_api.mandatory_arg_error(p_api_name => l_proc
233: ,p_argument => 'effective_date'
234: ,p_argument_value => p_effective_date
235: );
236: --

Line 237: hr_api.mandatory_arg_error(p_api_name => l_proc

233: ,p_argument => 'effective_date'
234: ,p_argument_value => p_effective_date
235: );
236: --
237: hr_api.mandatory_arg_error(p_api_name => l_proc
238: ,p_argument => 'datetrack_mode'
239: ,p_argument_value => p_datetrack_mode
240: );
241: --

Line 242: hr_api.mandatory_arg_error(p_api_name => l_proc

238: ,p_argument => 'datetrack_mode'
239: ,p_argument_value => p_datetrack_mode
240: );
241: --
242: hr_api.mandatory_arg_error(p_api_name => l_proc
243: ,p_argument => 'attribute_id'
244: ,p_argument_value => p_attribute_id
245: );
246: --

Line 247: hr_api.mandatory_arg_error(p_api_name => l_proc

243: ,p_argument => 'attribute_id'
244: ,p_argument_value => p_attribute_id
245: );
246: --
247: hr_api.mandatory_arg_error(p_api_name => l_proc
248: ,p_argument => 'object_version_number'
249: ,p_argument_value => p_object_version_number
250: );
251: --

Line 254: If (p_datetrack_mode <> hr_api.g_insert) then

250: );
251: --
252: -- Check to ensure the datetrack mode is not INSERT.
253: --
254: If (p_datetrack_mode <> hr_api.g_insert) then
255: --
256: -- We must select and lock the current row.
257: --
258: Open C_Sel1;

Line 291: if (p_datetrack_mode = hr_api.g_update) then

287: End If;
288: --
289: -- Set the validation start and end date OUT arguments
290: --
291: if (p_datetrack_mode = hr_api.g_update) then
292: p_validation_start_date := p_effective_date;
293: p_validation_end_date := ame_atu_shd.g_old_rec.end_date;
294: elsif (p_datetrack_mode = hr_api.g_delete) then
295: p_validation_start_date := p_effective_date;

Line 294: elsif (p_datetrack_mode = hr_api.g_delete) then

290: --
291: if (p_datetrack_mode = hr_api.g_update) then
292: p_validation_start_date := p_effective_date;
293: p_validation_end_date := ame_atu_shd.g_old_rec.end_date;
294: elsif (p_datetrack_mode = hr_api.g_delete) then
295: p_validation_start_date := p_effective_date;
296: p_validation_end_date := p_effective_date;
297: elsif (p_datetrack_mode = hr_api.g_correction) then
298: p_validation_start_date := ame_atu_shd.g_old_rec.start_date;

Line 297: elsif (p_datetrack_mode = hr_api.g_correction) then

293: p_validation_end_date := ame_atu_shd.g_old_rec.end_date;
294: elsif (p_datetrack_mode = hr_api.g_delete) then
295: p_validation_start_date := p_effective_date;
296: p_validation_end_date := p_effective_date;
297: elsif (p_datetrack_mode = hr_api.g_correction) then
298: p_validation_start_date := ame_atu_shd.g_old_rec.start_date;
299: p_validation_end_date := ame_atu_shd.g_old_rec.end_date;
300: end if;
301: --

Line 318: When HR_Api.Object_Locked then

314: fnd_message.set_name('PER', 'AME_400478_CANNOT_LOCK_PARENT');
315: fnd_message.raise_error;
316: end;
317: Exception
318: When HR_Api.Object_Locked then
319: --
320: -- The object is locked therefore we need to supply a meaningful
321: -- error message.
322: --