DBA Data[Home] [Help]

APPS.BEN_CLP_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_CLPSE_LF_EVT_F_PK') 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_CLPSE_LF_EVT_F_PK') 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: Else

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

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

35: --
36: If (p_constraint_name = 'BEN_CLPSE_LF_EVT_F_PK') 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: Else
42: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'BEN_CLPSE_LF_EVT_F_PK') 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: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);

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

38: hr_utility.set_message_token('PROCEDURE', l_proc);
39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --

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

40: hr_utility.raise_error;
41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 45: hr_utility.raise_error;

41: Else
42: 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('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;

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

44: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
45: hr_utility.raise_error;
46: End If;
47: --
48: hr_utility.set_location(' Leaving:'||l_proc, 10);
49: End constraint_error;
50: --
51: -- ----------------------------------------------------------------------------
52: -- |-----------------------------< 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_clpse_lf_evt_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_clpse_lf_evt_id = g_old_rec.clpse_lf_evt_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 235: hr_utility.set_location('Entering:'||l_proc, 5);

231: and p_effective_date
232: between t.effective_start_date and t.effective_end_date;
233: --
234: Begin
235: hr_utility.set_location('Entering:'||l_proc, 5);
236: Open C_Sel1;
237: Fetch C_Sel1 Into l_parent_key_value1,
238: l_parent_key_value2,
239: l_parent_key_value3,

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

246: l_parent_key_value10,
247: l_parent_key_value11;
248: If C_Sel1%notfound then
249: Close C_Sel1;
250: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
251: hr_utility.set_message_token('PROCEDURE', l_proc);
252: hr_utility.set_message_token('STEP','10');
253: hr_utility.raise_error;
254: End If;

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

247: l_parent_key_value11;
248: If C_Sel1%notfound then
249: Close C_Sel1;
250: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
251: hr_utility.set_message_token('PROCEDURE', l_proc);
252: hr_utility.set_message_token('STEP','10');
253: hr_utility.raise_error;
254: End If;
255: Close C_Sel1;

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

248: If C_Sel1%notfound then
249: Close C_Sel1;
250: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
251: hr_utility.set_message_token('PROCEDURE', l_proc);
252: hr_utility.set_message_token('STEP','10');
253: hr_utility.raise_error;
254: End If;
255: Close C_Sel1;
256: --

Line 253: hr_utility.raise_error;

249: Close C_Sel1;
250: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
251: hr_utility.set_message_token('PROCEDURE', l_proc);
252: hr_utility.set_message_token('STEP','10');
253: hr_utility.raise_error;
254: End If;
255: Close C_Sel1;
256: --
257: -- Call the corresponding datetrack api

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

348: p_delete_next_change := false;
349: --
350: end if;
351: --
352: hr_utility.set_location(' Leaving:'||l_proc, 10);
353: --
354: End find_dt_del_modes;
355: --
356: -- ----------------------------------------------------------------------------

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

366: --
367: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
368: --
369: Begin
370: hr_utility.set_location('Entering:'||l_proc, 5);
371: --
372: -- Call the corresponding datetrack api
373: --
374: dt_api.find_dt_upd_modes

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

380: p_update => p_update,
381: p_update_override => p_update_override,
382: p_update_change_insert => p_update_change_insert);
383: --
384: hr_utility.set_location(' Leaving:'||l_proc, 10);
385: End find_dt_upd_modes;
386: --
387: -- ----------------------------------------------------------------------------
388: -- |------------------------< upd_effective_end_date >------------------------|

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

398: l_proc varchar2(72) := g_package||'upd_effective_end_date';
399: l_object_version_number number;
400: --
401: Begin
402: hr_utility.set_location('Entering:'||l_proc, 5);
403: --
404: -- Because we are updating a row we must get the next object
405: -- version number.
406: --

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

409: (p_base_table_name => 'ben_clpse_lf_evt_f',
410: p_base_key_column => 'clpse_lf_evt_id',
411: p_base_key_value => p_base_key_value);
412: --
413: hr_utility.set_location(l_proc, 10);
414: g_api_dml := true; -- Set the api dml status
415: --
416: -- Update the specified datetrack row setting the effective
417: -- end date to the specified new effective end date.

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

424: between t.effective_start_date and t.effective_end_date;
425: --
426: g_api_dml := false; -- Unset the api dml status
427: p_object_version_number := l_object_version_number;
428: hr_utility.set_location(' Leaving:'||l_proc, 15);
429: --
430: Exception
431: When Others Then
432: g_api_dml := false; -- Unset the api dml status

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

527: --
528: --
529: --
530: Begin
531: hr_utility.set_location('Entering:'||l_proc, 5);
532: --
533: -- Ensure that all the mandatory arguments are not null
534: --
535: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

560: Close C_Sel1;
561: --
562: -- The primary key is invalid therefore we must error
563: --
564: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
565: hr_utility.raise_error;
566: End If;
567: Close C_Sel1;
568: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 565: hr_utility.raise_error;

561: --
562: -- The primary key is invalid therefore we must error
563: --
564: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
565: hr_utility.raise_error;
566: End If;
567: Close C_Sel1;
568: If (p_object_version_number <> g_old_rec.object_version_number) Then
569: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

565: hr_utility.raise_error;
566: End If;
567: Close C_Sel1;
568: If (p_object_version_number <> g_old_rec.object_version_number) Then
569: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
570: hr_utility.raise_error;
571: End If;
572: hr_utility.set_location(l_proc, 15);
573: --

Line 570: hr_utility.raise_error;

566: End If;
567: Close C_Sel1;
568: If (p_object_version_number <> g_old_rec.object_version_number) Then
569: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
570: hr_utility.raise_error;
571: End If;
572: hr_utility.set_location(l_proc, 15);
573: --
574: --

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

568: If (p_object_version_number <> g_old_rec.object_version_number) Then
569: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
570: hr_utility.raise_error;
571: End If;
572: hr_utility.set_location(l_proc, 15);
573: --
574: --
575: -- Validate the datetrack mode mode getting the validation start
576: -- and end dates for the specified datetrack operation.

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

633: -- We are doing a datetrack 'INSERT' which is illegal within this
634: -- procedure therefore we must error (note: to lck on insert the
635: -- private procedure ins_lck should be called).
636: --
637: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
638: hr_utility.set_message_token('PROCEDURE', l_proc);
639: hr_utility.set_message_token('STEP','20');
640: hr_utility.raise_error;
641: --

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

634: -- procedure therefore we must error (note: to lck on insert the
635: -- private procedure ins_lck should be called).
636: --
637: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
638: hr_utility.set_message_token('PROCEDURE', l_proc);
639: hr_utility.set_message_token('STEP','20');
640: hr_utility.raise_error;
641: --
642: End If;

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

635: -- private procedure ins_lck should be called).
636: --
637: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
638: hr_utility.set_message_token('PROCEDURE', l_proc);
639: hr_utility.set_message_token('STEP','20');
640: hr_utility.raise_error;
641: --
642: End If;
643: --

Line 640: hr_utility.raise_error;

636: --
637: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
638: hr_utility.set_message_token('PROCEDURE', l_proc);
639: hr_utility.set_message_token('STEP','20');
640: hr_utility.raise_error;
641: --
642: End If;
643: --
644: -- Set the validation start and end date OUT arguments

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

662: p_validation_end_date := l_validation_end_date1;
663: --
664: end if;
665: --
666: hr_utility.set_location(' Leaving:'||l_proc, 30);
667: --
668: -- We need to trap the ORA LOCK exception
669: --
670: Exception

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

672: --
673: -- The object is locked therefore we need to supply a meaningful
674: -- error message.
675: --
676: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
677: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
678: hr_utility.raise_error;
679: When l_object_invalid then
680: --

Line 677: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');

673: -- The object is locked therefore we need to supply a meaningful
674: -- error message.
675: --
676: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
677: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
678: hr_utility.raise_error;
679: When l_object_invalid then
680: --
681: -- The object doesn't exist or is invalid

Line 678: hr_utility.raise_error;

674: -- error message.
675: --
676: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
677: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
678: hr_utility.raise_error;
679: When l_object_invalid then
680: --
681: -- The object doesn't exist or is invalid
682: --

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

679: When l_object_invalid then
680: --
681: -- The object doesn't exist or is invalid
682: --
683: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
684: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
685: hr_utility.raise_error;
686: End lck;
687: --

Line 684: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');

680: --
681: -- The object doesn't exist or is invalid
682: --
683: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
684: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
685: hr_utility.raise_error;
686: End lck;
687: --
688: -- ----------------------------------------------------------------------------

Line 685: hr_utility.raise_error;

681: -- The object doesn't exist or is invalid
682: --
683: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
684: hr_utility.set_message_token('TABLE_NAME', 'ben_clpse_lf_evt_f');
685: hr_utility.raise_error;
686: End lck;
687: --
688: -- ----------------------------------------------------------------------------
689: -- |-----------------------------< convert_args >-----------------------------|

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

759: l_proc varchar2(72) := g_package||'convert_args';
760: --
761: Begin
762: --
763: hr_utility.set_location('Entering:'||l_proc, 5);
764: --
765: -- Convert arguments into local l_rec structure.
766: --
767: l_rec.clpse_lf_evt_id := p_clpse_lf_evt_id;

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

828: l_rec.object_version_number := p_object_version_number;
829: --
830: -- Return the plsql record structure.
831: --
832: hr_utility.set_location(' Leaving:'||l_proc, 10);
833: Return(l_rec);
834: --
835: End convert_args;
836: --