DBA Data[Home] [Help]

APPS.AME_RUL_SHD dependencies on HR_API

Line 217: hr_api.mandatory_arg_error(p_api_name => l_proc

213: hr_utility.set_location('Entering:'||l_proc, 5);
214: --
215: -- Ensure that all the mandatory arguments are not null
216: --
217: hr_api.mandatory_arg_error(p_api_name => l_proc
218: ,p_argument => 'effective_date'
219: ,p_argument_value => p_effective_date
220: );
221: --

Line 222: hr_api.mandatory_arg_error(p_api_name => l_proc

218: ,p_argument => 'effective_date'
219: ,p_argument_value => p_effective_date
220: );
221: --
222: hr_api.mandatory_arg_error(p_api_name => l_proc
223: ,p_argument => 'datetrack_mode'
224: ,p_argument_value => p_datetrack_mode
225: );
226: --

Line 227: hr_api.mandatory_arg_error(p_api_name => l_proc

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

Line 232: hr_api.mandatory_arg_error(p_api_name => l_proc

228: ,p_argument => 'rule_id'
229: ,p_argument_value => p_rule_id
230: );
231: --
232: hr_api.mandatory_arg_error(p_api_name => l_proc
233: ,p_argument => 'object_version_number'
234: ,p_argument_value => p_object_version_number
235: );
236: --

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

235: );
236: --
237: -- Check to ensure the datetrack mode is not INSERT.
238: --
239: If (p_datetrack_mode <> hr_api.g_insert) then
240: --
241: -- We must select and lock the current row.
242: --
243: Open C_Sel1;

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

272: End If;
273: --
274: -- Set the validation start and end date OUT arguments
275: --
276: if (p_datetrack_mode = hr_api.g_update) then
277: p_validation_start_date := p_effective_date;
278: p_validation_end_date := ame_rul_shd.g_old_rec.end_date;
279: elsif (p_datetrack_mode = hr_api.g_delete) then
280: p_validation_start_date := p_effective_date;

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

275: --
276: if (p_datetrack_mode = hr_api.g_update) then
277: p_validation_start_date := p_effective_date;
278: p_validation_end_date := ame_rul_shd.g_old_rec.end_date;
279: elsif (p_datetrack_mode = hr_api.g_delete) then
280: p_validation_start_date := p_effective_date;
281: p_validation_end_date := p_effective_date;
282: end if;
283: --

Line 289: When HR_Api.Object_Locked then

285: --
286: -- We need to trap the ORA LOCK exception
287: --
288: Exception
289: When HR_Api.Object_Locked then
290: --
291: -- The object is locked therefore we need to supply a meaningful
292: -- error message.
293: --