79: l_last_updated_by ben_dpnt_cvg_eligy_prfl_f.last_updated_by%TYPE;
80: l_last_update_login ben_dpnt_cvg_eligy_prfl_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 :=
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;
247: p_rec.dpnt_dsgnt_crntly_enrld_flag
248: );
249: --
250: ben_dce_shd.g_api_dml := false; -- Unset the api dml status
251: hr_utility.set_location(' Leaving:'||l_proc, 15);
252: --
253: Exception
254: When hr_api.check_integrity_violated Then
255: -- A check constraint has been violated
278: --
279: l_proc varchar2(72) := g_package||'insert_dml';
280: --
281: Begin
282: hr_utility.set_location('Entering:'||l_proc, 5);
283: --
284: dt_insert_dml(p_rec => p_rec,
285: p_effective_date => p_effective_date,
286: p_datetrack_mode => p_datetrack_mode,
286: p_datetrack_mode => p_datetrack_mode,
287: p_validation_start_date => p_validation_start_date,
288: p_validation_end_date => p_validation_end_date);
289: --
290: hr_utility.set_location(' Leaving:'||l_proc, 10);
291: End insert_dml;
292: --
293: -- ----------------------------------------------------------------------------
294: -- |------------------------------< pre_insert >------------------------------|
342: from sys.dual;
343: --
344: --
345: Begin
346: hr_utility.set_location('Entering:'||l_proc, 5);
347:
348: -- *
349: -- * Fetch next sequence number from DB sequence, and assign to primary key,
350: -- *
351: open c1;
352: fetch c1 into p_rec.DPNT_CVG_ELIGY_PRFL_ID;
353: close c1;
354:
355: hr_utility.set_location(' Leaving:'||l_proc, 10);
356:
357: End pre_insert;
358: --
359: -- ----------------------------------------------------------------------------
397: --
398: l_proc varchar2(72) := g_package||'post_insert';
399: --
400: Begin
401: hr_utility.set_location('Entering:'||l_proc, 5);
402: --
403: --
404: -- Start of API User Hook for post_insert.
405: --
475: --
476: -- End of API User Hook for post_insert.
477: --
478: --
479: hr_utility.set_location(' Leaving:'||l_proc, 10);
480: End post_insert;
481: --
482: -- ----------------------------------------------------------------------------
483: -- |-------------------------------< ins_lck >--------------------------------|
527: l_validation_start_date date;
528: l_validation_end_date date;
529: --
530: Begin
531: hr_utility.set_location('Entering:'||l_proc, 5);
532: --
533: -- Validate the datetrack mode mode getting the validation start
534: -- and end dates for the specified datetrack operation.
535: --
550: --
551: p_validation_start_date := l_validation_start_date;
552: p_validation_end_date := l_validation_end_date;
553: --
554: hr_utility.set_location(' Leaving:'||l_proc, 10);
555: --
556: End ins_lck;
557: --
558: -- ----------------------------------------------------------------------------
569: l_validation_start_date date;
570: l_validation_end_date date;
571: --
572: Begin
573: hr_utility.set_location('Entering:'||l_proc, 5);
574: --
575: -- Call the lock operation
576: --
577: ins_lck
680: l_rec ben_dce_shd.g_rec_type;
681: l_proc varchar2(72) := g_package||'ins';
682: --
683: Begin
684: hr_utility.set_location('Entering:'||l_proc, 5);
685: --
686: -- Call conversion function to turn arguments into the
687: -- p_rec structure.
688: --
755: p_effective_end_date := l_rec.effective_end_date;
756: p_object_version_number := l_rec.object_version_number;
757: --
758: --
759: hr_utility.set_location(' Leaving:'||l_proc, 10);
760: End ins;
761: --
762: end ben_dce_ins;