DBA Data[Home] [Help]

APPS.BEN_OPT_INS dependencies on HR_UTILITY

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

79: l_last_updated_by ben_opt_f.last_updated_by%TYPE;
80: l_last_update_login ben_opt_f.last_update_login%TYPE;
81: --
82: Begin
83: hr_utility.set_location('Entering:'||l_proc, 5);
84: --
85: -- Get the object version number for the insert
86: --
87: p_rec.object_version_number :=

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

99: -- If the datetrack_mode is not INSERT then we must populate the WHO
100: -- columns with the 'old' creation values and 'new' updated values.
101: --
102: If (p_datetrack_mode <> 'INSERT') then
103: hr_utility.set_location(l_proc, 10);
104: --
105: -- Select the 'old' created values
106: --
107: Open C_Sel1;

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

111: -- The previous 'old' created row has not been found. We need
112: -- to error as an internal datetrack problem exists.
113: --
114: Close C_Sel1;
115: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
116: hr_utility.set_message_token('PROCEDURE', l_proc);
117: hr_utility.set_message_token('STEP','10');
118: hr_utility.raise_error;
119: End If;

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

112: -- to error as an internal datetrack problem exists.
113: --
114: Close C_Sel1;
115: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
116: hr_utility.set_message_token('PROCEDURE', l_proc);
117: hr_utility.set_message_token('STEP','10');
118: hr_utility.raise_error;
119: End If;
120: Close C_Sel1;

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

113: --
114: Close C_Sel1;
115: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
116: hr_utility.set_message_token('PROCEDURE', l_proc);
117: hr_utility.set_message_token('STEP','10');
118: hr_utility.raise_error;
119: End If;
120: Close C_Sel1;
121: --

Line 118: hr_utility.raise_error;

114: Close C_Sel1;
115: hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
116: hr_utility.set_message_token('PROCEDURE', l_proc);
117: hr_utility.set_message_token('STEP','10');
118: hr_utility.raise_error;
119: End If;
120: Close C_Sel1;
121: --
122: -- Set the AOL updated WHO values

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

245: l_last_update_login
246: );
247: --
248: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
249: hr_utility.set_location(' Leaving:'||l_proc, 15);
250: --
251: Exception
252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated

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

276: --
277: l_proc varchar2(72) := g_package||'insert_dml';
278: --
279: Begin
280: hr_utility.set_location('Entering:'||l_proc, 5);
281: --
282: dt_insert_dml(p_rec => p_rec,
283: p_effective_date => p_effective_date,
284: p_datetrack_mode => p_datetrack_mode,

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

284: p_datetrack_mode => p_datetrack_mode,
285: p_validation_start_date => p_validation_start_date,
286: p_validation_end_date => p_validation_end_date);
287: --
288: hr_utility.set_location(' Leaving:'||l_proc, 10);
289: End insert_dml;
290: --
291: -- ----------------------------------------------------------------------------
292: -- |------------------------------< pre_insert >------------------------------|

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

338: --
339: Cursor C_Sel1 is select ben_opt_f_s.nextval from sys.dual;
340: --
341: Begin
342: hr_utility.set_location('Entering:'||l_proc, 5);
343: --
344: --
345: -- Select the next sequence number
346: --

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

348: Fetch C_Sel1 Into p_rec.opt_id;
349: Close C_Sel1;
350: --
351: --
352: hr_utility.set_location(' Leaving:'||l_proc, 10);
353: End pre_insert;
354: --
355: -- ----------------------------------------------------------------------------
356: -- |-----------------------------< post_insert >------------------------------|

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

393: --
394: l_proc varchar2(72) := g_package||'post_insert';
395: --
396: Begin
397: hr_utility.set_location('Entering:'||l_proc, 5);
398: --
399: -- Added for GSP validations
400: pqh_gsp_ben_validations.opt_validations
401: ( p_opt_id => p_rec.opt_id

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

481: --
482: -- End of API User Hook for post_insert.
483: --
484: --
485: hr_utility.set_location(' Leaving:'||l_proc, 10);
486: End post_insert;
487: --
488: -- ----------------------------------------------------------------------------
489: -- |-------------------------------< ins_lck >--------------------------------|

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

533: l_validation_start_date date;
534: l_validation_end_date date;
535: --
536: Begin
537: hr_utility.set_location('Entering:'||l_proc, 5);
538: --
539: -- Validate the datetrack mode mode getting the validation start
540: -- and end dates for the specified datetrack operation.
541: --

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

556: --
557: p_validation_start_date := l_validation_start_date;
558: p_validation_end_date := l_validation_end_date;
559: --
560: hr_utility.set_location(' Leaving:'||l_proc, 10);
561: --
562: End ins_lck;
563: --
564: -- ----------------------------------------------------------------------------

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

575: l_validation_start_date date;
576: l_validation_end_date date;
577: --
578: Begin
579: hr_utility.set_location('Entering:'||l_proc, 5);
580: --
581: -- Call the lock operation
582: --
583: ins_lck

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

685: l_rec ben_opt_shd.g_rec_type;
686: l_proc varchar2(72) := g_package||'ins';
687: --
688: Begin
689: hr_utility.set_location('Entering:'||l_proc, 5);
690: --
691: -- Call conversion function to turn arguments into the
692: -- p_rec structure.
693: --

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

759: p_effective_end_date := l_rec.effective_end_date;
760: p_object_version_number := l_rec.object_version_number;
761: --
762: --
763: hr_utility.set_location(' Leaving:'||l_proc, 10);
764: End ins;
765: --
766: end ben_opt_ins;