DBA Data[Home] [Help]

APPS.BEN_ENP_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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_ENRT_PERD_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 159: hr_utility.set_location('Entering:'||l_proc, 5);

155: l_proc varchar2(72) := g_package||'api_updating';
156: l_fct_ret boolean;
157: --
158: Begin
159: hr_utility.set_location('Entering:'||l_proc, 5);
160: --
161: If (
162: p_enrt_perd_id is null and
163: p_object_version_number is null

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

171: If (
172: p_enrt_perd_id = g_old_rec.enrt_perd_id and
173: p_object_version_number = g_old_rec.object_version_number
174: ) Then
175: hr_utility.set_location(l_proc, 10);
176: --
177: -- The g_old_rec is current therefore we must
178: -- set the returning function to true
179: --

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

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

Line 193: hr_utility.raise_error;

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

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

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

Line 198: hr_utility.raise_error;

194: End If;
195: Close C_Sel1;
196: If (p_object_version_number <> g_old_rec.object_version_number) Then
197: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
198: hr_utility.raise_error;
199: End If;
200: hr_utility.set_location(l_proc, 15);
201: l_fct_ret := true;
202: End If;

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

196: If (p_object_version_number <> g_old_rec.object_version_number) Then
197: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
198: hr_utility.raise_error;
199: End If;
200: hr_utility.set_location(l_proc, 15);
201: l_fct_ret := true;
202: End If;
203: End If;
204: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

200: hr_utility.set_location(l_proc, 15);
201: l_fct_ret := true;
202: End If;
203: End If;
204: hr_utility.set_location(' Leaving:'||l_proc, 20);
205: Return (l_fct_ret);
206: --
207: End api_updating;
208: --

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

301: --
302: l_proc varchar2(72) := g_package||'lck';
303: --
304: Begin
305: hr_utility.set_location('Entering:'||l_proc, 5);
306: --
307: -- Add any mandatory argument checking here:
308: -- Example:
309: -- hr_api.mandatory_arg_error

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

317: Close C_Sel1;
318: --
319: -- The primary key is invalid therefore we must error
320: --
321: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
322: hr_utility.raise_error;
323: End If;
324: Close C_Sel1;
325: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 322: hr_utility.raise_error;

318: --
319: -- The primary key is invalid therefore we must error
320: --
321: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
322: hr_utility.raise_error;
323: End If;
324: Close C_Sel1;
325: If (p_object_version_number <> g_old_rec.object_version_number) Then
326: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

322: hr_utility.raise_error;
323: End If;
324: Close C_Sel1;
325: If (p_object_version_number <> g_old_rec.object_version_number) Then
326: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
327: hr_utility.raise_error;
328: End If;
329: --
330: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 327: hr_utility.raise_error;

323: End If;
324: Close C_Sel1;
325: If (p_object_version_number <> g_old_rec.object_version_number) Then
326: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
327: hr_utility.raise_error;
328: End If;
329: --
330: hr_utility.set_location(' Leaving:'||l_proc, 10);
331: --

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

326: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
327: hr_utility.raise_error;
328: End If;
329: --
330: hr_utility.set_location(' Leaving:'||l_proc, 10);
331: --
332: -- We need to trap the ORA LOCK exception
333: --
334: Exception

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

336: --
337: -- The object is locked therefore we need to supply a meaningful
338: -- error message.
339: --
340: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
341: hr_utility.set_message_token('TABLE_NAME', 'ben_enrt_perd');
342: hr_utility.raise_error;
343: End lck;
344: --

Line 341: hr_utility.set_message_token('TABLE_NAME', 'ben_enrt_perd');

337: -- The object is locked therefore we need to supply a meaningful
338: -- error message.
339: --
340: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
341: hr_utility.set_message_token('TABLE_NAME', 'ben_enrt_perd');
342: hr_utility.raise_error;
343: End lck;
344: --
345: -- ----------------------------------------------------------------------------

Line 342: hr_utility.raise_error;

338: -- error message.
339: --
340: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
341: hr_utility.set_message_token('TABLE_NAME', 'ben_enrt_perd');
342: hr_utility.raise_error;
343: End lck;
344: --
345: -- ----------------------------------------------------------------------------
346: -- |-----------------------------< convert_args >-----------------------------|

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

430: l_proc varchar2(72) := g_package||'convert_args';
431: --
432: Begin
433: --
434: hr_utility.set_location('Entering:'||l_proc, 5);
435: --
436: -- Convert arguments into local l_rec structure.
437: --
438: l_rec.enrt_perd_id := p_enrt_perd_id;

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

512: l_rec.defer_deenrol_flag := p_defer_deenrol_flag;
513: --
514: -- Return the plsql record structure.
515: --
516: hr_utility.set_location(' Leaving:'||l_proc, 10);
517: Return(l_rec);
518: --
519: End convert_args;
520: --