DBA Data[Home] [Help]

APPS.HR_AHK_SHD dependencies on HR_API

Line 21: If (p_constraint_name = 'HR_API_HOOKS_CK1') Then

17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'HR_API_HOOKS_CK1') Then
22: hr_utility.set_message(800, 'PER_52127_AHK_HOOK_TYPE_INV');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'HR_API_HOOKS_CK2') Then
25: hr_utility.set_message(800, 'PER_52133_AHK_LEG_PACK_FUN_INV');

Line 24: ElsIf (p_constraint_name = 'HR_API_HOOKS_CK2') Then

20: --
21: If (p_constraint_name = 'HR_API_HOOKS_CK1') Then
22: hr_utility.set_message(800, 'PER_52127_AHK_HOOK_TYPE_INV');
23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'HR_API_HOOKS_CK2') Then
25: hr_utility.set_message(800, 'PER_52133_AHK_LEG_PACK_FUN_INV');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'HR_API_HOOKS_FK1') Then
28: hr_utility.set_message(800, 'PER_52154_AHK_MOD_ID_INV');

Line 27: ElsIf (p_constraint_name = 'HR_API_HOOKS_FK1') Then

23: hr_utility.raise_error;
24: ElsIf (p_constraint_name = 'HR_API_HOOKS_CK2') Then
25: hr_utility.set_message(800, 'PER_52133_AHK_LEG_PACK_FUN_INV');
26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'HR_API_HOOKS_FK1') Then
28: hr_utility.set_message(800, 'PER_52154_AHK_MOD_ID_INV');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_API_HOOKS_PK') Then
31: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 30: ElsIf (p_constraint_name = 'HR_API_HOOKS_PK') Then

26: hr_utility.raise_error;
27: ElsIf (p_constraint_name = 'HR_API_HOOKS_FK1') Then
28: hr_utility.set_message(800, 'PER_52154_AHK_MOD_ID_INV');
29: hr_utility.raise_error;
30: ElsIf (p_constraint_name = 'HR_API_HOOKS_PK') Then
31: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
32: hr_utility.set_message_token('PROCEDURE', l_proc);
33: hr_utility.set_message_token('STEP','20');
34: hr_utility.raise_error;

Line 35: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK1') Then

31: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
32: hr_utility.set_message_token('PROCEDURE', l_proc);
33: hr_utility.set_message_token('STEP','20');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK1') Then
36: hr_utility.set_message(800, 'PER_52128_AHK_DUP_HOOK_TYPE');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK2') Then
39: hr_utility.set_message(800, 'PER_52130_AHK_HOOK_PROC_INV');

Line 38: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK2') Then

34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK1') Then
36: hr_utility.set_message(800, 'PER_52128_AHK_DUP_HOOK_TYPE');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOKS_UK2') Then
39: hr_utility.set_message(800, 'PER_52130_AHK_HOOK_PROC_INV');
40: hr_utility.raise_error;
41: Else
42: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');

Line 73: from hr_api_hooks

69: legislation_code,
70: legislation_package,
71: legislation_function,
72: encoded_error
73: from hr_api_hooks
74: where api_hook_id = p_api_hook_id;
75: --
76: l_proc varchar2(72) := g_package||'api_updating';
77: l_fct_ret boolean;

Line 145: from hr_api_hooks

141: legislation_code,
142: legislation_package,
143: legislation_function,
144: encoded_error
145: from hr_api_hooks
146: where api_hook_id = p_api_hook_id
147: for update nowait;
148: --
149: l_proc varchar2(72) := g_package||'lck';

Line 156: -- hr_api.mandatory_arg_error

152: hr_utility.set_location('Entering:'||l_proc, 5);
153: --
154: -- Add any mandatory argument checking here:
155: -- Example:
156: -- hr_api.mandatory_arg_error
157: -- (p_api_name => l_proc,
158: -- p_argument => 'object_version_number',
159: -- p_argument_value => p_object_version_number);
160: --

Line 179: When HR_Api.Object_Locked then

175: --
176: -- We need to trap the ORA LOCK exception
177: --
178: Exception
179: When HR_Api.Object_Locked then
180: --
181: -- The object is locked therefore we need to supply a meaningful
182: -- error message.
183: --

Line 185: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hooks');

181: -- The object is locked therefore we need to supply a meaningful
182: -- error message.
183: --
184: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
185: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hooks');
186: hr_utility.raise_error;
187: End lck;
188: --
189: -- ----------------------------------------------------------------------------