1: Package Body ota_bsl_ins as
2: /* $Header: otbslrhi.pkb 115.1 2003/04/24 17:27:36 ssur noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_bsl_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_bsl_ins.pre_insert
256: (p_rec => p_rec
257: ,p_booking_status_type_id => p_booking_status_type_id
258: );
259: --
258: );
259: --
260: -- Insert the row
261: --
262: ota_bsl_ins.insert_dml(p_rec);
263: --
264: -- Call the supporting post-insert operation
265: --
266: ota_bsl_ins.post_insert
262: ota_bsl_ins.insert_dml(p_rec);
263: --
264: -- Call the supporting post-insert operation
265: --
266: ota_bsl_ins.post_insert
267: (p_effective_date
268: ,p_rec
269: );
270: --
306: --
307: -- Having converted the arguments into the ota_bsl_rec
308: -- plsql record structure we call the corresponding record business process.
309: --
310: ota_bsl_ins.ins
311: (p_effective_date => p_effective_date
312: ,p_rec => l_rec
313: ,p_booking_status_type_id => p_booking_status_type_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_bsl_ins.ins
355: (p_effective_date => p_effective_date
356: ,p_booking_status_type_id => p_booking_status_type_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_bsl_ins;