DBA Data[Home] [Help]

APPS.AME_APG_SHD dependencies on HR_API

Line 200: hr_api.mandatory_arg_error(p_api_name => l_proc

196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: -- Ensure that all the mandatory arguments are not null
199: --
200: hr_api.mandatory_arg_error(p_api_name => l_proc
201: ,p_argument => 'effective_date'
202: ,p_argument_value => p_effective_date
203: );
204: --

Line 205: hr_api.mandatory_arg_error(p_api_name => l_proc

201: ,p_argument => 'effective_date'
202: ,p_argument_value => p_effective_date
203: );
204: --
205: hr_api.mandatory_arg_error(p_api_name => l_proc
206: ,p_argument => 'datetrack_mode'
207: ,p_argument_value => p_datetrack_mode
208: );
209: --

Line 210: hr_api.mandatory_arg_error(p_api_name => l_proc

206: ,p_argument => 'datetrack_mode'
207: ,p_argument_value => p_datetrack_mode
208: );
209: --
210: hr_api.mandatory_arg_error(p_api_name => l_proc
211: ,p_argument => 'approval_group_id'
212: ,p_argument_value => p_approval_group_id
213: );
214: --

Line 215: hr_api.mandatory_arg_error(p_api_name => l_proc

211: ,p_argument => 'approval_group_id'
212: ,p_argument_value => p_approval_group_id
213: );
214: --
215: hr_api.mandatory_arg_error(p_api_name => l_proc
216: ,p_argument => 'object_version_number'
217: ,p_argument_value => p_object_version_number
218: );
219: --

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

218: );
219: --
220: -- Check to ensure the datetrack mode is not INSERT.
221: --
222: If (p_datetrack_mode <> hr_api.g_insert) then
223: --
224: -- We must select and lock the current row.
225: --
226: Open C_Sel1;

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

255: End If;
256: --
257: -- Set the validation start and end date OUT arguments
258: --
259: if (p_datetrack_mode = hr_api.g_update) then
260: p_validation_start_date := p_effective_date;
261: p_validation_end_date := ame_apg_shd.g_old_rec.end_date;
262: elsif (p_datetrack_mode = hr_api.g_delete) then
263: p_validation_start_date := p_effective_date;

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

258: --
259: if (p_datetrack_mode = hr_api.g_update) then
260: p_validation_start_date := p_effective_date;
261: p_validation_end_date := ame_apg_shd.g_old_rec.end_date;
262: elsif (p_datetrack_mode = hr_api.g_delete) then
263: p_validation_start_date := p_effective_date;
264: p_validation_end_date := p_effective_date;
265: end if;
266: --

Line 272: When HR_Api.Object_Locked then

268: --
269: -- We need to trap the ORA LOCK exception
270: --
271: Exception
272: When HR_Api.Object_Locked then
273: --
274: -- The object is locked therefore we need to supply a meaningful
275: -- error message.
276: --