DBA Data[Home] [Help]

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

120: l_proc varchar2(72) := g_package||'api_updating';
121: l_fct_ret boolean;
122: --
123: Begin
124: hr_utility.set_location('Entering:'||l_proc, 5);
125: --
126: If (p_effective_date is null or
127: p_vrbl_mtchg_rt_id is null or
128: p_object_version_number is null) Then

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

133: l_fct_ret := false;
134: Else
135: If (p_vrbl_mtchg_rt_id = g_old_rec.vrbl_mtchg_rt_id and
136: p_object_version_number = g_old_rec.object_version_number) Then
137: hr_utility.set_location(l_proc, 10);
138: --
139: -- The g_old_rec is current therefore we must
140: -- set the returning function to true
141: --

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

150: Close C_Sel1;
151: --
152: -- The primary key is invalid therefore we must error
153: --
154: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
155: hr_utility.raise_error;
156: End If;
157: Close C_Sel1;
158: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 155: hr_utility.raise_error;

151: --
152: -- The primary key is invalid therefore we must error
153: --
154: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
155: hr_utility.raise_error;
156: End If;
157: Close C_Sel1;
158: If (p_object_version_number <> g_old_rec.object_version_number) Then
159: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

155: hr_utility.raise_error;
156: End If;
157: Close C_Sel1;
158: If (p_object_version_number <> g_old_rec.object_version_number) Then
159: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
160: hr_utility.raise_error;
161: End If;
162: hr_utility.set_location(l_proc, 15);
163: l_fct_ret := true;

Line 160: hr_utility.raise_error;

156: End If;
157: Close C_Sel1;
158: If (p_object_version_number <> g_old_rec.object_version_number) Then
159: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
160: hr_utility.raise_error;
161: End If;
162: hr_utility.set_location(l_proc, 15);
163: l_fct_ret := true;
164: End If;

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

158: If (p_object_version_number <> g_old_rec.object_version_number) Then
159: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
160: hr_utility.raise_error;
161: End If;
162: hr_utility.set_location(l_proc, 15);
163: l_fct_ret := true;
164: End If;
165: End If;
166: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

162: hr_utility.set_location(l_proc, 15);
163: l_fct_ret := true;
164: End If;
165: End If;
166: hr_utility.set_location(' Leaving:'||l_proc, 20);
167: Return (l_fct_ret);
168: --
169: End api_updating;
170: --

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

190: and p_effective_date
191: between t.effective_start_date and t.effective_end_date;
192: --
193: Begin
194: hr_utility.set_location('Entering:'||l_proc, 5);
195: Open C_Sel1;
196: Fetch C_Sel1 Into l_parent_key_value1;
197: If C_Sel1%notfound then
198: Close C_Sel1;

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

195: Open C_Sel1;
196: Fetch C_Sel1 Into l_parent_key_value1;
197: If C_Sel1%notfound then
198: Close C_Sel1;
199: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
200: hr_utility.set_message_token('PROCEDURE', l_proc);
201: hr_utility.set_message_token('STEP','10');
202: hr_utility.raise_error;
203: End If;

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

196: Fetch C_Sel1 Into l_parent_key_value1;
197: If C_Sel1%notfound then
198: Close C_Sel1;
199: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
200: hr_utility.set_message_token('PROCEDURE', l_proc);
201: hr_utility.set_message_token('STEP','10');
202: hr_utility.raise_error;
203: End If;
204: Close C_Sel1;

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

197: If C_Sel1%notfound then
198: Close C_Sel1;
199: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
200: hr_utility.set_message_token('PROCEDURE', l_proc);
201: hr_utility.set_message_token('STEP','10');
202: hr_utility.raise_error;
203: End If;
204: Close C_Sel1;
205: --

Line 202: hr_utility.raise_error;

198: Close C_Sel1;
199: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
200: hr_utility.set_message_token('PROCEDURE', l_proc);
201: hr_utility.set_message_token('STEP','10');
202: hr_utility.raise_error;
203: End If;
204: Close C_Sel1;
205: --
206: -- Call the corresponding datetrack api

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

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

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

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

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

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

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

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

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

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

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

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

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

381: --
382: --
383: --
384: Begin
385: hr_utility.set_location('Entering:'||l_proc, 5);
386: --
387: -- Ensure that all the mandatory arguments are not null
388: --
389: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

414: Close C_Sel1;
415: --
416: -- The primary key is invalid therefore we must error
417: --
418: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
419: hr_utility.raise_error;
420: End If;
421: Close C_Sel1;
422: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 419: hr_utility.raise_error;

415: --
416: -- The primary key is invalid therefore we must error
417: --
418: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
419: hr_utility.raise_error;
420: End If;
421: Close C_Sel1;
422: If (p_object_version_number <> g_old_rec.object_version_number) Then
423: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

419: hr_utility.raise_error;
420: End If;
421: Close C_Sel1;
422: If (p_object_version_number <> g_old_rec.object_version_number) Then
423: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
424: hr_utility.raise_error;
425: End If;
426: hr_utility.set_location(l_proc, 15);
427: --

Line 424: hr_utility.raise_error;

420: End If;
421: Close C_Sel1;
422: If (p_object_version_number <> g_old_rec.object_version_number) Then
423: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
424: hr_utility.raise_error;
425: End If;
426: hr_utility.set_location(l_proc, 15);
427: --
428: --

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

422: If (p_object_version_number <> g_old_rec.object_version_number) Then
423: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
424: hr_utility.raise_error;
425: End If;
426: hr_utility.set_location(l_proc, 15);
427: --
428: --
429: -- Validate the datetrack mode mode getting the validation start
430: -- and end dates for the specified datetrack operation.

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

446: -- We are doing a datetrack 'INSERT' which is illegal within this
447: -- procedure therefore we must error (note: to lck on insert the
448: -- private procedure ins_lck should be called).
449: --
450: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
451: hr_utility.set_message_token('PROCEDURE', l_proc);
452: hr_utility.set_message_token('STEP','20');
453: hr_utility.raise_error;
454: End If;

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

447: -- procedure therefore we must error (note: to lck on insert the
448: -- private procedure ins_lck should be called).
449: --
450: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
451: hr_utility.set_message_token('PROCEDURE', l_proc);
452: hr_utility.set_message_token('STEP','20');
453: hr_utility.raise_error;
454: End If;
455: --

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

448: -- private procedure ins_lck should be called).
449: --
450: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
451: hr_utility.set_message_token('PROCEDURE', l_proc);
452: hr_utility.set_message_token('STEP','20');
453: hr_utility.raise_error;
454: End If;
455: --
456: -- Set the validation start and end date OUT arguments

Line 453: hr_utility.raise_error;

449: --
450: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
451: hr_utility.set_message_token('PROCEDURE', l_proc);
452: hr_utility.set_message_token('STEP','20');
453: hr_utility.raise_error;
454: End If;
455: --
456: -- Set the validation start and end date OUT arguments
457: --

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

457: --
458: p_validation_start_date := l_validation_start_date;
459: p_validation_end_date := l_validation_end_date;
460: --
461: hr_utility.set_location(' Leaving:'||l_proc, 30);
462: --
463: -- We need to trap the ORA LOCK exception
464: --
465: Exception

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

467: --
468: -- The object is locked therefore we need to supply a meaningful
469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
473: hr_utility.raise_error;
474: When l_object_invalid then
475: --

Line 472: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');

468: -- The object is locked therefore we need to supply a meaningful
469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
473: hr_utility.raise_error;
474: When l_object_invalid then
475: --
476: -- The object doesn't exist or is invalid

Line 473: hr_utility.raise_error;

469: -- error message.
470: --
471: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
472: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
473: hr_utility.raise_error;
474: When l_object_invalid then
475: --
476: -- The object doesn't exist or is invalid
477: --

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

474: When l_object_invalid then
475: --
476: -- The object doesn't exist or is invalid
477: --
478: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
479: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
480: hr_utility.raise_error;
481: End lck;
482: --

Line 479: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');

475: --
476: -- The object doesn't exist or is invalid
477: --
478: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
479: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
480: hr_utility.raise_error;
481: End lck;
482: --
483: -- ----------------------------------------------------------------------------

Line 480: hr_utility.raise_error;

476: -- The object doesn't exist or is invalid
477: --
478: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
479: hr_utility.set_message_token('TABLE_NAME', 'ben_vrbl_mtchg_rt_f');
480: hr_utility.raise_error;
481: End lck;
482: --
483: -- ----------------------------------------------------------------------------
484: -- |-----------------------------< convert_args >-----------------------------|

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

542: l_proc varchar2(72) := g_package||'convert_args';
543: --
544: Begin
545: --
546: hr_utility.set_location('Entering:'||l_proc, 5);
547: --
548: -- Convert arguments into local l_rec structure.
549: --
550: l_rec.vrbl_mtchg_rt_id := p_vrbl_mtchg_rt_id;

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

599: l_rec.object_version_number := p_object_version_number;
600: --
601: -- Return the plsql record structure.
602: --
603: hr_utility.set_location(' Leaving:'||l_proc, 10);
604: Return(l_rec);
605: --
606: End convert_args;
607: --