1: Package Body ota_fmt_ins as
2: /* $Header: otfmtrhi.pkb 120.1 2005/12/08 11:27 cmora noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_fmt_ins.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------------< insert_dml >------------------------------|
12: -- ----------------------------------------------------------------------------
251: hr_multi_message.end_validation_set;
252: --
253: -- Call the supporting pre-insert operation
254: --
255: ota_fmt_ins.pre_insert
256: (p_rec => p_rec
257: ,p_forum_id => p_forum_id
258: );
259: --
258: );
259: --
260: -- Insert the row
261: --
262: ota_fmt_ins.insert_dml(p_rec);
263: --
264: -- Call the supporting post-insert operation
265: --
266: ota_fmt_ins.post_insert
262: ota_fmt_ins.insert_dml(p_rec);
263: --
264: -- Call the supporting post-insert operation
265: --
266: ota_fmt_ins.post_insert
267: (p_effective_date
268: ,p_rec
269: );
270: --
306: --
307: -- Having converted the arguments into the ota_fmt_rec
308: -- plsql record structure we call the corresponding record business process.
309: --
310: ota_fmt_ins.ins
311: (p_effective_date => p_effective_date
312: ,p_rec => l_rec
313: ,p_forum_id => p_forum_id
314: );
350: --
351: -- Insert a row for the base language and every installed language.
352: --
353: for l_lang in csr_ins_langs loop
354: ota_fmt_ins.ins
355: (p_effective_date => p_effective_date
356: ,p_forum_id => p_forum_id
357: ,p_language => l_lang.language_code
358: ,p_source_lang => p_language_code
363: --
364: hr_utility.set_location('Leaving:'||l_proc,20);
365: End ins_tl;
366: --
367: end ota_fmt_ins;