1: Package Body hxc_ult_ins as
2: /* $Header: hxcultrhi.pkb 120.2 2005/09/23 06:33:16 rchennur noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_ult_ins.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- ----------------------------------------------------------------------------
12: -- |------------------------------< insert_dml >------------------------------|
272: );
273: --
274: -- Call the supporting pre-insert operation
275: --
276: hxc_ult_ins.pre_insert
277: (p_rec => p_rec
278: ,p_layout_id => p_layout_id
279: );
280: --
279: );
280: --
281: -- Insert the row
282: --
283: hxc_ult_ins.insert_dml(p_rec);
284: --
285: -- Call the supporting post-insert operation
286: --
287: hxc_ult_ins.post_insert
283: hxc_ult_ins.insert_dml(p_rec);
284: --
285: -- Call the supporting post-insert operation
286: --
287: hxc_ult_ins.post_insert
288: (p_rec
289: );
290: --
291: if g_debug then
326: --
327: -- Having converted the arguments into the hxc_ult_rec
328: -- plsql record structure we call the corresponding record business process.
329: --
330: hxc_ult_ins.ins
331: (p_rec => l_rec
332: ,p_layout_id => p_layout_id
333: );
334: --
373: --
374: -- Insert a row for the base language and every installed language.
375: --
376: for l_lang in csr_ins_langs loop
377: hxc_ult_ins.ins
378: (p_layout_id => p_layout_id
379: ,p_language => l_lang.language_code
380: ,p_source_lang => p_language_code
381: ,p_display_layout_name => p_display_layout_name
386: hr_utility.set_location('Leaving:'||l_proc,20);
387: end if;
388: End ins_tl;
389: --
390: end hxc_ult_ins;