DBA Data[Home] [Help]

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

111: l_proc varchar2(72) := g_package||'api_updating';
112: l_fct_ret boolean;
113: --
114: Begin
115: hr_utility.set_location('Entering:'||l_proc, 5);
116: --
117: If (p_effective_date is null or
118: p_elig_per_wv_pl_typ_id is null or
119: p_object_version_number is null) Then

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

124: l_fct_ret := false;
125: Else
126: If (p_elig_per_wv_pl_typ_id = g_old_rec.elig_per_wv_pl_typ_id and
127: p_object_version_number = g_old_rec.object_version_number) Then
128: hr_utility.set_location(l_proc, 10);
129: --
130: -- The g_old_rec is current therefore we must
131: -- set the returning function to true
132: --

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

141: Close C_Sel1;
142: --
143: -- The primary key is invalid therefore we must error
144: --
145: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
146: hr_utility.raise_error;
147: End If;
148: Close C_Sel1;
149: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 146: hr_utility.raise_error;

142: --
143: -- The primary key is invalid therefore we must error
144: --
145: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
146: hr_utility.raise_error;
147: End If;
148: Close C_Sel1;
149: If (p_object_version_number <> g_old_rec.object_version_number) Then
150: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

146: hr_utility.raise_error;
147: End If;
148: Close C_Sel1;
149: If (p_object_version_number <> g_old_rec.object_version_number) Then
150: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
151: hr_utility.raise_error;
152: End If;
153: hr_utility.set_location(l_proc, 15);
154: l_fct_ret := true;

Line 151: hr_utility.raise_error;

147: End If;
148: Close C_Sel1;
149: If (p_object_version_number <> g_old_rec.object_version_number) Then
150: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
151: hr_utility.raise_error;
152: End If;
153: hr_utility.set_location(l_proc, 15);
154: l_fct_ret := true;
155: End If;

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

149: If (p_object_version_number <> g_old_rec.object_version_number) Then
150: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
151: hr_utility.raise_error;
152: End If;
153: hr_utility.set_location(l_proc, 15);
154: l_fct_ret := true;
155: End If;
156: End If;
157: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

153: hr_utility.set_location(l_proc, 15);
154: l_fct_ret := true;
155: End If;
156: End If;
157: hr_utility.set_location(' Leaving:'||l_proc, 20);
158: Return (l_fct_ret);
159: --
160: End api_updating;
161: --

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

183: and p_effective_date
184: between t.effective_start_date and t.effective_end_date;
185: --
186: Begin
187: hr_utility.set_location('Entering:'||l_proc, 5);
188: Open C_Sel1;
189: Fetch C_Sel1 Into l_parent_key_value1,
190: l_parent_key_value2;
191: If C_Sel1%notfound then

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

189: Fetch C_Sel1 Into l_parent_key_value1,
190: l_parent_key_value2;
191: If C_Sel1%notfound then
192: Close C_Sel1;
193: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
194: hr_utility.set_message_token('PROCEDURE', l_proc);
195: hr_utility.set_message_token('STEP','10');
196: hr_utility.raise_error;
197: End If;

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

190: l_parent_key_value2;
191: If C_Sel1%notfound then
192: Close C_Sel1;
193: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
194: hr_utility.set_message_token('PROCEDURE', l_proc);
195: hr_utility.set_message_token('STEP','10');
196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;

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

191: If C_Sel1%notfound then
192: Close C_Sel1;
193: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
194: hr_utility.set_message_token('PROCEDURE', l_proc);
195: hr_utility.set_message_token('STEP','10');
196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;
199: --

Line 196: hr_utility.raise_error;

192: Close C_Sel1;
193: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
194: hr_utility.set_message_token('PROCEDURE', l_proc);
195: hr_utility.set_message_token('STEP','10');
196: hr_utility.raise_error;
197: End If;
198: Close C_Sel1;
199: --
200: -- Call the corresponding datetrack api

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

214: p_delete => p_delete,
215: p_future_change => p_future_change,
216: p_delete_next_change => p_delete_next_change);
217: --
218: hr_utility.set_location(' Leaving:'||l_proc, 10);
219: End find_dt_del_modes;
220: --
221: -- ----------------------------------------------------------------------------
222: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

231: --
232: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
233: --
234: Begin
235: hr_utility.set_location('Entering:'||l_proc, 5);
236: --
237: -- Call the corresponding datetrack api
238: --
239: dt_api.find_dt_upd_modes

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

245: p_update => p_update,
246: p_update_override => p_update_override,
247: p_update_change_insert => p_update_change_insert);
248: --
249: hr_utility.set_location(' Leaving:'||l_proc, 10);
250: End find_dt_upd_modes;
251: --
252: -- ----------------------------------------------------------------------------
253: -- |------------------------< upd_effective_end_date >------------------------|

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

263: l_proc varchar2(72) := g_package||'upd_effective_end_date';
264: l_object_version_number number;
265: --
266: Begin
267: hr_utility.set_location('Entering:'||l_proc, 5);
268: --
269: -- Because we are updating a row we must get the next object
270: -- version number.
271: --

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

274: (p_base_table_name => 'ben_elig_per_wv_pl_typ_f',
275: p_base_key_column => 'elig_per_wv_pl_typ_id',
276: p_base_key_value => p_base_key_value);
277: --
278: hr_utility.set_location(l_proc, 10);
279: g_api_dml := true; -- Set the api dml status
280: --
281: -- Update the specified datetrack row setting the effective
282: -- end date to the specified new effective end date.

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

289: between t.effective_start_date and t.effective_end_date;
290: --
291: g_api_dml := false; -- Unset the api dml status
292: p_object_version_number := l_object_version_number;
293: hr_utility.set_location(' Leaving:'||l_proc, 15);
294: --
295: Exception
296: When Others Then
297: g_api_dml := false; -- Unset the api dml status

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

369: --
370: --
371: --
372: Begin
373: hr_utility.set_location('Entering:'||l_proc, 5);
374: --
375: -- Ensure that all the mandatory arguments are not null
376: --
377: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

402: Close C_Sel1;
403: --
404: -- The primary key is invalid therefore we must error
405: --
406: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
407: hr_utility.raise_error;
408: End If;
409: Close C_Sel1;
410: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 407: hr_utility.raise_error;

403: --
404: -- The primary key is invalid therefore we must error
405: --
406: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
407: hr_utility.raise_error;
408: End If;
409: Close C_Sel1;
410: If (p_object_version_number <> g_old_rec.object_version_number) Then
411: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

407: hr_utility.raise_error;
408: End If;
409: Close C_Sel1;
410: If (p_object_version_number <> g_old_rec.object_version_number) Then
411: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
412: hr_utility.raise_error;
413: End If;
414: hr_utility.set_location(l_proc, 15);
415: --

Line 412: hr_utility.raise_error;

408: End If;
409: Close C_Sel1;
410: If (p_object_version_number <> g_old_rec.object_version_number) Then
411: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
412: hr_utility.raise_error;
413: End If;
414: hr_utility.set_location(l_proc, 15);
415: --
416: --

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

410: If (p_object_version_number <> g_old_rec.object_version_number) Then
411: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
412: hr_utility.raise_error;
413: End If;
414: hr_utility.set_location(l_proc, 15);
415: --
416: --
417: -- Validate the datetrack mode mode getting the validation start
418: -- and end dates for the specified datetrack operation.

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

437: -- We are doing a datetrack 'INSERT' which is illegal within this
438: -- procedure therefore we must error (note: to lck on insert the
439: -- private procedure ins_lck should be called).
440: --
441: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
442: hr_utility.set_message_token('PROCEDURE', l_proc);
443: hr_utility.set_message_token('STEP','20');
444: hr_utility.raise_error;
445: End If;

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

438: -- procedure therefore we must error (note: to lck on insert the
439: -- private procedure ins_lck should be called).
440: --
441: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
442: hr_utility.set_message_token('PROCEDURE', l_proc);
443: hr_utility.set_message_token('STEP','20');
444: hr_utility.raise_error;
445: End If;
446: --

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

439: -- private procedure ins_lck should be called).
440: --
441: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
442: hr_utility.set_message_token('PROCEDURE', l_proc);
443: hr_utility.set_message_token('STEP','20');
444: hr_utility.raise_error;
445: End If;
446: --
447: -- Set the validation start and end date OUT arguments

Line 444: hr_utility.raise_error;

440: --
441: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
442: hr_utility.set_message_token('PROCEDURE', l_proc);
443: hr_utility.set_message_token('STEP','20');
444: hr_utility.raise_error;
445: End If;
446: --
447: -- Set the validation start and end date OUT arguments
448: --

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

448: --
449: p_validation_start_date := l_validation_start_date;
450: p_validation_end_date := l_validation_end_date;
451: --
452: hr_utility.set_location(' Leaving:'||l_proc, 30);
453: --
454: -- We need to trap the ORA LOCK exception
455: --
456: Exception

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

458: --
459: -- The object is locked therefore we need to supply a meaningful
460: -- error message.
461: --
462: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
463: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
464: hr_utility.raise_error;
465: When l_object_invalid then
466: --

Line 463: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');

459: -- The object is locked therefore we need to supply a meaningful
460: -- error message.
461: --
462: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
463: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
464: hr_utility.raise_error;
465: When l_object_invalid then
466: --
467: -- The object doesn't exist or is invalid

Line 464: hr_utility.raise_error;

460: -- error message.
461: --
462: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
463: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
464: hr_utility.raise_error;
465: When l_object_invalid then
466: --
467: -- The object doesn't exist or is invalid
468: --

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

465: When l_object_invalid then
466: --
467: -- The object doesn't exist or is invalid
468: --
469: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
470: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
471: hr_utility.raise_error;
472: End lck;
473: --

Line 470: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');

466: --
467: -- The object doesn't exist or is invalid
468: --
469: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
470: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
471: hr_utility.raise_error;
472: End lck;
473: --
474: -- ----------------------------------------------------------------------------

Line 471: hr_utility.raise_error;

467: -- The object doesn't exist or is invalid
468: --
469: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
470: hr_utility.set_message_token('TABLE_NAME', 'ben_elig_per_wv_pl_typ_f');
471: hr_utility.raise_error;
472: End lck;
473: --
474: -- ----------------------------------------------------------------------------
475: -- |-----------------------------< convert_args >-----------------------------|

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

524: l_proc varchar2(72) := g_package||'convert_args';
525: --
526: Begin
527: --
528: hr_utility.set_location('Entering:'||l_proc, 5);
529: --
530: -- Convert arguments into local l_rec structure.
531: --
532: l_rec.elig_per_wv_pl_typ_id := p_elig_per_wv_pl_typ_id;

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

572: l_rec.object_version_number := p_object_version_number;
573: --
574: -- Return the plsql record structure.
575: --
576: hr_utility.set_location(' Leaving:'||l_proc, 10);
577: Return(l_rec);
578: --
579: End convert_args;
580: --