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_pmp_ins.g_plan_id_i := p_plan_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: per_pmp_ins.g_plan_id_i := p_plan_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: -- Insert the row into: per_perf_mgmt_plans
216: ,p_rec.attribute30
217: );
218: --
219: --
220: hr_utility.set_location(' Leaving:'||l_proc, 10);
221: Exception
222: When hr_api.check_integrity_violated Then
223: -- A check constraint has been violated
224: --
291: l_proc varchar2(72) := g_package||'pre_insert';
292: l_exists varchar2(1);
293: --
294: Begin
295: hr_utility.set_location('Entering:'||l_proc, 5);
296: --
297: If (per_pmp_ins.g_plan_id_i is not null) Then
298: --
299: -- Verify registered primary key values not already in use
327: Fetch C_Sel1 Into p_rec.plan_id;
328: Close C_Sel1;
329: End If;
330: --
331: hr_utility.set_location(' Leaving:'||l_proc, 10);
332: End pre_insert;
333: --
334: -- ----------------------------------------------------------------------------
335: -- |-----------------------------< post_insert >------------------------------|
372: --
373: l_proc varchar2(72) := g_package||'post_insert';
374: --
375: Begin
376: hr_utility.set_location('Entering:'||l_proc, 5);
377: begin
378: --
379: per_pmp_rki.after_insert
380: (p_effective_date => p_effective_date
514: ,p_hook_type => 'AI');
515: --
516: end;
517: --
518: hr_utility.set_location(' Leaving:'||l_proc, 10);
519: End post_insert;
520: --
521: -- ----------------------------------------------------------------------------
522: -- |---------------------------------< ins >----------------------------------|
530: --
531: l_proc varchar2(72) := g_package||'ins';
532: --
533: Begin
534: hr_utility.set_location('Entering:'||l_proc, 5);
535: --
536: -- Call the supporting insert validate operations
537: --
538: per_pmp_bus.insert_validate
565: --
566: -- Call to raise any errors on multi-message list
567: hr_multi_message.end_validation_set;
568: --
569: hr_utility.set_location('Leaving:'||l_proc, 20);
570: end ins;
571: --
572: -- ----------------------------------------------------------------------------
573: -- |---------------------------------< ins >----------------------------------|
645: l_proc varchar2(72) := g_package||'ins';
646: l_status_code CONSTANT varchar2(5) := 'DRAFT';
647: --
648: Begin
649: hr_utility.set_location('Entering:'||l_proc, 5);
650: --
651: -- Call conversion function to turn arguments into the
652: -- p_rec structure.
653: --
735: p_plan_id := l_rec.plan_id;
736: p_object_version_number := l_rec.object_version_number;
737: p_status_code := l_rec.status_code;
738: --
739: hr_utility.set_location(' Leaving:'||l_proc, 10);
740:
741: End ins;
742: --
743: end per_pmp_ins;