DBA Data[Home] [Help]

APPS.BEN_CPT_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_CMBN_PTIP_OPT_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_CMBN_PTIP_OPT_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_CMBN_PTIP_OPT_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_CMBN_PTIP_OPT_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_CMBN_PTIP_OPT_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_cmbn_ptip_opt_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_cmbn_ptip_opt_id = g_old_rec.cmbn_ptip_opt_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 178: hr_utility.set_location('Entering:'||l_proc, 5);

174: --
175: --
176: --
177: Begin
178: hr_utility.set_location('Entering:'||l_proc, 5);
179: --
180: --
181: -- Call the corresponding datetrack api
182: --

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

189: p_delete => p_delete,
190: p_future_change => p_future_change,
191: p_delete_next_change => p_delete_next_change);
192: --
193: hr_utility.set_location(' Leaving:'||l_proc, 10);
194: End find_dt_del_modes;
195: --
196: -- ----------------------------------------------------------------------------
197: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

206: --
207: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
208: --
209: Begin
210: hr_utility.set_location('Entering:'||l_proc, 5);
211: --
212: -- Call the corresponding datetrack api
213: --
214: dt_api.find_dt_upd_modes

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

220: p_update => p_update,
221: p_update_override => p_update_override,
222: p_update_change_insert => p_update_change_insert);
223: --
224: hr_utility.set_location(' Leaving:'||l_proc, 10);
225: End find_dt_upd_modes;
226: --
227: -- ----------------------------------------------------------------------------
228: -- |------------------------< upd_effective_end_date >------------------------|

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

238: l_proc varchar2(72) := g_package||'upd_effective_end_date';
239: l_object_version_number number;
240: --
241: Begin
242: hr_utility.set_location('Entering:'||l_proc, 5);
243: --
244: -- Because we are updating a row we must get the next object
245: -- version number.
246: --

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

249: (p_base_table_name => 'ben_cmbn_ptip_opt_f',
250: p_base_key_column => 'cmbn_ptip_opt_id',
251: p_base_key_value => p_base_key_value);
252: --
253: hr_utility.set_location(l_proc, 10);
254: g_api_dml := true; -- Set the api dml status
255: --
256: -- Update the specified datetrack row setting the effective
257: -- end date to the specified new effective end date.

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

264: between t.effective_start_date and t.effective_end_date;
265: --
266: g_api_dml := false; -- Unset the api dml status
267: p_object_version_number := l_object_version_number;
268: hr_utility.set_location(' Leaving:'||l_proc, 15);
269: --
270: Exception
271: When Others Then
272: g_api_dml := false; -- Unset the api dml status

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

343: --
344: --
345: --
346: Begin
347: hr_utility.set_location('Entering:'||l_proc, 5);
348: --
349: -- Ensure that all the mandatory arguments are not null
350: --
351: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

376: Close C_Sel1;
377: --
378: -- The primary key is invalid therefore we must error
379: --
380: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
381: hr_utility.raise_error;
382: End If;
383: Close C_Sel1;
384: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 381: hr_utility.raise_error;

377: --
378: -- The primary key is invalid therefore we must error
379: --
380: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
381: hr_utility.raise_error;
382: End If;
383: Close C_Sel1;
384: If (p_object_version_number <> g_old_rec.object_version_number) Then
385: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

381: hr_utility.raise_error;
382: End If;
383: Close C_Sel1;
384: If (p_object_version_number <> g_old_rec.object_version_number) Then
385: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
386: hr_utility.raise_error;
387: End If;
388: hr_utility.set_location(l_proc, 15);
389: --

Line 386: hr_utility.raise_error;

382: End If;
383: Close C_Sel1;
384: If (p_object_version_number <> g_old_rec.object_version_number) Then
385: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
386: hr_utility.raise_error;
387: End If;
388: hr_utility.set_location(l_proc, 15);
389: --
390: --

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

384: If (p_object_version_number <> g_old_rec.object_version_number) Then
385: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
386: hr_utility.raise_error;
387: End If;
388: hr_utility.set_location(l_proc, 15);
389: --
390: --
391: -- Validate the datetrack mode mode getting the validation start
392: -- and end dates for the specified datetrack operation.

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

419: -- We are doing a datetrack 'INSERT' which is illegal within this
420: -- procedure therefore we must error (note: to lck on insert the
421: -- private procedure ins_lck should be called).
422: --
423: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
424: hr_utility.set_message_token('PROCEDURE', l_proc);
425: hr_utility.set_message_token('STEP','20');
426: hr_utility.raise_error;
427: End If;

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

420: -- procedure therefore we must error (note: to lck on insert the
421: -- private procedure ins_lck should be called).
422: --
423: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
424: hr_utility.set_message_token('PROCEDURE', l_proc);
425: hr_utility.set_message_token('STEP','20');
426: hr_utility.raise_error;
427: End If;
428: --

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

421: -- private procedure ins_lck should be called).
422: --
423: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
424: hr_utility.set_message_token('PROCEDURE', l_proc);
425: hr_utility.set_message_token('STEP','20');
426: hr_utility.raise_error;
427: End If;
428: --
429: -- Set the validation start and end date OUT arguments

Line 426: hr_utility.raise_error;

422: --
423: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
424: hr_utility.set_message_token('PROCEDURE', l_proc);
425: hr_utility.set_message_token('STEP','20');
426: hr_utility.raise_error;
427: End If;
428: --
429: -- Set the validation start and end date OUT arguments
430: --

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

430: --
431: p_validation_start_date := l_validation_start_date;
432: p_validation_end_date := l_validation_end_date;
433: --
434: hr_utility.set_location(' Leaving:'||l_proc, 30);
435: --
436: -- We need to trap the ORA LOCK exception
437: --
438: Exception

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

440: --
441: -- The object is locked therefore we need to supply a meaningful
442: -- error message.
443: --
444: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
445: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
446: hr_utility.raise_error;
447: When l_object_invalid then
448: --

Line 445: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');

441: -- The object is locked therefore we need to supply a meaningful
442: -- error message.
443: --
444: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
445: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
446: hr_utility.raise_error;
447: When l_object_invalid then
448: --
449: -- The object doesn't exist or is invalid

Line 446: hr_utility.raise_error;

442: -- error message.
443: --
444: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
445: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
446: hr_utility.raise_error;
447: When l_object_invalid then
448: --
449: -- The object doesn't exist or is invalid
450: --

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

447: When l_object_invalid then
448: --
449: -- The object doesn't exist or is invalid
450: --
451: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
453: hr_utility.raise_error;
454: End lck;
455: --

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

448: --
449: -- The object doesn't exist or is invalid
450: --
451: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
453: hr_utility.raise_error;
454: End lck;
455: --
456: -- ----------------------------------------------------------------------------

Line 453: hr_utility.raise_error;

449: -- The object doesn't exist or is invalid
450: --
451: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
452: hr_utility.set_message_token('TABLE_NAME', 'ben_cmbn_ptip_opt_f');
453: hr_utility.raise_error;
454: End lck;
455: --
456: -- ----------------------------------------------------------------------------
457: -- |-----------------------------< convert_args >-----------------------------|

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

505: l_proc varchar2(72) := g_package||'convert_args';
506: --
507: Begin
508: --
509: hr_utility.set_location('Entering:'||l_proc, 5);
510: --
511: -- Convert arguments into local l_rec structure.
512: --
513: l_rec.cmbn_ptip_opt_id := p_cmbn_ptip_opt_id;

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

552: l_rec.opt_id := p_opt_id;
553: --
554: -- Return the plsql record structure.
555: --
556: hr_utility.set_location(' Leaving:'||l_proc, 10);
557: Return(l_rec);
558: --
559: End convert_args;
560: --