DBA Data[Home] [Help]

APPS.AME_ACT_UPD dependencies on HR_API

Line 70: If (p_datetrack_mode = hr_api.g_correction) then

66: --
67: Begin
68: hr_utility.set_location('Entering:'||l_proc, 5);
69: --
70: If (p_datetrack_mode = hr_api.g_correction) then
71: hr_utility.set_location(l_proc, 10);
72: --
73: -- Because we are updating a row we must get the next object
74: -- version number.

Line 111: When hr_api.check_integrity_violated Then

107: End If;
108: --
109: hr_utility.set_location(' Leaving:'||l_proc, 15);
110: Exception
111: When hr_api.check_integrity_violated Then
112: -- A check constraint has been violated
113: --
114: ame_act_shd.constraint_error
115: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 115: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

111: When hr_api.check_integrity_violated Then
112: -- A check constraint has been violated
113: --
114: ame_act_shd.constraint_error
115: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
116: When hr_api.unique_integrity_violated Then
117: -- Unique integrity has been violated
118: --
119: ame_act_shd.constraint_error

Line 116: When hr_api.unique_integrity_violated Then

112: -- A check constraint has been violated
113: --
114: ame_act_shd.constraint_error
115: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
116: When hr_api.unique_integrity_violated Then
117: -- Unique integrity has been violated
118: --
119: ame_act_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

116: When hr_api.unique_integrity_violated Then
117: -- Unique integrity has been violated
118: --
119: ame_act_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When Others Then
122: --
123: Raise;
124: End dt_update_dml;

Line 237: If (p_datetrack_mode <> hr_api.g_correction) then

233: l_dummy_version_number number;
234: --
235: Begin
236: hr_utility.set_location('Entering:'||l_proc, 5);
237: If (p_datetrack_mode <> hr_api.g_correction) then
238: --
239: -- Update the current effective end date
240: --
241: ame_act_shd.upd_end_date

Line 251: If (p_datetrack_mode = hr_api.g_update_override) then

247: ,p_validation_end_date => p_validation_end_date
248: ,p_object_version_number => l_dummy_version_number
249: );
250: --
251: If (p_datetrack_mode = hr_api.g_update_override) then
252: --
253: -- As the datetrack mode is 'UPDATE_OVERRIDE' then we must
254: -- delete any future rows
255: --

Line 427: when hr_api.cannot_find_prog_unit then

423: );
424: --
425: exception
426: --
427: when hr_api.cannot_find_prog_unit then
428: --
429: hr_api.cannot_find_prog_unit_error
430: (p_module_name => 'AME_ACTIONS'
431: ,p_hook_type => 'AU');

Line 429: hr_api.cannot_find_prog_unit_error

425: exception
426: --
427: when hr_api.cannot_find_prog_unit then
428: --
429: hr_api.cannot_find_prog_unit_error
430: (p_module_name => 'AME_ACTIONS'
431: ,p_hook_type => 'AU');
432: --
433: end;

Line 492: If (p_rec.parameter = hr_api.g_varchar2) then

488: -- p_rec plsql record structure
489: -- to see if a system default is being used. If a system default
490: -- is being used then we must set to the 'current' argument value.
491: --
492: If (p_rec.parameter = hr_api.g_varchar2) then
493: p_rec.parameter :=
494: ame_act_shd.g_old_rec.parameter;
495: End If;
496: If (p_rec.description = hr_api.g_varchar2) then

Line 496: If (p_rec.description = hr_api.g_varchar2) then

492: If (p_rec.parameter = hr_api.g_varchar2) then
493: p_rec.parameter :=
494: ame_act_shd.g_old_rec.parameter;
495: End If;
496: If (p_rec.description = hr_api.g_varchar2) then
497: p_rec.description :=
498: ame_act_shd.g_old_rec.description;
499: End If;
500: If (p_rec.security_group_id = hr_api.g_number) then

Line 500: If (p_rec.security_group_id = hr_api.g_number) then

496: If (p_rec.description = hr_api.g_varchar2) then
497: p_rec.description :=
498: ame_act_shd.g_old_rec.description;
499: End If;
500: If (p_rec.security_group_id = hr_api.g_number) then
501: p_rec.security_group_id :=
502: ame_act_shd.g_old_rec.security_group_id;
503: End If;
504: If (p_rec.parameter_two = hr_api.g_varchar2) then

Line 504: If (p_rec.parameter_two = hr_api.g_varchar2) then

500: If (p_rec.security_group_id = hr_api.g_number) then
501: p_rec.security_group_id :=
502: ame_act_shd.g_old_rec.security_group_id;
503: End If;
504: If (p_rec.parameter_two = hr_api.g_varchar2) then
505: p_rec.parameter_two :=
506: ame_act_shd.g_old_rec.parameter_two;
507: End If;
508: --

Line 605: ,p_description in varchar2 default hr_api.g_varchar2

601: ,p_datetrack_mode in varchar2
602: ,p_action_id in number
603: ,p_action_type_id in number
604: ,p_object_version_number in out nocopy number
605: ,p_description in varchar2 default hr_api.g_varchar2
606: ,p_parameter in varchar2 default hr_api.g_varchar2
607: ,p_security_group_id in number default hr_api.g_number
608: ,p_parameter_two in varchar2 default hr_api.g_varchar2
609: ,p_start_date out nocopy date

Line 606: ,p_parameter in varchar2 default hr_api.g_varchar2

602: ,p_action_id in number
603: ,p_action_type_id in number
604: ,p_object_version_number in out nocopy number
605: ,p_description in varchar2 default hr_api.g_varchar2
606: ,p_parameter in varchar2 default hr_api.g_varchar2
607: ,p_security_group_id in number default hr_api.g_number
608: ,p_parameter_two in varchar2 default hr_api.g_varchar2
609: ,p_start_date out nocopy date
610: ,p_end_date out nocopy date

Line 607: ,p_security_group_id in number default hr_api.g_number

603: ,p_action_type_id in number
604: ,p_object_version_number in out nocopy number
605: ,p_description in varchar2 default hr_api.g_varchar2
606: ,p_parameter in varchar2 default hr_api.g_varchar2
607: ,p_security_group_id in number default hr_api.g_number
608: ,p_parameter_two in varchar2 default hr_api.g_varchar2
609: ,p_start_date out nocopy date
610: ,p_end_date out nocopy date
611: ) is

Line 608: ,p_parameter_two in varchar2 default hr_api.g_varchar2

604: ,p_object_version_number in out nocopy number
605: ,p_description in varchar2 default hr_api.g_varchar2
606: ,p_parameter in varchar2 default hr_api.g_varchar2
607: ,p_security_group_id in number default hr_api.g_number
608: ,p_parameter_two in varchar2 default hr_api.g_varchar2
609: ,p_start_date out nocopy date
610: ,p_end_date out nocopy date
611: ) is
612: --