DBA Data[Home] [Help]

APPS.BEN_LEN_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_LEE_RSN_FK1') 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_LEE_RSN_FK1') 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: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then

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_LEE_RSN_FK1') 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: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');

Line 39: hr_utility.set_message_token('STEP','5');

35: --
36: If (p_constraint_name = 'BEN_LEE_RSN_FK1') 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: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 40: hr_utility.raise_error;

36: If (p_constraint_name = 'BEN_LEE_RSN_FK1') 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: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');

Line 42: 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: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else

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

39: hr_utility.set_message_token('STEP','5');
40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');

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

40: hr_utility.raise_error;
41: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);

Line 45: hr_utility.raise_error;

41: ElsIf (p_constraint_name = 'BEN_LEE_RSN_F_PK') Then
42: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43: hr_utility.set_message_token('PROCEDURE', l_proc);
44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

Line 47: 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('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;

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

44: hr_utility.set_message_token('STEP','10');
45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --

Line 49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);

45: hr_utility.raise_error;
46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);

Line 50: hr_utility.raise_error;

46: Else
47: hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48: hr_utility.set_message_token('PROCEDURE', l_proc);
49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;

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

49: hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50: hr_utility.raise_error;
51: End If;
52: --
53: hr_utility.set_location(' Leaving:'||l_proc, 10);
54: End constraint_error;
55: --
56: -- ----------------------------------------------------------------------------
57: -- |-----------------------------< api_updating >-----------------------------|

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

136: l_proc varchar2(72) := g_package||'api_updating';
137: l_fct_ret boolean;
138: --
139: Begin
140: hr_utility.set_location('Entering:'||l_proc, 5);
141: --
142: If (p_effective_date is null or
143: p_lee_rsn_id is null or
144: p_object_version_number is null) Then

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

149: l_fct_ret := false;
150: Else
151: If (p_lee_rsn_id = g_old_rec.lee_rsn_id and
152: p_object_version_number = g_old_rec.object_version_number) Then
153: hr_utility.set_location(l_proc, 10);
154: --
155: -- The g_old_rec is current therefore we must
156: -- set the returning function to true
157: --

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

166: Close C_Sel1;
167: --
168: -- The primary key is invalid therefore we must error
169: --
170: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
171: hr_utility.raise_error;
172: End If;
173: Close C_Sel1;
174: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 171: hr_utility.raise_error;

167: --
168: -- The primary key is invalid therefore we must error
169: --
170: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
171: hr_utility.raise_error;
172: End If;
173: Close C_Sel1;
174: If (p_object_version_number <> g_old_rec.object_version_number) Then
175: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

171: hr_utility.raise_error;
172: End If;
173: Close C_Sel1;
174: If (p_object_version_number <> g_old_rec.object_version_number) Then
175: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
176: hr_utility.raise_error;
177: End If;
178: hr_utility.set_location(l_proc, 15);
179: l_fct_ret := true;

Line 176: hr_utility.raise_error;

172: End If;
173: Close C_Sel1;
174: If (p_object_version_number <> g_old_rec.object_version_number) Then
175: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
176: hr_utility.raise_error;
177: End If;
178: hr_utility.set_location(l_proc, 15);
179: l_fct_ret := true;
180: End If;

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

174: If (p_object_version_number <> g_old_rec.object_version_number) Then
175: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
176: hr_utility.raise_error;
177: End If;
178: hr_utility.set_location(l_proc, 15);
179: l_fct_ret := true;
180: End If;
181: End If;
182: hr_utility.set_location(' Leaving:'||l_proc, 20);

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

178: hr_utility.set_location(l_proc, 15);
179: l_fct_ret := true;
180: End If;
181: End If;
182: hr_utility.set_location(' Leaving:'||l_proc, 20);
183: Return (l_fct_ret);
184: --
185: End api_updating;
186: --

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

206: and p_effective_date
207: between t.effective_start_date and t.effective_end_date;
208: --
209: Begin
210: hr_utility.set_location('Entering:'||l_proc, 5);
211: Open C_Sel1;
212: Fetch C_Sel1 Into l_parent_key_value1;
213: If C_Sel1%notfound then
214: Close C_Sel1;

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

211: Open C_Sel1;
212: Fetch C_Sel1 Into l_parent_key_value1;
213: If C_Sel1%notfound then
214: Close C_Sel1;
215: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
216: hr_utility.set_message_token('PROCEDURE', l_proc);
217: hr_utility.set_message_token('STEP','10');
218: hr_utility.raise_error;
219: End If;

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

212: Fetch C_Sel1 Into l_parent_key_value1;
213: If C_Sel1%notfound then
214: Close C_Sel1;
215: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
216: hr_utility.set_message_token('PROCEDURE', l_proc);
217: hr_utility.set_message_token('STEP','10');
218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;

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

213: If C_Sel1%notfound then
214: Close C_Sel1;
215: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
216: hr_utility.set_message_token('PROCEDURE', l_proc);
217: hr_utility.set_message_token('STEP','10');
218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;
221: --

Line 218: hr_utility.raise_error;

214: Close C_Sel1;
215: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
216: hr_utility.set_message_token('PROCEDURE', l_proc);
217: hr_utility.set_message_token('STEP','10');
218: hr_utility.raise_error;
219: End If;
220: Close C_Sel1;
221: --
222: -- Call the corresponding datetrack api

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

233: p_delete => p_delete,
234: p_future_change => p_future_change,
235: p_delete_next_change => p_delete_next_change);
236: --
237: hr_utility.set_location(' Leaving:'||l_proc, 10);
238: End find_dt_del_modes;
239: --
240: -- ----------------------------------------------------------------------------
241: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

250: --
251: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
252: --
253: Begin
254: hr_utility.set_location('Entering:'||l_proc, 5);
255: --
256: -- Call the corresponding datetrack api
257: --
258: dt_api.find_dt_upd_modes

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

264: p_update => p_update,
265: p_update_override => p_update_override,
266: p_update_change_insert => p_update_change_insert);
267: --
268: hr_utility.set_location(' Leaving:'||l_proc, 10);
269: End find_dt_upd_modes;
270: --
271: -- ----------------------------------------------------------------------------
272: -- |------------------------< upd_effective_end_date >------------------------|

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

282: l_proc varchar2(72) := g_package||'upd_effective_end_date';
283: l_object_version_number number;
284: --
285: Begin
286: hr_utility.set_location('Entering:'||l_proc, 5);
287: --
288: -- Because we are updating a row we must get the next object
289: -- version number.
290: --

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

293: (p_base_table_name => 'ben_lee_rsn_f',
294: p_base_key_column => 'lee_rsn_id',
295: p_base_key_value => p_base_key_value);
296: --
297: hr_utility.set_location(l_proc, 10);
298: g_api_dml := true; -- Set the api dml status
299: --
300: -- Update the specified datetrack row setting the effective
301: -- end date to the specified new effective end date.

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

308: between t.effective_start_date and t.effective_end_date;
309: --
310: g_api_dml := false; -- Unset the api dml status
311: p_object_version_number := l_object_version_number;
312: hr_utility.set_location(' Leaving:'||l_proc, 15);
313: --
314: Exception
315: When Others Then
316: g_api_dml := false; -- Unset the api dml status

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

408: --
409: --
410: --
411: Begin
412: hr_utility.set_location('Entering:'||l_proc, 5);
413: --
414: -- Ensure that all the mandatory arguments are not null
415: --
416: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

441: Close C_Sel1;
442: --
443: -- The primary key is invalid therefore we must error
444: --
445: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
446: hr_utility.raise_error;
447: End If;
448: Close C_Sel1;
449: If (p_object_version_number <> g_old_rec.object_version_number) Then

Line 446: hr_utility.raise_error;

442: --
443: -- The primary key is invalid therefore we must error
444: --
445: hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
446: hr_utility.raise_error;
447: End If;
448: Close C_Sel1;
449: If (p_object_version_number <> g_old_rec.object_version_number) Then
450: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');

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

446: hr_utility.raise_error;
447: End If;
448: Close C_Sel1;
449: If (p_object_version_number <> g_old_rec.object_version_number) Then
450: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
451: hr_utility.raise_error;
452: End If;
453: hr_utility.set_location(l_proc, 15);
454: --

Line 451: hr_utility.raise_error;

447: End If;
448: Close C_Sel1;
449: If (p_object_version_number <> g_old_rec.object_version_number) Then
450: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
451: hr_utility.raise_error;
452: End If;
453: hr_utility.set_location(l_proc, 15);
454: --
455: --

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

449: If (p_object_version_number <> g_old_rec.object_version_number) Then
450: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
451: hr_utility.raise_error;
452: End If;
453: hr_utility.set_location(l_proc, 15);
454: --
455: --
456: -- Validate the datetrack mode mode getting the validation start
457: -- and end dates for the specified datetrack operation.

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

479: -- We are doing a datetrack 'INSERT' which is illegal within this
480: -- procedure therefore we must error (note: to lck on insert the
481: -- private procedure ins_lck should be called).
482: --
483: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
484: hr_utility.set_message_token('PROCEDURE', l_proc);
485: hr_utility.set_message_token('STEP','20');
486: hr_utility.raise_error;
487: End If;

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

480: -- procedure therefore we must error (note: to lck on insert the
481: -- private procedure ins_lck should be called).
482: --
483: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
484: hr_utility.set_message_token('PROCEDURE', l_proc);
485: hr_utility.set_message_token('STEP','20');
486: hr_utility.raise_error;
487: End If;
488: --

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

481: -- private procedure ins_lck should be called).
482: --
483: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
484: hr_utility.set_message_token('PROCEDURE', l_proc);
485: hr_utility.set_message_token('STEP','20');
486: hr_utility.raise_error;
487: End If;
488: --
489: -- Set the validation start and end date OUT arguments

Line 486: hr_utility.raise_error;

482: --
483: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
484: hr_utility.set_message_token('PROCEDURE', l_proc);
485: hr_utility.set_message_token('STEP','20');
486: hr_utility.raise_error;
487: End If;
488: --
489: -- Set the validation start and end date OUT arguments
490: --

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

490: --
491: p_validation_start_date := l_validation_start_date;
492: p_validation_end_date := l_validation_end_date;
493: --
494: hr_utility.set_location(' Leaving:'||l_proc, 30);
495: --
496: -- We need to trap the ORA LOCK exception
497: --
498: Exception

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

500: --
501: -- The object is locked therefore we need to supply a meaningful
502: -- error message.
503: --
504: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
505: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
506: hr_utility.raise_error;
507: When l_object_invalid then
508: --

Line 505: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');

501: -- The object is locked therefore we need to supply a meaningful
502: -- error message.
503: --
504: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
505: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
506: hr_utility.raise_error;
507: When l_object_invalid then
508: --
509: -- The object doesn't exist or is invalid

Line 506: hr_utility.raise_error;

502: -- error message.
503: --
504: hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
505: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
506: hr_utility.raise_error;
507: When l_object_invalid then
508: --
509: -- The object doesn't exist or is invalid
510: --

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

507: When l_object_invalid then
508: --
509: -- The object doesn't exist or is invalid
510: --
511: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
512: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
513: hr_utility.raise_error;
514: End lck;
515: --

Line 512: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');

508: --
509: -- The object doesn't exist or is invalid
510: --
511: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
512: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
513: hr_utility.raise_error;
514: End lck;
515: --
516: -- ----------------------------------------------------------------------------

Line 513: hr_utility.raise_error;

509: -- The object doesn't exist or is invalid
510: --
511: hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
512: hr_utility.set_message_token('TABLE_NAME', 'ben_lee_rsn_f');
513: hr_utility.raise_error;
514: End lck;
515: --
516: -- ----------------------------------------------------------------------------
517: -- |-----------------------------< convert_args >-----------------------------|

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

586: l_proc varchar2(72) := g_package||'convert_args';
587: --
588: Begin
589: --
590: hr_utility.set_location('Entering:'||l_proc, 5);
591: --
592: -- Convert arguments into local l_rec structure.
593: --
594: l_rec.lee_rsn_id := p_lee_rsn_id;

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

654: l_rec.defer_deenrol_flag := p_defer_deenrol_flag;
655: --
656: -- Return the plsql record structure.
657: --
658: hr_utility.set_location(' Leaving:'||l_proc, 10);
659: Return(l_rec);
660: --
661: End convert_args;
662: --