DBA Data[Home] [Help]

APPS.BEN_BVR_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_BNFT_VRBL_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_BNFT_VRBL_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_BNFT_VRBL_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_BNFT_VRBL_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_BNFT_VRBL_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 113: hr_utility.set_location('Entering:'||l_proc, 5);

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

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

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

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

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

Line 144: hr_utility.raise_error;

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

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

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

Line 149: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 194: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Line 403: hr_utility.raise_error;

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

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

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

Line 408: hr_utility.raise_error;

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

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

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

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

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

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

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

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

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

Line 440: hr_utility.raise_error;

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

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

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

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

454: --
455: -- The object is locked therefore we need to supply a meaningful
456: -- error message.
457: --
458: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
459: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');
460: hr_utility.raise_error;
461: When l_object_invalid then
462: --

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

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

Line 460: hr_utility.raise_error;

456: -- error message.
457: --
458: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
459: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');
460: hr_utility.raise_error;
461: When l_object_invalid then
462: --
463: -- The object doesn't exist or is invalid
464: --

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

461: When l_object_invalid then
462: --
463: -- The object doesn't exist or is invalid
464: --
465: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
466: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');
467: hr_utility.raise_error;
468: End lck;
469: --

Line 466: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');

462: --
463: -- The object doesn't exist or is invalid
464: --
465: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
466: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');
467: hr_utility.raise_error;
468: End lck;
469: --
470: -- ----------------------------------------------------------------------------

Line 467: hr_utility.raise_error;

463: -- The object doesn't exist or is invalid
464: --
465: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
466: hr_utility.set_message_token('TABLE_NAME', 'ben_bnft_vrbl_rt_f');
467: hr_utility.raise_error;
468: End lck;
469: --
470: -- ----------------------------------------------------------------------------
471: -- |-----------------------------< convert_args >-----------------------------|

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

518: l_proc varchar2(72) := g_package||'convert_args';
519: --
520: Begin
521: --
522: hr_utility.set_location('Entering:'||l_proc, 5);
523: --
524: -- Convert arguments into local l_rec structure.
525: --
526: l_rec.bnft_vrbl_rt_id := p_bnft_vrbl_rt_id;

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

564: l_rec.ordr_num := p_ordr_num;
565: --
566: -- Return the plsql record structure.
567: --
568: hr_utility.set_location(' Leaving:'||l_proc, 10);
569: Return(l_rec);
570: --
571: End convert_args;
572: --