1: Package Body hxc_aps_ins as
2: /* $Header: hxcaprpsrhi.pkb 120.2 2005/09/23 10:38:57 sechandr noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_aps_ins.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- ----------------------------------------------------------------------------
12: -- |------------------------------< insert_dml >------------------------------|
271: );
272: --
273: -- Call the supporting pre-insert operation
274: --
275: hxc_aps_ins.pre_insert(p_rec);
276: --
277: -- Insert the row
278: --
279: hxc_aps_ins.insert_dml(p_rec);
275: hxc_aps_ins.pre_insert(p_rec);
276: --
277: -- Insert the row
278: --
279: hxc_aps_ins.insert_dml(p_rec);
280: --
281: -- Call the supporting post-insert operation
282: --
283: hxc_aps_ins.post_insert
279: hxc_aps_ins.insert_dml(p_rec);
280: --
281: -- Call the supporting post-insert operation
282: --
283: hxc_aps_ins.post_insert
284: (p_rec
285: );
286: --
287: if g_debug then
320: --
321: -- Having converted the arguments into the hxc_aps_rec
322: -- plsql record structure we call the corresponding record business process.
323: --
324: hxc_aps_ins.ins
325: (l_rec
326: );
327: --
328: -- As the primary key argument(s)
335: hr_utility.set_location(' Leaving:'||l_proc, 10);
336: end if;
337: End ins;
338: --
339: end hxc_aps_ins;