DBA Data[Home] [Help]

APPS.HR_PDT_INS dependencies on HR_PDT_INS

Line 1: Package Body hr_pdt_ins as

1: Package Body hr_pdt_ins as
2: /* $Header: hrpdtrhi.pkb 120.6.12020000.2 2012/07/04 23:18:52 amnaraya ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' hr_pdt_ins.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_pdt_ins.'; -- Global package name
9: --
10: -- The following global variables are only to be used by
11: -- the set_base_key_value and pre_insert procedures.
12: --

Line 26: hr_pdt_ins.g_person_deployment_id_i := p_person_deployment_id;

22: --
23: Begin
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: hr_pdt_ins.g_person_deployment_id_i := p_person_deployment_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
29: End set_base_key_value;
30: --

Line 295: hr_pdt_ins.g_person_deployment_id_i;

291: Cursor C_Sel2 is
292: Select null
293: from hr_person_deployments
294: where person_deployment_id =
295: hr_pdt_ins.g_person_deployment_id_i;
296: --
297: l_proc varchar2(72) := g_package||'pre_insert';
298: l_exists varchar2(1);
299: --

Line 303: If (hr_pdt_ins.g_person_deployment_id_i is not null) Then

299: --
300: Begin
301: hr_utility.set_location('Entering:'||l_proc, 5);
302: --
303: If (hr_pdt_ins.g_person_deployment_id_i is not null) Then
304: --
305: -- Verify registered primary key values not already in use
306: --
307: Open C_Sel2;

Line 323: hr_pdt_ins.g_person_deployment_id_i;

319: --
320: -- Use registered key values and clear globals
321: --
322: p_rec.person_deployment_id :=
323: hr_pdt_ins.g_person_deployment_id_i;
324: hr_pdt_ins.g_person_deployment_id_i := null;
325: Else
326: --
327: -- No registerd key values, so select the next sequence number

Line 324: hr_pdt_ins.g_person_deployment_id_i := null;

320: -- Use registered key values and clear globals
321: --
322: p_rec.person_deployment_id :=
323: hr_pdt_ins.g_person_deployment_id_i;
324: hr_pdt_ins.g_person_deployment_id_i := null;
325: Else
326: --
327: -- No registerd key values, so select the next sequence number
328: --

Line 555: hr_pdt_ins.pre_insert(p_rec);

551: p_rec.status_change_date := trunc(sysdate);
552: --
553: -- Call the supporting pre-insert operation
554: --
555: hr_pdt_ins.pre_insert(p_rec);
556: --
557: -- Insert the row
558: --
559: hr_pdt_ins.insert_dml(p_rec);

Line 559: hr_pdt_ins.insert_dml(p_rec);

555: hr_pdt_ins.pre_insert(p_rec);
556: --
557: -- Insert the row
558: --
559: hr_pdt_ins.insert_dml(p_rec);
560: --
561: -- Call the supporting post-insert operation
562: --
563: hr_pdt_ins.post_insert

Line 563: hr_pdt_ins.post_insert

559: hr_pdt_ins.insert_dml(p_rec);
560: --
561: -- Call the supporting post-insert operation
562: --
563: hr_pdt_ins.post_insert
564: (p_rec
565: );
566: --
567: -- Call to raise any errors on multi-message list

Line 724: hr_pdt_ins.ins

720: --
721: -- Having converted the arguments into the hr_pdt_rec
722: -- plsql record structure we call the corresponding record business process.
723: --
724: hr_pdt_ins.ins
725: (l_rec
726: );
727: --
728: -- As the primary key argument(s)

Line 737: end hr_pdt_ins;

733: --
734: hr_utility.set_location(' Leaving:'||l_proc, 10);
735: End ins;
736: --
737: end hr_pdt_ins;