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

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

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

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

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

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

Line 194: hr_utility.raise_error;

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

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

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

Line 199: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 324: hr_utility.raise_error;

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

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

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

Line 329: hr_utility.raise_error;

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

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

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

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

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

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

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

Line 344: hr_utility.raise_error;

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

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

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

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

516: l_rec.defer_deenrol_flag := p_defer_deenrol_flag;
517: --
518: -- Return the plsql record structure.
519: --
520: hr_utility.set_location(' Leaving:'||l_proc, 10);
521: Return(l_rec);
522: --
523: End convert_args;
524: --