DBA Data[Home] [Help]

APPS.HR_AHC_SHD dependencies on HR_UTILITY

Line 19: hr_utility.set_location('Entering:'||l_proc, 5);

15: --
16: l_proc varchar2(72) := g_package||'constraint_error';
17: --
18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'HR_API_HOOK_CALLS_CK1') Then
22: hr_utility.set_message(800, 'PER_52135_AHC_HK_CALL_TYPE_INV');
23: hr_utility.raise_error;

Line 22: hr_utility.set_message(800, 'PER_52135_AHC_HK_CALL_TYPE_INV');

18: Begin
19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'HR_API_HOOK_CALLS_CK1') Then
22: hr_utility.set_message(800, 'PER_52135_AHC_HK_CALL_TYPE_INV');
23: hr_utility.raise_error;
24:
25: ----------------------------------------------------------------------
26: -- This constraint now has two error messages associated with it.

Line 23: hr_utility.raise_error;

19: hr_utility.set_location('Entering:'||l_proc, 5);
20: --
21: If (p_constraint_name = 'HR_API_HOOK_CALLS_CK1') Then
22: hr_utility.set_message(800, 'PER_52135_AHC_HK_CALL_TYPE_INV');
23: hr_utility.raise_error;
24:
25: ----------------------------------------------------------------------
26: -- This constraint now has two error messages associated with it.
27: -- These are called from the chk_sequence procedure and therefore this

Line 31: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

27: -- These are called from the chk_sequence procedure and therefore this
28: -- condition will never be called.
29: ----------------------------------------------------------------------
30: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_CK2') 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','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then

Line 32: hr_utility.set_message_token('PROCEDURE', l_proc);

28: -- condition will never be called.
29: ----------------------------------------------------------------------
30: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_CK2') 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','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');

Line 33: hr_utility.set_message_token('STEP','10');

29: ----------------------------------------------------------------------
30: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_CK2') 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','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;

Line 34: hr_utility.raise_error;

30: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_CK2') 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','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then

Line 36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');

32: hr_utility.set_message_token('PROCEDURE', l_proc);
33: hr_utility.set_message_token('STEP','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 37: hr_utility.raise_error;

33: hr_utility.set_message_token('STEP','10');
34: hr_utility.raise_error;
35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');

Line 39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');

35: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_FK1') Then
36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then

Line 40: hr_utility.set_message_token('PROCEDURE', l_proc);

36: hr_utility.set_message(800, 'PER_52134_AHC_HOOK_ID_INV');
37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');

Line 41: hr_utility.set_message_token('STEP','20');

37: hr_utility.raise_error;
38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;

Line 42: hr_utility.raise_error;

38: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_PK') Then
39: hr_utility.set_message(800, 'HR_6153_ALL_PROCEDURE_FAIL');
40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;
46: Else

Line 44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');

40: hr_utility.set_message_token('PROCEDURE', l_proc);
41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: hr_utility.set_message_token('STEP','20');
42: hr_utility.raise_error;
43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');

43: ElsIf (p_constraint_name = 'HR_API_HOOK_CALLS_UK1') Then
44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;

Line 48: hr_utility.set_message_token('PROCEDURE', l_proc);

44: hr_utility.set_message(800, 'PER_52139_AHC_DUP_PROC_CALL');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --

Line 49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 50: hr_utility.raise_error;

46: Else
47: hr_utility.set_message(800, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;

Line 53: hr_utility.set_location(' Leaving:'||l_proc, 10);

49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;
55: --
56: -- ----------------------------------------------------------------------------
57: -- |-----------------------------< api_updating >-----------------------------|

Line 91: hr_utility.set_location('Entering:'||l_proc, 5);

87: l_proc varchar2(72) := g_package||'api_updating';
88: l_fct_ret boolean;
89: --
90: Begin
91: hr_utility.set_location('Entering:'||l_proc, 5);
92: --
93: If (
94: p_api_hook_call_id is null and
95: p_object_version_number is null

Line 107: hr_utility.set_location(l_proc, 10);

103: If (
104: p_api_hook_call_id = g_old_rec.api_hook_call_id and
105: p_object_version_number = g_old_rec.object_version_number
106: ) Then
107: hr_utility.set_location(l_proc, 10);
108: --
109: -- The g_old_rec is current therefore we must
110: -- set the returning function to true
111: --

Line 124: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

120: Close C_Sel1;
121: --
122: -- The primary key is invalid therefore we must error
123: --
124: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 125: hr_utility.raise_error;

121: --
122: -- The primary key is invalid therefore we must error
123: --
124: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

125: hr_utility.raise_error;
126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;

Line 130: hr_utility.raise_error;

126: End If;
127: Close C_Sel1;
128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;

Line 132: hr_utility.set_location(l_proc, 15);

128: If (p_object_version_number <> g_old_rec.object_version_number) Then
129: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
130: hr_utility.raise_error;
131: End If;
132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;
135: End If;
136: hr_utility.set_location(' Leaving:'||l_proc, 20);

Line 136: hr_utility.set_location(' Leaving:'||l_proc, 20);

132: hr_utility.set_location(l_proc, 15);
133: l_fct_ret := true;
134: End If;
135: End If;
136: hr_utility.set_location(' Leaving:'||l_proc, 20);
137: Return (l_fct_ret);
138: --
139: End api_updating;
140: --

Line 174: hr_utility.set_location('Entering:'||l_proc, 5);

170: --
171: l_proc varchar2(72) := g_package||'lck';
172: --
173: Begin
174: hr_utility.set_location('Entering:'||l_proc, 5);
175: --
176: -- Check that the object version number is set
177: --
178: hr_api.mandatory_arg_error

Line 191: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');

187: Close C_Sel1;
188: --
189: -- The primary key is invalid therefore we must error
190: --
191: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
192: hr_utility.raise_error;
193: End If;
194: Close C_Sel1;
195: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 192: hr_utility.raise_error;

188: --
189: -- The primary key is invalid therefore we must error
190: --
191: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
192: hr_utility.raise_error;
193: End If;
194: Close C_Sel1;
195: If (p_object_version_number <> g_old_rec.object_version_number) Then
196: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

Line 196: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

192: hr_utility.raise_error;
193: End If;
194: Close C_Sel1;
195: If (p_object_version_number <> g_old_rec.object_version_number) Then
196: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
197: hr_utility.raise_error;
198: End If;
199: --
200: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 197: hr_utility.raise_error;

193: End If;
194: Close C_Sel1;
195: If (p_object_version_number <> g_old_rec.object_version_number) Then
196: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
197: hr_utility.raise_error;
198: End If;
199: --
200: hr_utility.set_location(' Leaving:'||l_proc, 10);
201: --

Line 200: hr_utility.set_location(' Leaving:'||l_proc, 10);

196: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
197: hr_utility.raise_error;
198: End If;
199: --
200: hr_utility.set_location(' Leaving:'||l_proc, 10);
201: --
202: -- We need to trap the ORA LOCK exception
203: --
204: Exception

Line 210: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');

206: --
207: -- The object is locked therefore we need to supply a meaningful
208: -- error message.
209: --
210: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
211: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hook_calls');
212: hr_utility.raise_error;
213: End lck;
214: --

Line 211: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hook_calls');

207: -- The object is locked therefore we need to supply a meaningful
208: -- error message.
209: --
210: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
211: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hook_calls');
212: hr_utility.raise_error;
213: End lck;
214: --
215: -- ----------------------------------------------------------------------------

Line 212: hr_utility.raise_error;

208: -- error message.
209: --
210: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
211: hr_utility.set_message_token('TABLE_NAME', 'hr_api_hook_calls');
212: hr_utility.raise_error;
213: End lck;
214: --
215: -- ----------------------------------------------------------------------------
216: -- |-----------------------------< convert_args >-----------------------------|

Line 242: hr_utility.set_location('Entering:'||l_proc, 5);

238: l_proc varchar2(72) := g_package||'convert_args';
239: --
240: Begin
241: --
242: hr_utility.set_location('Entering:'||l_proc, 5);
243: --
244: -- Convert arguments into local l_rec structure.
245: --
246: l_rec.api_hook_call_id := p_api_hook_call_id;

Line 263: hr_utility.set_location(' Leaving:'||l_proc, 10);

259: l_rec.app_install_status := p_app_install_status;
260: --
261: -- Return the plsql record structure.
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: Return(l_rec);
265: --
266: End convert_args;
267: --