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: ff_ffn_ins.g_function_id_i := p_function_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: ff_ffn_ins.g_function_id_i := p_function_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
29: End set_base_key_value;
30: --
31: --
32: -- ----------------------------------------------------------------------------
126: --
127: l_proc varchar2(72) := g_package||'insert_dml';
128: --
129: Begin
130: hr_utility.set_location('Entering:'||l_proc, 5);
131: p_rec.object_version_number := 1; -- Initialise the object version
132: --
133: ff_ffn_shd.g_api_dml := true; -- Set the api dml status
134: --
160: );
161: --
162: ff_ffn_shd.g_api_dml := false; -- Unset the api dml status
163: --
164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: Exception
166: When hr_api.check_integrity_violated Then
167: -- A check constraint has been violated
168: ff_ffn_shd.g_api_dml := false; -- Unset the api dml status
235: l_proc varchar2(72) := g_package||'pre_insert';
236: l_exists varchar2(1);
237: --
238: Begin
239: hr_utility.set_location('Entering:'||l_proc, 5);
240: --
241: If (ff_ffn_ins.g_function_id_i is not null) Then
242: --
243: -- Verify registered primary key values not already in use
271: Fetch C_Sel1 Into p_rec.function_id;
272: Close C_Sel1;
273: End If;
274: --
275: hr_utility.set_location(' Leaving:'||l_proc, 10);
276: End pre_insert;
277: --
278: -- ----------------------------------------------------------------------------
279: -- |-----------------------------< post_insert >------------------------------|
314: --
315: l_proc varchar2(72) := g_package||'post_insert';
316: --
317: Begin
318: hr_utility.set_location('Entering:'||l_proc, 5);
319: begin
320: --
321: -- insert ownerships if applicable
322: create_app_ownerships
347: ,p_hook_type => 'AI');
348: --
349: end;
350: --
351: hr_utility.set_location(' Leaving:'||l_proc, 10);
352: End post_insert;
353: --
354: -- ----------------------------------------------------------------------------
355: -- |---------------------------------< ins >----------------------------------|
361: --
362: l_proc varchar2(72) := g_package||'ins';
363: --
364: Begin
365: hr_utility.set_location('Entering:'||l_proc, 5);
366: --
367: -- Call the supporting insert validate operations
368: --
369: ff_ffn_bus.insert_validate
391: --
392: -- Call to raise any errors on multi-message list
393: hr_multi_message.end_validation_set;
394: --
395: hr_utility.set_location('Leaving:'||l_proc, 20);
396: end ins;
397: --
398: -- ----------------------------------------------------------------------------
399: -- |---------------------------------< ins >----------------------------------|
415: l_rec ff_ffn_shd.g_rec_type;
416: l_proc varchar2(72) := g_package||'ins';
417: --
418: Begin
419: hr_utility.set_location('Entering:'||l_proc, 5);
420: --
421: -- Call conversion function to turn arguments into the
422: -- p_rec structure.
423: --
448: --
449: p_function_id := l_rec.function_id;
450: p_object_version_number := l_rec.object_version_number;
451: --
452: hr_utility.set_location(' Leaving:'||l_proc, 10);
453: End ins;
454: --
455: end ff_ffn_ins;