DBA Data[Home] [Help]

APPS.AME_APT_SHD dependencies on HR_API

Line 222: hr_api.mandatory_arg_error(p_api_name => l_proc

218: --
219: -- Ensure that all the mandatory arguments are not null
220: --
221:
222: hr_api.mandatory_arg_error(p_api_name => l_proc
223: ,p_argument => 'effective_date'
224: ,p_argument_value => p_effective_date
225: );
226: --

Line 227: hr_api.mandatory_arg_error(p_api_name => l_proc

223: ,p_argument => 'effective_date'
224: ,p_argument_value => p_effective_date
225: );
226: --
227: hr_api.mandatory_arg_error(p_api_name => l_proc
228: ,p_argument => 'datetrack_mode'
229: ,p_argument_value => p_datetrack_mode
230: );
231: --

Line 232: hr_api.mandatory_arg_error(p_api_name => l_proc

228: ,p_argument => 'datetrack_mode'
229: ,p_argument_value => p_datetrack_mode
230: );
231: --
232: hr_api.mandatory_arg_error(p_api_name => l_proc
233: ,p_argument => 'approver_type_id'
234: ,p_argument_value => p_approver_type_id
235: );
236: --

Line 237: hr_api.mandatory_arg_error(p_api_name => l_proc

233: ,p_argument => 'approver_type_id'
234: ,p_argument_value => p_approver_type_id
235: );
236: --
237: hr_api.mandatory_arg_error(p_api_name => l_proc
238: ,p_argument => 'object_version_number'
239: ,p_argument_value => p_object_version_number
240: );
241: --

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

240: );
241: --
242: -- Check to ensure the datetrack mode is not INSERT.
243: --
244: If (p_datetrack_mode <> hr_api.g_insert) then
245: --
246: -- We must select and lock the current row.
247: --
248: Open C_Sel1;

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

277: End If;
278: --
279: -- Set the validation start and end date OUT arguments
280: --
281: if (p_datetrack_mode = hr_api.g_update) then
282: p_validation_start_date := p_effective_date;
283: p_validation_end_date := ame_apt_shd.g_old_rec.end_date;
284: elsif (p_datetrack_mode = hr_api.g_delete) then
285: p_validation_start_date := p_effective_date;

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

280: --
281: if (p_datetrack_mode = hr_api.g_update) then
282: p_validation_start_date := p_effective_date;
283: p_validation_end_date := ame_apt_shd.g_old_rec.end_date;
284: elsif (p_datetrack_mode = hr_api.g_delete) then
285: p_validation_start_date := p_effective_date;
286: p_validation_end_date := p_effective_date;
287: end if;
288: --

Line 294: When HR_Api.Object_Locked then

290: --
291: -- We need to trap the ORA LOCK exception
292: --
293: Exception
294: When HR_Api.Object_Locked then
295: --
296: -- The object is locked therefore we need to supply a meaningful
297: -- error message.
298: --