1: Package Body hr_wnp_ins as
2: /* $Header: hrwnprhi.pkb 115.2 2002/12/03 14:20:10 raranjan noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_wnp_ins.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------------< insert_dml >------------------------------|
12: -- ----------------------------------------------------------------------------
380: );
381: --
382: -- Call the supporting pre-insert operation
383: --
384: hr_wnp_ins.pre_insert(p_rec);
385: --
386: -- Insert the row
387: --
388: hr_wnp_ins.insert_dml(p_rec);
384: hr_wnp_ins.pre_insert(p_rec);
385: --
386: -- Insert the row
387: --
388: hr_wnp_ins.insert_dml(p_rec);
389: --
390: -- Call the supporting post-insert operation
391: --
392: hr_wnp_ins.post_insert
388: hr_wnp_ins.insert_dml(p_rec);
389: --
390: -- Call the supporting post-insert operation
391: --
392: hr_wnp_ins.post_insert
393: (p_rec
394: );
395: --
396: hr_utility.set_location('Leaving:'||l_proc, 20);
493: --
494: -- Having converted the arguments into the hr_wnp_rec
495: -- plsql record structure we call the corresponding record business process.
496: --
497: hr_wnp_ins.ins
498: (l_rec
499: );
500: --
501: -- As the primary key argument(s)
506: --
507: hr_utility.set_location(' Leaving:'||l_proc, 10);
508: End ins;
509: --
510: end hr_wnp_ins;