1: Package Body hr_pft_ins as
2: /* $Header: hrpftrhi.pkb 120.0 2005/05/31 02:07:40 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_pft_ins.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------------< insert_dml >------------------------------|
12: -- ----------------------------------------------------------------------------
242: hr_multi_message.end_validation_set;
243: --
244: -- Call the supporting pre-insert operation
245: --
246: hr_pft_ins.pre_insert
247: (p_rec => p_rec
248: ,p_position_id => p_position_id
249: );
250: --
249: );
250: --
251: -- Insert the row
252: --
253: hr_pft_ins.insert_dml(p_rec);
254: --
255: -- Call the supporting post-insert operation
256: --
257: hr_pft_ins.post_insert
253: hr_pft_ins.insert_dml(p_rec);
254: --
255: -- Call the supporting post-insert operation
256: --
257: hr_pft_ins.post_insert
258: (p_rec
259: );
260: --
261: -- Call to raise any errors on multi-message list
293: --
294: -- Having converted the arguments into the hr_pft_rec
295: -- plsql record structure we call the corresponding record business process.
296: --
297: hr_pft_ins.ins
298: (p_rec => l_rec
299: ,p_position_id => p_position_id
300: );
301: --
334: --
335: -- Insert a row for the base language and every installed language.
336: --
337: for l_lang in csr_ins_langs loop
338: hr_pft_ins.ins
339: (p_position_id => p_position_id
340: ,p_language => l_lang.language_code
341: ,p_source_lang => p_language_code
342: ,p_name => null
349: --
350: hr_utility.set_location('Leaving:'||l_proc,20);
351: End ins_tl;
352: --
353: end hr_pft_ins;