DBA Data[Home] [Help]

APPS.BEN_EPA_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_PRTN_ELIG_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_PRTN_ELIG_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_PRTN_ELIG_PK') 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_PRTN_ELIG_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_PRTN_ELIG_PK') 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_PRTN_ELIG_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_PRTN_ELIG_PK') 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_PRTN_ELIG_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_PRTN_ELIG_PK') 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_PRTN_ELIG_PK') 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: Else

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_PRTN_ELIG_PK') 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: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_PRTN_ELIG_PK') 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: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'BEN_PRTN_ELIG_PK') 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: Else
47: 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('CONSTRAINT_NAME', p_constraint_name);

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

43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: 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('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_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: 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('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(801, '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(801, '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 136: hr_utility.set_location('Entering:'||l_proc, 5);

132: l_proc varchar2(72) := g_package||'api_updating';
133: l_fct_ret boolean;
134: --
135: Begin
136: hr_utility.set_location('Entering:'||l_proc, 5);
137: --
138: If (p_effective_date is null or
139: p_prtn_elig_id is null or
140: p_object_version_number is null) Then

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

145: l_fct_ret := false;
146: Else
147: If (p_prtn_elig_id = g_old_rec.prtn_elig_id and
148: p_object_version_number = g_old_rec.object_version_number) Then
149: hr_utility.set_location(l_proc, 10);
150: --
151: -- The g_old_rec is current therefore we must
152: -- set the returning function to true
153: --

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

162: Close C_Sel1;
163: --
164: -- The primary key is invalid therefore we must error
165: --
166: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
167: hr_utility.raise_error;
168: End If;
169: Close C_Sel1;
170: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 167: hr_utility.raise_error;

163: --
164: -- The primary key is invalid therefore we must error
165: --
166: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
167: hr_utility.raise_error;
168: End If;
169: Close C_Sel1;
170: If (p_object_version_number <> g_old_rec.object_version_number) Then
171: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

167: hr_utility.raise_error;
168: End If;
169: Close C_Sel1;
170: If (p_object_version_number <> g_old_rec.object_version_number) Then
171: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
172: hr_utility.raise_error;
173: End If;
174: hr_utility.set_location(l_proc, 15);
175: l_fct_ret := true;

Line 172: hr_utility.raise_error;

168: End If;
169: Close C_Sel1;
170: If (p_object_version_number <> g_old_rec.object_version_number) Then
171: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
172: hr_utility.raise_error;
173: End If;
174: hr_utility.set_location(l_proc, 15);
175: l_fct_ret := true;
176: End If;

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

170: If (p_object_version_number <> g_old_rec.object_version_number) Then
171: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
172: hr_utility.raise_error;
173: End If;
174: hr_utility.set_location(l_proc, 15);
175: l_fct_ret := true;
176: End If;
177: End If;
178: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

174: hr_utility.set_location(l_proc, 15);
175: l_fct_ret := true;
176: End If;
177: End If;
178: hr_utility.set_location(' Leaving:'||l_proc, 20);
179: Return (l_fct_ret);
180: --
181: End api_updating;
182: --

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

212: and p_effective_date
213: between t.effective_start_date and t.effective_end_date;
214: --
215: Begin
216: hr_utility.set_location('Entering:'||l_proc, 5);
217: Open C_Sel1;
218: Fetch C_Sel1 Into l_parent_key_value1,
219: l_parent_key_value2,
220: l_parent_key_value3,

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

222: l_parent_key_value5,
223: l_parent_key_value6;
224: If C_Sel1%notfound then
225: Close C_Sel1;
226: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
227: hr_utility.set_message_token('PROCEDURE', l_proc);
228: hr_utility.set_message_token('STEP','10');
229: hr_utility.raise_error;
230: End If;

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

223: l_parent_key_value6;
224: If C_Sel1%notfound then
225: Close C_Sel1;
226: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
227: hr_utility.set_message_token('PROCEDURE', l_proc);
228: hr_utility.set_message_token('STEP','10');
229: hr_utility.raise_error;
230: End If;
231: Close C_Sel1;

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

224: If C_Sel1%notfound then
225: Close C_Sel1;
226: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
227: hr_utility.set_message_token('PROCEDURE', l_proc);
228: hr_utility.set_message_token('STEP','10');
229: hr_utility.raise_error;
230: End If;
231: Close C_Sel1;
232: --

Line 229: hr_utility.raise_error;

225: Close C_Sel1;
226: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
227: hr_utility.set_message_token('PROCEDURE', l_proc);
228: hr_utility.set_message_token('STEP','10');
229: hr_utility.raise_error;
230: End If;
231: Close C_Sel1;
232: --
233: -- Call the corresponding datetrack api

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

259: p_delete => p_delete,
260: p_future_change => p_future_change,
261: p_delete_next_change => p_delete_next_change);
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: End find_dt_del_modes;
265: --
266: -- ----------------------------------------------------------------------------
267: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

276: --
277: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
278: --
279: Begin
280: hr_utility.set_location('Entering:'||l_proc, 5);
281: --
282: -- Call the corresponding datetrack api
283: --
284: dt_api.find_dt_upd_modes

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

290: p_update => p_update,
291: p_update_override => p_update_override,
292: p_update_change_insert => p_update_change_insert);
293: --
294: hr_utility.set_location(' Leaving:'||l_proc, 10);
295: End find_dt_upd_modes;
296: --
297: -- ----------------------------------------------------------------------------
298: -- |------------------------< upd_effective_end_date >------------------------|

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

308: l_proc varchar2(72) := g_package||'upd_effective_end_date';
309: l_object_version_number number;
310: --
311: Begin
312: hr_utility.set_location('Entering:'||l_proc, 5);
313: --
314: -- Because we are updating a row we must get the next object
315: -- version number.
316: --

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

319: (p_base_table_name => 'ben_prtn_elig_f',
320: p_base_key_column => 'prtn_elig_id',
321: p_base_key_value => p_base_key_value);
322: --
323: hr_utility.set_location(l_proc, 10);
324: g_api_dml := true; -- Set the api dml status
325: --
326: -- Update the specified datetrack row setting the effective
327: -- end date to the specified new effective end date.

Line 338: hr_utility.set_location(' Leaving:'||l_proc, 15);

334: between t.effective_start_date and t.effective_end_date;
335: --
336: g_api_dml := false; -- Unset the api dml status
337: p_object_version_number := l_object_version_number;
338: hr_utility.set_location(' Leaving:'||l_proc, 15);
339: --
340: Exception
341: When Others Then
342: g_api_dml := false; -- Unset the api dml status

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

430: --
431: --
432: --
433: Begin
434: hr_utility.set_location('Entering:'||l_proc, 5);
435: --
436: -- Ensure that all the mandatory arguments are not null
437: --
438: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

463: Close C_Sel1;
464: --
465: -- The primary key is invalid therefore we must error
466: --
467: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
468: hr_utility.raise_error;
469: End If;
470: Close C_Sel1;
471: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 468: hr_utility.raise_error;

464: --
465: -- The primary key is invalid therefore we must error
466: --
467: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
468: hr_utility.raise_error;
469: End If;
470: Close C_Sel1;
471: If (p_object_version_number <> g_old_rec.object_version_number) Then
472: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

468: hr_utility.raise_error;
469: End If;
470: Close C_Sel1;
471: If (p_object_version_number <> g_old_rec.object_version_number) Then
472: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
473: hr_utility.raise_error;
474: End If;
475: hr_utility.set_location(l_proc, 15);
476: --

Line 473: hr_utility.raise_error;

469: End If;
470: Close C_Sel1;
471: If (p_object_version_number <> g_old_rec.object_version_number) Then
472: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
473: hr_utility.raise_error;
474: End If;
475: hr_utility.set_location(l_proc, 15);
476: --
477: --

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

471: If (p_object_version_number <> g_old_rec.object_version_number) Then
472: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
473: hr_utility.raise_error;
474: End If;
475: hr_utility.set_location(l_proc, 15);
476: --
477: --
478: -- Validate the datetrack mode mode getting the validation start
479: -- and end dates for the specified datetrack operation.

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

514: -- We are doing a datetrack 'INSERT' which is illegal within this
515: -- procedure therefore we must error (note: to lck on insert the
516: -- private procedure ins_lck should be called).
517: --
518: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
519: hr_utility.set_message_token('PROCEDURE', l_proc);
520: hr_utility.set_message_token('STEP','20');
521: hr_utility.raise_error;
522: End If;

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

515: -- procedure therefore we must error (note: to lck on insert the
516: -- private procedure ins_lck should be called).
517: --
518: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
519: hr_utility.set_message_token('PROCEDURE', l_proc);
520: hr_utility.set_message_token('STEP','20');
521: hr_utility.raise_error;
522: End If;
523: --

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

516: -- private procedure ins_lck should be called).
517: --
518: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
519: hr_utility.set_message_token('PROCEDURE', l_proc);
520: hr_utility.set_message_token('STEP','20');
521: hr_utility.raise_error;
522: End If;
523: --
524: -- Set the validation start and end date OUT arguments

Line 521: hr_utility.raise_error;

517: --
518: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
519: hr_utility.set_message_token('PROCEDURE', l_proc);
520: hr_utility.set_message_token('STEP','20');
521: hr_utility.raise_error;
522: End If;
523: --
524: -- Set the validation start and end date OUT arguments
525: --

Line 529: hr_utility.set_location(' Leaving:'||l_proc, 30);

525: --
526: p_validation_start_date := l_validation_start_date;
527: p_validation_end_date := l_validation_end_date;
528: --
529: hr_utility.set_location(' Leaving:'||l_proc, 30);
530: --
531: -- We need to trap the ORA LOCK exception
532: --
533: Exception

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

535: --
536: -- The object is locked therefore we need to supply a meaningful
537: -- error message.
538: --
539: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
540: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
541: hr_utility.raise_error;
542: When l_object_invalid then
543: --

Line 540: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');

536: -- The object is locked therefore we need to supply a meaningful
537: -- error message.
538: --
539: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
540: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
541: hr_utility.raise_error;
542: When l_object_invalid then
543: --
544: -- The object doesn't exist or is invalid

Line 541: hr_utility.raise_error;

537: -- error message.
538: --
539: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
540: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
541: hr_utility.raise_error;
542: When l_object_invalid then
543: --
544: -- The object doesn't exist or is invalid
545: --

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

542: When l_object_invalid then
543: --
544: -- The object doesn't exist or is invalid
545: --
546: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
547: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
548: hr_utility.raise_error;
549: End lck;
550: --

Line 547: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');

543: --
544: -- The object doesn't exist or is invalid
545: --
546: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
547: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
548: hr_utility.raise_error;
549: End lck;
550: --
551: -- ----------------------------------------------------------------------------

Line 548: hr_utility.raise_error;

544: -- The object doesn't exist or is invalid
545: --
546: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
547: hr_utility.set_message_token('TABLE_NAME', 'ben_prtn_elig_f');
548: hr_utility.raise_error;
549: End lck;
550: --
551: -- ----------------------------------------------------------------------------
552: -- |-----------------------------< convert_args >-----------------------------|

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

617: l_proc varchar2(72) := g_package||'convert_args';
618: --
619: Begin
620: --
621: hr_utility.set_location('Entering:'||l_proc, 5);
622: --
623: -- Convert arguments into local l_rec structure.
624: --
625: l_rec.prtn_elig_id := p_prtn_elig_id;

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

681: l_rec.object_version_number := p_object_version_number;
682: --
683: -- Return the plsql record structure.
684: --
685: hr_utility.set_location(' Leaving:'||l_proc, 10);
686: Return(l_rec);
687: --
688: End convert_args;
689: --