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: ben_aud_ins.g_cwb_audit_id_i := p_cwb_audit_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: ben_aud_ins.g_cwb_audit_id_i := p_cwb_audit_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: --
128: );
129: --
130: --
131: --
132: hr_utility.set_location(' Leaving:'||l_proc, 10);
133: Exception
134: When hr_api.check_integrity_violated Then
135: -- A check constraint has been violated
136: --
203: l_proc varchar2(72) := g_package||'pre_insert';
204: l_exists varchar2(1);
205: --
206: Begin
207: hr_utility.set_location('Entering:'||l_proc, 5);
208: --
209: If (ben_aud_ins.g_cwb_audit_id_i is not null) Then
210: --
211: -- Verify registered primary key values not already in use
239: Fetch C_Sel1 Into p_rec.cwb_audit_id;
240: Close C_Sel1;
241: End If;
242: --
243: hr_utility.set_location(' Leaving:'||l_proc, 10);
244: End pre_insert;
245: --
246: -- --------------------------------------------------------------------------
247: -- |-----------------------------< post_insert >----------------------------|
281: --
282: l_proc varchar2(72) := g_package||'post_insert';
283: --
284: Begin
285: hr_utility.set_location('Entering:'||l_proc, 5);
286: begin
287: --
288: ben_aud_rki.after_insert
289: (p_cwb_audit_id
333: ,p_hook_type => 'AI');
334: --
335: end;
336: --
337: hr_utility.set_location(' Leaving:'||l_proc, 10);
338: End post_insert;
339: --
340: -- --------------------------------------------------------------------------
341: -- |---------------------------------< ins >--------------------------------|
346: --
347: l_proc varchar2(72) := g_package||'ins';
348: --
349: Begin
350: hr_utility.set_location('Entering:'||l_proc, 5);
351: --
352: -- Call the supporting insert validate operations
353: --
354: ben_aud_bus.insert_validate
374: --
375: -- Call to raise any errors on multi-message list
376: hr_multi_message.end_validation_set;
377: --
378: hr_utility.set_location('Leaving:'||l_proc, 20);
379: end ins;
380: --
381: -- --------------------------------------------------------------------------
382: -- |---------------------------------< ins >--------------------------------|
405: l_rec ben_aud_shd.g_rec_type;
406: l_proc varchar2(72) := g_package||'ins';
407: --
408: Begin
409: hr_utility.set_location('Entering:'||l_proc, 5);
410: --
411: -- Call conversion function to turn arguments into the
412: -- p_rec structure.
413: --
445: --
446: p_cwb_audit_id := l_rec.cwb_audit_id;
447: p_object_version_number := l_rec.object_version_number;
448: --
449: hr_utility.set_location(' Leaving:'||l_proc, 10);
450: End ins;
451: --
452: end ben_aud_ins;