DBA Data[Home] [Help]

APPS.HR_HNM_INS dependencies on HR_HNM_INS

Line 1: Package Body hr_hnm_ins as

1: Package Body hr_hnm_ins as
2: /* $Header: hrhnmrhi.pkb 115.0 2004/01/09 01:21 vkarandi noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_hnm_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_hnm_ins.g_hierarchy_node_map_id_i := p_hierarchy_node_map_id;

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

Line 175: hr_hnm_ins.g_hierarchy_node_map_id_i;

171: Cursor C_Sel2 is
172: Select null
173: from hr_ki_hierarchy_node_maps
174: where hierarchy_node_map_id =
175: hr_hnm_ins.g_hierarchy_node_map_id_i;
176: --
177: l_proc varchar2(72) := g_package||'pre_insert';
178: l_exists varchar2(1);
179: --

Line 183: If (hr_hnm_ins.g_hierarchy_node_map_id_i is not null) Then

179: --
180: Begin
181: hr_utility.set_location('Entering:'||l_proc, 5);
182: --
183: If (hr_hnm_ins.g_hierarchy_node_map_id_i is not null) Then
184: --
185: -- Verify registered primary key values not already in use
186: --
187: Open C_Sel2;

Line 203: hr_hnm_ins.g_hierarchy_node_map_id_i;

199: --
200: -- Use registered key values and clear globals
201: --
202: p_rec.hierarchy_node_map_id :=
203: hr_hnm_ins.g_hierarchy_node_map_id_i;
204: hr_hnm_ins.g_hierarchy_node_map_id_i := null;
205: Else
206: --
207: -- No registerd key values, so select the next sequence number

Line 204: hr_hnm_ins.g_hierarchy_node_map_id_i := null;

200: -- Use registered key values and clear globals
201: --
202: p_rec.hierarchy_node_map_id :=
203: hr_hnm_ins.g_hierarchy_node_map_id_i;
204: hr_hnm_ins.g_hierarchy_node_map_id_i := null;
205: Else
206: --
207: -- No registerd key values, so select the next sequence number
208: --

Line 311: hr_hnm_ins.pre_insert(p_rec);

307: hr_multi_message.end_validation_set;
308: --
309: -- Call the supporting pre-insert operation
310: --
311: hr_hnm_ins.pre_insert(p_rec);
312: --
313: -- Insert the row
314: --
315: hr_hnm_ins.insert_dml(p_rec);

Line 315: hr_hnm_ins.insert_dml(p_rec);

311: hr_hnm_ins.pre_insert(p_rec);
312: --
313: -- Insert the row
314: --
315: hr_hnm_ins.insert_dml(p_rec);
316: --
317: -- Call the supporting post-insert operation
318: --
319: hr_hnm_ins.post_insert

Line 319: hr_hnm_ins.post_insert

315: hr_hnm_ins.insert_dml(p_rec);
316: --
317: -- Call the supporting post-insert operation
318: --
319: hr_hnm_ins.post_insert
320: (p_rec
321: );
322: --
323: -- Call to raise any errors on multi-message list

Line 361: hr_hnm_ins.ins

357: --
358: -- Having converted the arguments into the hr_hnm_rec
359: -- plsql record structure we call the corresponding record business process.
360: --
361: hr_hnm_ins.ins
362: (l_rec
363: );
364: --
365: -- As the primary key argument(s)

Line 374: end hr_hnm_ins;

370: --
371: hr_utility.set_location(' Leaving:'||l_proc, 10);
372: End ins;
373: --
374: end hr_hnm_ins;