DBA Data[Home] [Help]

APPS.BEN_PBN_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_PL_BNF_PK') Then
37: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
38: fnd_message.set_token('PROCEDURE', l_proc);

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

59: fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
60: fnd_message.raise_error;
61: End If;
62: --
63: hr_utility.set_location(' Leaving:'||l_proc, 10);
64: End constraint_error;
65: --
66: -- ----------------------------------------------------------------------------
67: -- |-----------------------------< api_updating >-----------------------------|

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

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

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

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

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

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

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

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

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

209: and p_effective_date
210: between t.effective_start_date and t.effective_end_date;
211: --
212: Begin
213: hr_utility.set_location('Entering:'||l_proc, 5);
214: --
215: --
216: -- Call the corresponding datetrack api
217: --

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

228: Fetch C_Sel1 Into l_parent_key_value1,
229: l_parent_key_value2;
230: If C_Sel1%notfound then
231: Close C_Sel1;
232: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
233: hr_utility.set_message_token('PROCEDURE', l_proc);
234: hr_utility.set_message_token('STEP','10');
235: hr_utility.raise_error;
236: End If;

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

229: l_parent_key_value2;
230: If C_Sel1%notfound then
231: Close C_Sel1;
232: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
233: hr_utility.set_message_token('PROCEDURE', l_proc);
234: hr_utility.set_message_token('STEP','10');
235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;

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

230: If C_Sel1%notfound then
231: Close C_Sel1;
232: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
233: hr_utility.set_message_token('PROCEDURE', l_proc);
234: hr_utility.set_message_token('STEP','10');
235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;
238: --

Line 235: hr_utility.raise_error;

231: Close C_Sel1;
232: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
233: hr_utility.set_message_token('PROCEDURE', l_proc);
234: hr_utility.set_message_token('STEP','10');
235: hr_utility.raise_error;
236: End If;
237: Close C_Sel1;
238: --
239: -- Call the corresponding datetrack api

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

251: p_future_change => p_future_change,
252: p_delete_next_change => p_delete_next_change);
253: --
254: --
255: hr_utility.set_location(' Leaving:'||l_proc, 10);
256: End find_dt_del_modes;
257: --
258: -- ----------------------------------------------------------------------------
259: -- |--------------------------< find_dt_upd_modes >---------------------------|

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

268: --
269: l_proc varchar2(72) := g_package||'find_dt_upd_modes';
270: --
271: Begin
272: hr_utility.set_location('Entering:'||l_proc, 5);
273: --
274: -- Call the corresponding datetrack api
275: --
276: dt_api.find_dt_upd_modes

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

282: p_update => p_update,
283: p_update_override => p_update_override,
284: p_update_change_insert => p_update_change_insert);
285: --
286: hr_utility.set_location(' Leaving:'||l_proc, 10);
287: End find_dt_upd_modes;
288: --
289: -- ----------------------------------------------------------------------------
290: -- |------------------------< upd_effective_end_date >------------------------|

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

300: l_proc varchar2(72) := g_package||'upd_effective_end_date';
301: l_object_version_number number;
302: --
303: Begin
304: hr_utility.set_location('Entering:'||l_proc, 5);
305: --
306: -- Because we are updating a row we must get the next object
307: -- version number.
308: --

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

311: (p_base_table_name => 'ben_pl_bnf_f',
312: p_base_key_column => 'pl_bnf_id',
313: p_base_key_value => p_base_key_value);
314: --
315: hr_utility.set_location(l_proc, 10);
316: g_api_dml := true; -- Set the api dml status
317: --
318: -- Update the specified datetrack row setting the effective
319: -- end date to the specified new effective end date.

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

326: between t.effective_start_date and t.effective_end_date;
327: --
328: g_api_dml := false; -- Unset the api dml status
329: p_object_version_number := l_object_version_number;
330: hr_utility.set_location(' Leaving:'||l_proc, 15);
331: --
332: Exception
333: When Others Then
334: g_api_dml := false; -- Unset the api dml status

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

417: --
418: --
419: --
420: Begin
421: hr_utility.set_location('Entering:'||l_proc, 5);
422: --
423: -- Ensure that all the mandatory arguments are not null
424: --
425: hr_api.mandatory_arg_error(p_api_name => l_proc,

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

458: If (p_object_version_number <> g_old_rec.object_version_number) Then
459: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
460: fnd_message.raise_error;
461: End If;
462: hr_utility.set_location(l_proc, 15);
463: --
464: --
465: -- Validate the datetrack mode mode getting the validation start
466: -- and end dates for the specified datetrack operation.

Line 479: hr_utility.set_location(' p_datetrack_mode '||p_datetrack_mode , 122);

475: -- p_child_key_column1 => 'pl_bnf_ctfn_prvdd_id',
476: -- p_enforce_foreign_locking => false,
477: -- p_validation_start_date => l_validation_start_date,
478: -- p_validation_end_date => l_validation_end_date);
479: hr_utility.set_location(' p_datetrack_mode '||p_datetrack_mode , 122);
480: hr_utility.set_location(' p_effective_date '||p_effective_date , 122);
481: --
482: dt_api.validate_dt_mode
483: (p_effective_date => p_effective_date,

Line 480: hr_utility.set_location(' p_effective_date '||p_effective_date , 122);

476: -- p_enforce_foreign_locking => false,
477: -- p_validation_start_date => l_validation_start_date,
478: -- p_validation_end_date => l_validation_end_date);
479: hr_utility.set_location(' p_datetrack_mode '||p_datetrack_mode , 122);
480: hr_utility.set_location(' p_effective_date '||p_effective_date , 122);
481: --
482: dt_api.validate_dt_mode
483: (p_effective_date => p_effective_date,
484: p_datetrack_mode => p_datetrack_mode,

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

512: --
513: p_validation_start_date := l_validation_start_date;
514: p_validation_end_date := l_validation_end_date;
515: --
516: hr_utility.set_location(' Leaving:'||l_proc, 30);
517: --
518: -- We need to trap the ORA LOCK exception
519: --
520: Exception

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

599: l_proc varchar2(72) := g_package||'convert_args';
600: --
601: Begin
602: --
603: hr_utility.set_location('Entering:'||l_proc, 5);
604: --
605: -- Convert arguments into local l_rec structure.
606: --
607: l_rec.pl_bnf_id := p_pl_bnf_id;

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

658: l_rec.per_in_ler_id := p_per_in_ler_id;
659: --
660: -- Return the plsql record structure.
661: --
662: hr_utility.set_location(' Leaving:'||l_proc, 10);
663: Return(l_rec);
664: --
665: End convert_args;
666: --