DBA Data[Home] [Help]

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

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

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

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

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

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

Line 145: hr_utility.raise_error;

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

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

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

Line 150: hr_utility.raise_error;

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

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

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

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

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

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

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

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

185: Open C_Sel1;
186: Fetch C_Sel1 Into l_parent_key_value1;
187: If C_Sel1%notfound then
188: Close C_Sel1;
189: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
190: hr_utility.set_message_token('PROCEDURE', l_proc);
191: hr_utility.set_message_token('STEP','10');
192: hr_utility.raise_error;
193: End If;

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

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

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

187: If C_Sel1%notfound then
188: Close C_Sel1;
189: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
190: hr_utility.set_message_token('PROCEDURE', l_proc);
191: hr_utility.set_message_token('STEP','10');
192: hr_utility.raise_error;
193: End If;
194: Close C_Sel1;
195: --

Line 192: hr_utility.raise_error;

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

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

207: p_delete => p_delete,
208: p_future_change => p_future_change,
209: p_delete_next_change => p_delete_next_change);
210: --
211: hr_utility.set_location(' Leaving:'||l_proc, 10);
212: End find_dt_del_modes;
213: --
214: -- ----------------------------------------------------------------------------
215: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

224: --
225: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
226: --
227: Begin
228: hr_utility.set_location('Entering:'||l_proc, 5);
229: --
230: -- Call the corresponding datetrack api
231: --
232: dt_api.find_dt_upd_modes

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

238: p_update => p_update,
239: p_update_override => p_update_override,
240: p_update_change_insert => p_update_change_insert);
241: --
242: hr_utility.set_location(' Leaving:'||l_proc, 10);
243: End find_dt_upd_modes;
244: --
245: -- ----------------------------------------------------------------------------
246: -- |------------------------< upd_effective_end_date >------------------------|

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

256: l_proc varchar2(72) := g_package||'upd_effective_end_date';
257: l_object_version_number number;
258: --
259: Begin
260: hr_utility.set_location('Entering:'||l_proc, 5);
261: --
262: -- Because we are updating a row we must get the next object
263: -- version number.
264: --

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

267: (p_base_table_name => 'ben_ppl_grp_rt_f',
268: p_base_key_column => 'ppl_grp_rt_id',
269: p_base_key_value => p_base_key_value);
270: --
271: hr_utility.set_location(l_proc, 10);
272: g_api_dml := true; -- Set the api dml status
273: --
274: -- Update the specified datetrack row setting the effective
275: -- end date to the specified new effective end date.

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

282: between t.effective_start_date and t.effective_end_date;
283: --
284: g_api_dml := false; -- Unset the api dml status
285: p_object_version_number := l_object_version_number;
286: hr_utility.set_location(' Leaving:'||l_proc, 15);
287: --
288: Exception
289: When Others Then
290: g_api_dml := false; -- Unset the api dml status

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

361: --
362: --
363: --
364: Begin
365: hr_utility.set_location('Entering:'||l_proc, 5);
366: --
367: -- Ensure that all the mandatory arguments are not null
368: --
369: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

394: Close C_Sel1;
395: --
396: -- The primary key is invalid therefore we must error
397: --
398: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
399: hr_utility.raise_error;
400: End If;
401: Close C_Sel1;
402: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 399: hr_utility.raise_error;

395: --
396: -- The primary key is invalid therefore we must error
397: --
398: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
399: hr_utility.raise_error;
400: End If;
401: Close C_Sel1;
402: If (p_object_version_number <> g_old_rec.object_version_number) Then
403: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

399: hr_utility.raise_error;
400: End If;
401: Close C_Sel1;
402: If (p_object_version_number <> g_old_rec.object_version_number) Then
403: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
404: hr_utility.raise_error;
405: End If;
406: hr_utility.set_location(l_proc, 15);
407: --

Line 404: hr_utility.raise_error;

400: End If;
401: Close C_Sel1;
402: If (p_object_version_number <> g_old_rec.object_version_number) Then
403: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
404: hr_utility.raise_error;
405: End If;
406: hr_utility.set_location(l_proc, 15);
407: --
408: --

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

402: If (p_object_version_number <> g_old_rec.object_version_number) Then
403: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
404: hr_utility.raise_error;
405: End If;
406: hr_utility.set_location(l_proc, 15);
407: --
408: --
409: -- Validate the datetrack mode mode getting the validation start
410: -- and end dates for the specified datetrack operation.

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

426: -- We are doing a datetrack 'INSERT' which is illegal within this
427: -- procedure therefore we must error (note: to lck on insert the
428: -- private procedure ins_lck should be called).
429: --
430: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
431: hr_utility.set_message_token('PROCEDURE', l_proc);
432: hr_utility.set_message_token('STEP','20');
433: hr_utility.raise_error;
434: End If;

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

427: -- procedure therefore we must error (note: to lck on insert the
428: -- private procedure ins_lck should be called).
429: --
430: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
431: hr_utility.set_message_token('PROCEDURE', l_proc);
432: hr_utility.set_message_token('STEP','20');
433: hr_utility.raise_error;
434: End If;
435: --

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

428: -- private procedure ins_lck should be called).
429: --
430: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
431: hr_utility.set_message_token('PROCEDURE', l_proc);
432: hr_utility.set_message_token('STEP','20');
433: hr_utility.raise_error;
434: End If;
435: --
436: -- Set the validation start and end date OUT arguments

Line 433: hr_utility.raise_error;

429: --
430: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
431: hr_utility.set_message_token('PROCEDURE', l_proc);
432: hr_utility.set_message_token('STEP','20');
433: hr_utility.raise_error;
434: End If;
435: --
436: -- Set the validation start and end date OUT arguments
437: --

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

437: --
438: p_validation_start_date := l_validation_start_date;
439: p_validation_end_date := l_validation_end_date;
440: --
441: hr_utility.set_location(' Leaving:'||l_proc, 30);
442: --
443: -- We need to trap the ORA LOCK exception
444: --
445: Exception

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

447: --
448: -- The object is locked therefore we need to supply a meaningful
449: -- error message.
450: --
451: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
453: hr_utility.raise_error;
454: When l_object_invalid then
455: --

Line 452: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');

448: -- The object is locked therefore we need to supply a meaningful
449: -- error message.
450: --
451: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
453: hr_utility.raise_error;
454: When l_object_invalid then
455: --
456: -- The object doesn't exist or is invalid

Line 453: hr_utility.raise_error;

449: -- error message.
450: --
451: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
453: hr_utility.raise_error;
454: When l_object_invalid then
455: --
456: -- The object doesn't exist or is invalid
457: --

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

454: When l_object_invalid then
455: --
456: -- The object doesn't exist or is invalid
457: --
458: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
459: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
460: hr_utility.raise_error;
461: End lck;
462: --

Line 459: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');

455: --
456: -- The object doesn't exist or is invalid
457: --
458: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
459: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
460: hr_utility.raise_error;
461: End lck;
462: --
463: -- ----------------------------------------------------------------------------

Line 460: hr_utility.raise_error;

456: -- The object doesn't exist or is invalid
457: --
458: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
459: hr_utility.set_message_token('TABLE_NAME', 'ben_ppl_grp_rt_f');
460: hr_utility.raise_error;
461: End lck;
462: --
463: -- ----------------------------------------------------------------------------
464: -- |-----------------------------< convert_args >-----------------------------|

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

512: l_proc varchar2(72) := g_package||'convert_args';
513: --
514: Begin
515: --
516: hr_utility.set_location('Entering:'||l_proc, 5);
517: --
518: -- Convert arguments into local l_rec structure.
519: --
520: l_rec.ppl_grp_rt_id := p_ppl_grp_rt_id;

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

559: l_rec.object_version_number := p_object_version_number;
560: --
561: -- Return the plsql record structure.
562: --
563: hr_utility.set_location(' Leaving:'||l_proc, 10);
564: Return(l_rec);
565: --
566: End convert_args;
567: --