DBA Data[Home] [Help]

APPS.PER_ORS_INS dependencies on PER_ORS_INS

Line 1: Package Body per_ors_ins as

1: Package Body per_ors_ins as
2: /* $Header: peorsrhi.pkb 115.8 2003/06/30 09:58:15 kjagadee noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_ors_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: per_ors_ins.g_organization_structure_id_i := p_organization_structure_id;

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

Line 229: per_ors_ins.g_organization_structure_id_i;

225: Cursor C_Sel2 is
226: Select null
227: from per_organization_structures
228: where organization_structure_id =
229: per_ors_ins.g_organization_structure_id_i;
230: --
231: l_proc varchar2(72) := g_package||'pre_insert';
232: l_exists varchar2(1);
233: --

Line 237: If (per_ors_ins.g_organization_structure_id_i is not null) Then

233: --
234: Begin
235: hr_utility.set_location('Entering:'||l_proc, 5);
236: --
237: If (per_ors_ins.g_organization_structure_id_i is not null) Then
238: --
239: -- Verify registered primary key values not already in use
240: --
241: Open C_Sel2;

Line 257: per_ors_ins.g_organization_structure_id_i;

253: --
254: -- Use registered key values and clear globals
255: --
256: p_rec.organization_structure_id :=
257: per_ors_ins.g_organization_structure_id_i;
258: per_ors_ins.g_organization_structure_id_i := null;
259: Else
260: --
261: -- No registerd key values, so select the next sequence number

Line 258: per_ors_ins.g_organization_structure_id_i := null;

254: -- Use registered key values and clear globals
255: --
256: p_rec.organization_structure_id :=
257: per_ors_ins.g_organization_structure_id_i;
258: per_ors_ins.g_organization_structure_id_i := null;
259: Else
260: --
261: -- No registerd key values, so select the next sequence number
262: --

Line 420: per_ors_ins.pre_insert(p_rec);

416: );
417: --
418: -- Call the supporting pre-insert operation
419: --
420: per_ors_ins.pre_insert(p_rec);
421: --
422: -- Insert the row
423: --
424: per_ors_ins.insert_dml(p_rec);

Line 424: per_ors_ins.insert_dml(p_rec);

420: per_ors_ins.pre_insert(p_rec);
421: --
422: -- Insert the row
423: --
424: per_ors_ins.insert_dml(p_rec);
425: --
426: -- Call the supporting post-insert operation
427: --
428: per_ors_ins.post_insert

Line 428: per_ors_ins.post_insert

424: per_ors_ins.insert_dml(p_rec);
425: --
426: -- Call the supporting post-insert operation
427: --
428: per_ors_ins.post_insert
429: (p_effective_date
430: ,p_rec
431: );
432: --

Line 523: per_ors_ins.ins

519: --
520: -- Having converted the arguments into the per_ors_rec
521: -- plsql record structure we call the corresponding record business process.
522: --
523: per_ors_ins.ins
524: (p_effective_date
525: ,l_rec
526: );
527: --

Line 537: end per_ors_ins;

533: --
534: hr_utility.set_location(' Leaving:'||l_proc, 10);
535: End ins;
536: --
537: end per_ors_ins;