DBA Data[Home] [Help]

APPS.BEN_XDF_SHD dependencies on HR_UTILITY

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

14: --
15: l_proc varchar2(72) := g_package||'return_api_dml_status';
16: --
17: Begin
18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);

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

18: hr_utility.set_location('Entering:'||l_proc, 5);
19: --
20: Return (nvl(g_api_dml, false));
21: --
22: hr_utility.set_location(' Leaving:'||l_proc, 10);
23: End return_api_dml_status;
24: --
25: -- ----------------------------------------------------------------------------
26: -- |---------------------------< constraint_error >---------------------------|

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

30: --
31: l_proc varchar2(72) := g_package||'constraint_error';
32: --
33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'BEN_EXT_DFN_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

33: Begin
34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'BEN_EXT_DFN_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then

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

34: hr_utility.set_location('Entering:'||l_proc, 5);
35: --
36: If (p_constraint_name = 'BEN_EXT_DFN_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 39: hr_utility.set_message_token('STEP','5');

35: --
36: If (p_constraint_name = 'BEN_EXT_DFN_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'BEN_EXT_DFN_FK1') Then
37: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

Line 42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'BEN_EXT_DFN_FK2') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');

Line 47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

Line 49: hr_utility.set_message_token('STEP','15');

45: hr_utility.raise_error;
46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 50: hr_utility.raise_error;

46: ElsIf (p_constraint_name = 'BEN_EXT_DFN_PK') Then
47: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;

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

49: hr_utility.set_message_token('STEP','15');
50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --

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

50: hr_utility.raise_error;
51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --
58: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 55: hr_utility.raise_error;

51: Else
52: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
53: hr_utility.set_message_token('PROCEDURE', l_proc);
54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --
58: hr_utility.set_location(' Leaving:'||l_proc, 10);
59: End constraint_error;

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

54: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
55: hr_utility.raise_error;
56: End If;
57: --
58: hr_utility.set_location(' Leaving:'||l_proc, 10);
59: End constraint_error;
60: --
61: -- ----------------------------------------------------------------------------
62: -- |-----------------------------< api_updating >-----------------------------|

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

140: l_proc varchar2(72) := g_package||'api_updating';
141: l_fct_ret boolean;
142: --
143: Begin
144: hr_utility.set_location('Entering:'||l_proc, 5);
145: --
146: If (
147: p_ext_dfn_id is null and
148: p_object_version_number is null

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

156: If (
157: p_ext_dfn_id = g_old_rec.ext_dfn_id and
158: p_object_version_number = g_old_rec.object_version_number
159: ) Then
160: hr_utility.set_location(l_proc, 10);
161: --
162: -- The g_old_rec is current therefore we must
163: -- set the returning function to true
164: --

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

173: Close C_Sel1;
174: --
175: -- The primary key is invalid therefore we must error
176: --
177: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 178: hr_utility.raise_error;

174: --
175: -- The primary key is invalid therefore we must error
176: --
177: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

178: hr_utility.raise_error;
179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: hr_utility.set_location(l_proc, 15);
186: l_fct_ret := true;

Line 183: hr_utility.raise_error;

179: End If;
180: Close C_Sel1;
181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: hr_utility.set_location(l_proc, 15);
186: l_fct_ret := true;
187: End If;

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

181: If (p_object_version_number <> g_old_rec.object_version_number) Then
182: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
183: hr_utility.raise_error;
184: End If;
185: hr_utility.set_location(l_proc, 15);
186: l_fct_ret := true;
187: End If;
188: End If;
189: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

185: hr_utility.set_location(l_proc, 15);
186: l_fct_ret := true;
187: End If;
188: End If;
189: hr_utility.set_location(' Leaving:'||l_proc, 20);
190: Return (l_fct_ret);
191: --
192: End api_updating;
193: --

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

271: --
272: l_proc varchar2(72) := g_package||'lck';
273: --
274: Begin
275: hr_utility.set_location('Entering:'||l_proc, 5);
276: --
277: -- Add any mandatory argument checking here:
278: -- Example:
279: -- hr_api.mandatory_arg_error

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

287: Close C_Sel1;
288: --
289: -- The primary key is invalid therefore we must error
290: --
291: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
292: hr_utility.raise_error;
293: End If;
294: Close C_Sel1;
295: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 292: hr_utility.raise_error;

288: --
289: -- The primary key is invalid therefore we must error
290: --
291: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
292: hr_utility.raise_error;
293: End If;
294: Close C_Sel1;
295: If (p_object_version_number <> g_old_rec.object_version_number) Then
296: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

292: hr_utility.raise_error;
293: End If;
294: Close C_Sel1;
295: If (p_object_version_number <> g_old_rec.object_version_number) Then
296: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
297: hr_utility.raise_error;
298: End If;
299: --
300: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 297: hr_utility.raise_error;

293: End If;
294: Close C_Sel1;
295: If (p_object_version_number <> g_old_rec.object_version_number) Then
296: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
297: hr_utility.raise_error;
298: End If;
299: --
300: hr_utility.set_location(' Leaving:'||l_proc, 10);
301: --

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

296: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
297: hr_utility.raise_error;
298: End If;
299: --
300: hr_utility.set_location(' Leaving:'||l_proc, 10);
301: --
302: -- We need to trap the ORA LOCK exception
303: --
304: Exception

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

306: --
307: -- The object is locked therefore we need to supply a meaningful
308: -- error message.
309: --
310: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
311: hr_utility.set_message_token('TABLE_NAME', 'ben_ext_dfn');
312: hr_utility.raise_error;
313: End lck;
314: --

Line 311: hr_utility.set_message_token('TABLE_NAME', 'ben_ext_dfn');

307: -- The object is locked therefore we need to supply a meaningful
308: -- error message.
309: --
310: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
311: hr_utility.set_message_token('TABLE_NAME', 'ben_ext_dfn');
312: hr_utility.raise_error;
313: End lck;
314: --
315: -- ----------------------------------------------------------------------------

Line 312: hr_utility.raise_error;

308: -- error message.
309: --
310: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
311: hr_utility.set_message_token('TABLE_NAME', 'ben_ext_dfn');
312: hr_utility.raise_error;
313: End lck;
314: --
315: -- ----------------------------------------------------------------------------
316: -- |-----------------------------< convert_args >-----------------------------|

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

386: l_proc varchar2(72) := g_package||'convert_args';
387: --
388: Begin
389: --
390: hr_utility.set_location('Entering:'||l_proc, 5);
391: --
392: -- Convert arguments into local l_rec structure.
393: --
394: l_rec.ext_dfn_id := p_ext_dfn_id;

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

455: l_rec.ext_post_prcs_rl := p_ext_post_prcs_rl;
456: --
457: -- Return the plsql record structure.
458: --
459: hr_utility.set_location(' Leaving:'||l_proc, 10);
460: Return(l_rec);
461: --
462: End convert_args;
463: --