20: --
21: l_proc varchar2(72) := g_package||'set_base_key_value';
22: --
23: Begin
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: per_pma_ins.g_appraisal_period_id_i := p_appraisal_period_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: per_pma_ins.g_appraisal_period_id_i := p_appraisal_period_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
29: End set_base_key_value;
30: --
31: --
32: -- ----------------------------------------------------------------------------
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --
81: Begin
82: hr_utility.set_location('Entering:'||l_proc, 5);
83: p_rec.object_version_number := 1; -- Initialise the object version
84: --
85: --
86: --
186: );
187: --
188: --
189: --
190: hr_utility.set_location(' Leaving:'||l_proc, 10);
191: Exception
192: When hr_api.check_integrity_violated Then
193: -- A check constraint has been violated
194: --
261: l_proc varchar2(72) := g_package||'pre_insert';
262: l_exists varchar2(1);
263: --
264: Begin
265: hr_utility.set_location('Entering:'||l_proc, 5);
266: --
267: If (per_pma_ins.g_appraisal_period_id_i is not null) Then
268: --
269: -- Verify registered primary key values not already in use
297: Fetch C_Sel1 Into p_rec.appraisal_period_id;
298: Close C_Sel1;
299: End If;
300: --
301: hr_utility.set_location(' Leaving:'||l_proc, 10);
302: End pre_insert;
303: --
304: -- ----------------------------------------------------------------------------
305: -- |-----------------------------< post_insert >------------------------------|
340: --
341: l_proc varchar2(72) := g_package||'post_insert';
342: --
343: Begin
344: hr_utility.set_location('Entering:'||l_proc, 5);
345: begin
346: --
347: per_pma_rki.after_insert
348: (p_effective_date
452: ,p_hook_type => 'AI');
453: --
454: end;
455: --
456: hr_utility.set_location(' Leaving:'||l_proc, 10);
457: End post_insert;
458: --
459: -- ----------------------------------------------------------------------------
460: -- |---------------------------------< ins >----------------------------------|
466: --
467: l_proc varchar2(72) := g_package||'ins';
468: --
469: Begin
470: hr_utility.set_location('Entering:'||l_proc, 5);
471: --
472: -- Call the supporting insert validate operations
473: --
474: per_pma_bus.insert_validate
496: --
497: -- Call to raise any errors on multi-message list
498: hr_multi_message.end_validation_set;
499: --
500: hr_utility.set_location('Leaving:'||l_proc, 20);
501: end ins;
502: --
503: -- ----------------------------------------------------------------------------
504: -- |---------------------------------< ins >----------------------------------|
557: l_rec per_pma_shd.g_rec_type;
558: l_proc varchar2(72) := g_package||'ins';
559: --
560: Begin
561: hr_utility.set_location('Entering:'||l_proc, 5);
562: --
563: -- Call conversion function to turn arguments into the
564: -- p_rec structure.
565: --
627: --
628: p_appraisal_period_id := l_rec.appraisal_period_id;
629: p_object_version_number := l_rec.object_version_number;
630: --
631: hr_utility.set_location(' Leaving:'||l_proc, 10);
632: End ins;
633: --
634: end per_pma_ins;