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_pml_ins.g_objective_id_i := p_objective_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: per_pml_ins.g_objective_id_i := p_objective_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: --
196: );
197: --
198: --
199: --
200: hr_utility.set_location(' Leaving:'||l_proc, 10);
201: Exception
202: When hr_api.check_integrity_violated Then
203: -- A check constraint has been violated
204: --
271: l_proc varchar2(72) := g_package||'pre_insert';
272: l_exists varchar2(1);
273: --
274: Begin
275: hr_utility.set_location('Entering:'||l_proc, 5);
276: --
277: If (per_pml_ins.g_objective_id_i is not null) Then
278: --
279: -- Verify registered primary key values not already in use
307: Fetch C_Sel1 Into p_rec.objective_id;
308: Close C_Sel1;
309: End If;
310: --
311: hr_utility.set_location(' Leaving:'||l_proc, 10);
312: End pre_insert;
313: --
314: -- ----------------------------------------------------------------------------
315: -- |-----------------------------< post_insert >------------------------------|
353: --
354: l_proc varchar2(72) := g_package||'post_insert';
355: --
356: Begin
357: hr_utility.set_location('Entering:'||l_proc, 5);
358: begin
359: --
360: per_pml_rki.after_insert
361: (p_effective_date => p_effective_date
480: ,p_hook_type => 'AI');
481: --
482: end;
483: --
484: hr_utility.set_location(' Leaving:'||l_proc, 10);
485: End post_insert;
486: --
487: -- ----------------------------------------------------------------------------
488: -- |---------------------------------< ins >----------------------------------|
499:
500: --
501: Begin
502:
503: hr_utility.set_location('Entering:'||l_proc, 5);
504: --
505: -- Call the supporting insert validate operations
506: --
507: per_pml_bus.insert_validate
535: --
536: -- Call to raise any errors on multi-message list
537: hr_multi_message.end_validation_set;
538: --
539: hr_utility.set_location('Leaving:'||l_proc, 20);
540: end ins;
541: --
542: -- ----------------------------------------------------------------------------
543: -- |---------------------------------< ins >----------------------------------|
609: l_weighting_appraisal_warning boolean;
610:
611: --
612: Begin
613: hr_utility.set_location('Entering:'||l_proc, 5);
614: --
615: -- Call conversion function to turn arguments into the
616: -- p_rec structure.
617: --
691: p_weighting_over_100_warning := l_weighting_over_100_warning;
692: p_weighting_appraisal_warning := l_weighting_appraisal_warning;
693:
694: --
695: hr_utility.set_location(' Leaving:'||l_proc, 10);
696: End ins;
697: --
698: end per_pml_ins;